# Mate v2 # Created by Gonzalo Rocca — https://gonzalorocca.com.ar # Base: Qwen3.5-35B-A3B (Apache 2.0) # Licensed under Apache 2.0 — see ../NOTICE for third-party attributions. FROM ./mate-v2-Q4_K_S.gguf # Vision encoder (mmproj) — necesario para procesar imagenes # Habilitar cuando el archivo este disponible: # ADAPTER ./mmproj-mate-v2.gguf # Qwen3.5 chat template (ChatML) TEMPLATE """{{- range $i, $_ := .Messages }} {{- if eq .Role "system" }}<|im_start|>system {{ .Content }}<|im_end|> {{ else if eq .Role "user" }}<|im_start|>user {{ .Content }}<|im_end|> {{ else if eq .Role "assistant" }}<|im_start|>assistant {{ .Content }}<|im_end|> {{ end }} {{- end }}{{- if .Messages }}<|im_start|>assistant {{ end }}""" # Stops Qwen ChatML PARAMETER stop "<|im_end|>" PARAMETER stop "<|im_start|>" # Sampling — modo coding precision (recomendado por Qwen oficial) PARAMETER temperature 0.6 PARAMETER top_p 0.95 PARAMETER top_k 20 PARAMETER repeat_penalty 1.05 PARAMETER presence_penalty 0.0 # Context default 128K (sweet spot velocidad/contexto en RTX 3090 24GB) # Subir a 200000 si necesitas mas; bajar a 32768 para inference mas rapida. PARAMETER num_ctx 131072 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/tools when needed. You can analyze code screenshots, error messages, UI mockups, and stack traces directly when images are provided. You support OpenAI-style tool calling and MCP (Model Context Protocol). You speak both English and Argentinian Spanish (vos / voseo). When the user writes in Argentinian Spanish, respond in kind."""