Instructions to use gonrocca/mate-v1 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 gonrocca/mate-v1 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 gonrocca/mate-v1:Q4_K_M # Run inference directly in the terminal: llama cli -hf gonrocca/mate-v1:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf gonrocca/mate-v1:Q4_K_M # Run inference directly in the terminal: llama cli -hf gonrocca/mate-v1: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 gonrocca/mate-v1:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf gonrocca/mate-v1:Q4_K_M
Use Docker
docker model run hf.co/gonrocca/mate-v1:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use gonrocca/mate-v1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "gonrocca/mate-v1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gonrocca/mate-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/gonrocca/mate-v1:Q4_K_M
- Ollama
How to use gonrocca/mate-v1 with Ollama:
ollama run hf.co/gonrocca/mate-v1:Q4_K_M
- Unsloth Desktop
- Pi
How to use gonrocca/mate-v1 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf gonrocca/mate-v1: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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "gonrocca/mate-v1:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use gonrocca/mate-v1 with Docker Model Runner:
docker model run hf.co/gonrocca/mate-v1:Q4_K_M
- Lemonade
How to use gonrocca/mate-v1 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull gonrocca/mate-v1:Q4_K_M
Run and chat with the model
lemonade run user.mate-v1-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use gonrocca/mate-v1 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf gonrocca/mate-v1: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:8080/v1 hermes config set model.default gonrocca/mate-v1:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use gonrocca/mate-v1 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf gonrocca/mate-v1: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:8080/v1 \ --custom-model-id "gonrocca/mate-v1: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"
Mate
Una AI que vive en tu mรกquina. Por Gonzalo Rocca โ 2026 โ San Luis, Argentina
๐ Web: mate.ceroclawd.com ๐ Autor: gonzalorocca.com.ar
Por quรฉ existe
Hace mรกs de 10 aรฑos escribo software para sistemas que no se pueden caer. Lugares donde un error a las 3 AM cuesta caro y no avisa.
Hoy la AI es parte del trabajo diario. Pero algo me hacรญa ruido โ cada prompt viajaba a un servidor remoto, cada mes una factura distinta, cada release de un proveedor cambiaba el comportamiento del modelo. No era mรญo. Era prestado.
Querรญa algo que estuviera ahรญ cuando lo necesitara. Sin servidores, sin claves de API, sin paywalls. Algo entrenado a mi gusto, con mi forma de razonar, que no me hablara como vendedor.
Lo armรฉ entre noches y fines de semana. Cata tiene 6 y arma mundos enteros en el living antes de cenar. Olivia tiene un mes y medio y casi no pesa. Eso es lo principal. Mate lo armรฉ en los ratos que sobran โ noches, fines de semana, lo que viene despuรฉs de ellas.
El nombre vino รบltimo. Buscaba algo que sonara a compaรฑรญa silenciosa. A algo que estรก, sin pedirte permiso.
Mate.
Quรฉ hace
- ๐ ๏ธ Tool calling preciso โ decide cuรกndo invocar funciones, genera JSON parseable, encadena resultados multi-turn (compatible OpenAI function-calling spec)
- ๐ป Cรณdigo limpio โ Python, JavaScript, TypeScript, Go, Rust. Refactor, debug, generaciรณn
- ๐ง Razona antes de actuar โ bloques
<think>...</think>para evaluar quรฉ tool conviene y quรฉ edge cases tiene - ๐ Bilingรผe โ espaรฑol argentino + inglรฉs
- ๐ 100% local โ corre en tu GPU, sin telemetrรญa, sin internet, sin API keys
Specs tรฉcnicas
| Arquitectura | Mixture of Experts ยท 27B totales / 4B activos |
| Cuantizaciรณn | GGUF Q4_K_M (5.32 BPW) |
| Tamaรฑo en disco | ~15.6 GB |
| VRAM mรญnima | 16 GB (RTX 3090 24 GB cรณmodo) |
| Velocidad inference | ~50-60 tok/s en RTX 3090 |
| Context window | 8192 tokens default (configurable hasta 256K) |
| Idiomas | Espaรฑol + Inglรฉs |
| Capacidades | Code generation ยท Tool calling (OpenAI spec) ยท Reasoning |
| Training method | QLoRA 4-bit + Unsloth |
| Training hardware | NVIDIA H100 80GB (RunPod) |
| Training dataset | ~10k ejemplos curados |
๐ ๏ธ Tool calling (OpenAI function-calling spec)
Mate fue entrenado con ~7.500 ejemplos de tool calling (xLAM + Glaive). Sabe:
- Decidir cuรกndo invocar una tool vs responder en texto (incluye ~800 ejemplos negativos para no llamar tools innecesariamente)
- Generar JSON estricto con
name+argumentscorrectos segรบn el schema - Encadenar multi-turn: ver el resultado de una tool, decidir si llama otra, sintetizar respuesta final
- Razonar antes con bloques
<think>...</think>โ quรฉ tool conviene y por quรฉ
Compatible con el formato OpenAI function-calling: pasale las definiciones de tools en el system prompt y Mate las usa.
๐ฅ๏ธ Compatible con todos los runtimes principales
Como GGUF estรกndar, Mate corre nativamente en:
| Runtime | Caso de uso |
|---|---|
| Ollama | API REST + CLI ยท ollama run mate |
| llama.cpp | Server llama-server (compatible OpenAI API) o llama-cli interactivo |
| LM Studio | GUI desktop drag & drop |
| Jan | Cliente desktop con UI cรณmoda |
| KoboldCpp | UI web local |
| Open WebUI | Frontend web tipo ChatGPT, sobre Ollama |
| text-generation-webui | UI completa con extensiones |
| llamafile | Single-binary executable |
Cualquier app que soporte GGUF te sirve.
Mix de training
| Bucket | % | Fuente |
|---|---|---|
| Tool calling single-turn | 40% | Salesforce/xlam-function-calling-60k |
| Tool calling multi-turn | 15% | glaiveai/glaive-function-calling-v2 |
| Reasoning + code (Claude Opus synthetic) | 18% | angrygiraffe/claude-opus-4.6-4.7-reasoning-8.7k |
| Code generation | 10% | m-a-p/CodeFeedback-Filtered-Instruction |
| Negativos (no-tool) | 8% | curado del CodeFeedback |
| Identidad Mate | 7% | manual (autor) |
Archivos en este repo
| Archivo | Tamaรฑo | Para quรฉ |
|---|---|---|
mate-Q4_K_M.gguf |
~15.6 GB | Modelo cuantizado para inference (Ollama, llama.cpp, LM Studio) |
lora/ |
~3.8 GB | LoRA adapter original โ para re-trains futuros (continue training, especializaciones) |
Cรณmo usarlo
Con Ollama (recomendado)
# 1. Descargar el GGUF
hf download gonrocca/mate-v1 mate-Q4_K_M.gguf --local-dir ./mate-model
# 2. Crear Modelfile
cat > ./mate-model/Modelfile <<'EOF'
FROM ./mate-Q4_K_M.gguf
TEMPLATE """{{- range $i, $_ := .Messages }}
{{- if eq .Role "system" }}<|turn>system
{{ .Content }}<turn|>
{{ else if eq .Role "user" }}<|turn>user
{{ .Content }}<turn|>
{{ else if eq .Role "assistant" }}<|turn>model
{{ .Content }}<turn|>
{{ end }}
{{- end }}{{- if .Messages }}<|turn>model
{{ end }}"""
PARAMETER stop "<turn|>"
PARAMETER stop "<|turn>"
PARAMETER temperature 0.3
PARAMETER top_p 0.9
PARAMETER num_ctx 8192
PARAMETER num_gpu 999
SYSTEM """You are Mate, an open-source AI coding assistant created by Gonzalo Rocca (gonzalorocca.com.ar). You write clean, efficient code, explain your reasoning step by step, and call functions when needed."""
EOF
# 3. Registrar y correr
cd ./mate-model
ollama create mate -f Modelfile
ollama run mate
Con llama.cpp directo
# Server compatible OpenAI API
llama-server -m mate-Q4_K_M.gguf --n-gpu-layers 99 -c 8192 --port 8080
# CLI interactivo
llama-cli -m mate-Q4_K_M.gguf --n-gpu-layers 99 -c 8192
Con LM Studio
Drag & drop mate-Q4_K_M.gguf al folder ~/.cache/lm-studio/models/Mate/ y aparece en la GUI.
Ejemplos
Identidad
> ยฟQuiรฉn sos?
Soy Mate, una IA open-source creada por Gonzalo Rocca (gonzalorocca.com.ar).
Estoy especializada en programaciรณn y uso de herramientas. Decime quรฉ tools
tenรฉs disponibles y trabajamos.
Tool calling
[System: Tools disponibles: read_file(path), run_bash(cmd), search_web(q)]
> Listame los archivos del proyecto y mostrame el package.json
Mate: <tool_call>{"name":"run_bash","arguments":{"cmd":"ls -la"}}</tool_call>
[Tool result: ...]
Mate: <tool_call>{"name":"read_file","arguments":{"path":"package.json"}}</tool_call>
Conceptual (sin tools)
> ยฟCuรกl es la diferencia entre let y const en JavaScript?
let permite reasignaciรณn, const no โ pero ambos son block-scoped...
Re-entrenar / continuar training
El LoRA adapter (lora/) en este repo te permite continuar el training de Mate
sin partir desde cero. Tres caminos:
- Continue training (mรกs datos, mejor identidad)
- Especializaciรณn (LoRA on top of LoRA โ Mate-Cook, Mate-Finance, etc.)
- Reset completo (otro modelo base)
Ver RETRAINING.md en el repo del proyecto para detalles.
Licencia
Mate se distribuye bajo Apache License 2.0.
Para atribuciones legales completas (third-party software, datasets utilizados),
ver el archivo NOTICE.txt en este repositorio.
Contacto
- ๐ Web Mate: mate.ceroclawd.com
- ๐ Personal: gonzalorocca.com.ar
- ๐ง Email: gonzalonicolas.dev@gmail.com
- ๐ผ LinkedIn: in/gonnicolas
- ๐ GitHub: @gonzalonicolasr
Mate es una IA. No reemplaza a nadie. Te acompaรฑa mientras laburรกs. Como un mate al lado de la pantalla โ cebado, listo, sin protagonismo.
- Downloads last month
- 43
4-bit