Downloads · 30 days
492
100% of all-time downloads
FarmifAI/FarmifAI_1.3_GGUF
FarmifAI_1.3_GGUF is a text generation model from FarmifAI. Use it when you need the model to write or continue text. It is set up for gguf. The card lists the license as apache-2.0.
GGUF versions of FarmifAI 1.3, a small language model (fine-tuned from Qwen3.5-0.8B) that answers agricultural questions in Spanish from a context you provide. It is built for Colombian agriculture and powers FarmifAI…
Downloads · 30 days
492
100% of all-time downloads
All-time downloads
492
Public
Repo size
3.7 GB
Likes
0
Public
Click a slice to open those files.
.gguf3.7 GB · 100%
From the Hugging Face model README
GGUF versions of FarmifAI 1.3, a small language model (fine-tuned from Qwen3.5-0.8B) that answers agricultural questions in Spanish from a context you provide. It is built for Colombian agriculture and powers FarmifAI, an offline assistant app for farmers. These files run on llama.cpp and compatible tools, including on mobile devices.
FarmifAI is not a general-purpose chatbot. It is trained to answer from the context it receives, so it should always be used together with a retrieval step.
| File | Quantization | Size | Notes |
|---|---|---|---|
FarmifAI_1.3.Q4_K_M.gguf | 4-bit | 542 MB | Smallest, for devices with limited RAM |
FarmifAI_1.3.Q5_K_M.gguf | 5-bit | 593 MB | Balance between size and quality |
FarmifAI_1.3.Q8_0.gguf | 8-bit | 834 MB | Closest to the original among quantized files |
FarmifAI_1.3.F16.gguf | 16-bit | 1.56 GB | Full precision |
FarmifAI_1.3.BF16_mmproj.gguf | BF16 | n/a | Vision projector, not needed for text use |
The model was trained with a fixed Spanish system prompt. Use it as is:
Eres un asistente agrícola. Responde únicamente con la información dentro de <knowledge>. Si la respuesta no está en el contexto, declara que no tienes información; no inventes datos.
Instrucciones de formato:
- En <reasoning>, analiza paso a paso el contexto frente a la ...
<<< PASTE THE REST OF THE EXACT SYSTEM PROMPT FROM THE DATASET HERE >>>
The user message contains the retrieved context followed by the question:
<knowledge>
{retrieved context}
</knowledge>
{question}
The model replies with a step-by-step analysis and a final answer:
<reasoning>
Step-by-step analysis of the context against the question.
</reasoning>
<answer>
Final answer in Spanish, based only on the provided context.
</answer>
Applications typically show only the <answer> block. Parse it defensively in case the tags are missing.
Recommended settings: temperature=0.1, top_p=0.9, max 512 new tokens.
# --no-mmproj skips the vision projector, which is not needed for text use
llama-server -hf FarmifAI/FarmifAI_1.3_GGUF:Q4_K_M --jinja --no-mmproj
import re
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8080/v1", api_key="none")
SYSTEM_PROMPT = "..." # the system prompt from "Prompt format" above
context = "..." # passages retrieved from your knowledge base
question = "¿Cómo puedo controlar la broca en mi cultivo de café?"
user_message = f"<knowledge>\n{context}\n</knowledge>\n\n{question}"
response = client.chat.completions.create(
model="FarmifAI_1.3",
messages=[
{"role": "system", "content": SYSTEM_PROMPT},
{"role": "user", "content": user_message},
],
temperature=0.1,
top_p=0.9,
max_tokens=512,
)
text = response.choices[0].message.content
match = re.search(r"<answer>(.*?)</answer>", text, re.DOTALL)
print(match.group(1).strip() if match else text)
ollama run hf.co/FarmifAI/FarmifAI_1.3_GGUF:Q4_K_M
In these apps, set the system prompt and the recommended settings manually; without the system prompt the model will not follow the expected output format.
Fine-tuned and converted to GGUF with Unsloth.