Instructions to use nicolasmafre/chatia-zeta-ft-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use nicolasmafre/chatia-zeta-ft-gguf with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf nicolasmafre/chatia-zeta-ft-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf nicolasmafre/chatia-zeta-ft-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf nicolasmafre/chatia-zeta-ft-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf nicolasmafre/chatia-zeta-ft-gguf:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf nicolasmafre/chatia-zeta-ft-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf nicolasmafre/chatia-zeta-ft-gguf:Q4_K_M
Use Docker
docker model run hf.co/nicolasmafre/chatia-zeta-ft-gguf:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use nicolasmafre/chatia-zeta-ft-gguf with Ollama:
ollama run hf.co/nicolasmafre/chatia-zeta-ft-gguf:Q4_K_M
- Unsloth Desktop
- Pi
How to use nicolasmafre/chatia-zeta-ft-gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf nicolasmafre/chatia-zeta-ft-gguf:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "nicolasmafre/chatia-zeta-ft-gguf:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use nicolasmafre/chatia-zeta-ft-gguf with Docker Model Runner:
docker model run hf.co/nicolasmafre/chatia-zeta-ft-gguf:Q4_K_M
- Lemonade
How to use nicolasmafre/chatia-zeta-ft-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull nicolasmafre/chatia-zeta-ft-gguf:Q4_K_M
Run and chat with the model
lemonade run user.chatia-zeta-ft-gguf-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use nicolasmafre/chatia-zeta-ft-gguf with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf nicolasmafre/chatia-zeta-ft-gguf:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default nicolasmafre/chatia-zeta-ft-gguf:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use nicolasmafre/chatia-zeta-ft-gguf with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf nicolasmafre/chatia-zeta-ft-gguf:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "nicolasmafre/chatia-zeta-ft-gguf:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf nicolasmafre/chatia-zeta-ft-gguf:Q4_K_M# Run inference directly in the terminal:
llama cli -hf nicolasmafre/chatia-zeta-ft-gguf:Q4_K_MBuild from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf nicolasmafre/chatia-zeta-ft-gguf:Q4_K_M# Run inference directly in the terminal:
./build/bin/llama cli -hf nicolasmafre/chatia-zeta-ft-gguf:Q4_K_MUse Docker
docker model run hf.co/nicolasmafre/chatia-zeta-ft-gguf:Q4_K_M
ChatIA Zeta-FT (v2 — GGUF Q4_K_M)
O ChatIA Zeta-FT (v2) é um modelo de linguagem fine-tuned a partir do unsloth/Llama-3.2-3B-Instruct-bnb-4bit (família Llama 3.2 3B Instruct) com QLoRA / LoRA via Unsloth e exportado para o formato GGUF (Q4_K_M), projetado para atuar como o agente Zeta no orquestrador multi-agente ChatIA (v2.6.0).
Esta versão v2 foi construída com foco em respostas diretas em português do Brasil, síntese estrita de fatos e manchetes/trechos fornecidos no contexto (reduzindo alucinações, invenção de fontes externas e repetição de blocos/rótulos internos) e conhecimento operacional da arquitetura e dos comandos do ChatIA.
Principais melhorias da versão v2
- Fidelidade ao contexto fornecido: exemplos de síntese de notícias e trechos da web/RSS com instrução explícita para relatar apenas o que consta no contexto, sinalizando quando um dado (como valores, prazos ou detalhes ausentes) não aparece na fonte.
- Prevenção de vazamento de contexto interno: treino direcionado para evitar ecoar rótulos internos de orquestração (
Conversa anterior,Pesquisa anterior,Dados recentes da web) ou repetir títulos e blocos redundantes. - Domínio do ecossistema ChatIA: exemplos cobrindo o papel da Zeta, roteamento (
/auto), travamento de modelos (/zeta-ft,/claude,/azul,/command), segunda opinião (/opiniao), indexação RAG com SQLite e embeddings (/indexar), integração commcp 2.3.0e servidores externos viamcp_integracao.py(/mcp), além da busca paralela embusca_web.py. - Pronto para execução em hardware modesto: quantização
Q4_K_Mem formato.gguf, adequada para inferência local via Ollama oullama.cppinclusive em máquinas sem GPU NVIDIA dedicada.
Detalhes do modelo e pipeline de treino
| Parâmetro / componente | Especificação |
|---|---|
| Identificador do modelo | chatia-zeta-ft (v2) |
| Modelo base | unsloth/Llama-3.2-3B-Instruct-bnb-4bit |
| Método de adaptação | QLoRA / LoRA (r=16, lora_alpha=16, lora_dropout=0) |
| Camadas-alvo LoRA | q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj |
| Otimizador e agendamento | adamw_8bit, scheduler cosine, learning_rate=2e-4, num_train_epochs=4 |
| Comprimento máximo de sequência | 2048 tokens (no treino SFT) |
| Formato de distribuição | GGUF (Q4_K_M) |
| Dataset de treino | dataset_chatia_v2_aprovado.jsonl (18 exemplos auditados e aprovados após preparar_dataset_v2.py e auditar_dataset.py) |
| Ambiente de treino | Google Colab (GPU NVIDIA T4 16 GB) com unsloth, trl, peft, accelerate, bitsandbytes e datasets |
Auditoria e curadoria do dataset (v2)
Antes do treinamento, o dataset passou por geração estruturada (preparar_dataset_v2.py) e auditoria automatizada (auditar_dataset.py), verificando:
- Validade estrutural do JSONL e presença obrigatória de
instruction,inputeoutput. - Ausência de vazamento de rótulos internos de prompt/memória.
- Faixa de tamanho das respostas (
min_chars=60,max_chars=1400). - Remoção de duplicatas exatas e respostas altamente similares (similaridade de Jaccard).
- Checagem de fontes não embasadas com normalização de acentos: se a resposta citar uma fonte ou veículo, o termo deve estar presente no contexto de entrada (
instruction+input).
Como usar com o Ollama
1. Baixe o arquivo .gguf
Baixe chatia-zeta-ft-v2.Q4_K_M.gguf deste repositório para a pasta do seu projeto (por exemplo, ~/Projetos/ChatIA/).
2. Crie o Modelfile
FROM ./chatia-zeta-ft-v2.Q4_K_M.gguf
PARAMETER temperature 0.3
PARAMETER repeat_penalty 1.2
PARAMETER num_ctx 4096
SYSTEM """Você é a Zeta, assistente virtual direta, clara e objetiva do ChatIA. Responda sempre em português do Brasil, baseando-se estritamente nos dados fornecidos sem inventar fatos, fontes ou repetir blocos."""
- Downloads last month
- 523
4-bit
Model tree for nicolasmafre/chatia-zeta-ft-gguf
Base model
meta-llama/Llama-3.2-3B-Instruct
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf nicolasmafre/chatia-zeta-ft-gguf:Q4_K_M# Run inference directly in the terminal: llama cli -hf nicolasmafre/chatia-zeta-ft-gguf:Q4_K_M