Downloads · 30 days
9
9% of all-time downloads
Alabi-Ayobami/agripadi-tiny-aya-earth-q4_k_m
agripadi-tiny-aya-earth-q4_k_m is a machine learning model from Alabi-Ayobami. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for llama.cpp. The card lists the license as apache-2.0.
A QLoRA-fine-tuned quantized version of CohereLabs/tiny-aya-earth (3B, Cohere2ForCausalLM) targeting smallholder agriculture advisory in West Africa.
Downloads · 30 days
9
9% of all-time downloads
All-time downloads
105
Public
Repo size
2.1 GB
Likes
1
Public
Click a slice to open those files.
.gguf2.1 GB · 100%
From the Hugging Face model README
A QLoRA-fine-tuned quantized version of CohereLabs/tiny-aya-earth (3B, Cohere2ForCausalLM) targeting smallholder agriculture advisory in West Africa.
89377a9f...).| Parameter | Value |
|---|---|
| Method | QLoRA (4-bit base, 16-bit adapter) |
| LoRA rank | 64 |
| LoRA alpha | 32 |
| Max seq length | 2048 |
| Learning rate | 2e-4 |
| Epochs | 3 |
| Base model | CohereLabs/tiny-aya-earth (3B) |
| Framework | Unsloth 2026.8 + transformers 5.5 + torch 2.8 |
Training ran on an NVIDIA A10 (24 GB) via Modal.
# download
huggingface-cli download Alabi-Ayobami/agripadi-tiny-aya-earth-q4_k_m \
model-q4_k_m.gguf --local-dir .
# run
./llama-cli -m model-q4_k_m.gguf \
-p "What are the signs of nitrogen deficiency in maize?" \
-n 512 -ngl -1
from llama_cpp import Llama
llm = Llama(model_path="model-q4_k_m.gguf", n_ctx=2048, n_gpu_layers=-1)
prompt = "User: How do I control cassava mealybug?\nAnswer:"
out = llm.create_completion(prompt, max_tokens=512, temperature=0.0)
print(out["choices"][0]["text"])
from huggingface_hub import hf_hub_download
from llama_cpp import Llama
path = hf_hub_download(
"Alabi-Ayobami/agripadi-tiny-aya-earth-q4_k_m",
filename="model-q4_k_m.gguf",
)
llm = Llama(model_path=path, n_ctx=2048)
| Format | Size | Quality |
|---|---|---|
| F16 (reference) | ~6.0 GB | full precision |
| Q4_K_M | ~2.0 GB | recommended |
| Q8_0 | ~3.3 GB | higher, slower |
Q4_K_M uses 4-bit quantization with K-quant mixed scales — good balance of speed and accuracy for a 3B model. The quantizer is llama-quantize from llama.cpp (built from source with tiny_aya fingerprint patch).
@misc{agripadi2026,
title={AgriPadi: Smallholder Agriculture Advisory with Fine-Tuned Language Models},
author={Alabi Ayobami},
year={2026},
howpublished={\url{https://huggingface.co/Alabi-Ayobami/agripadi-tiny-aya-earth-q4_k_m}}
}
Apache 2.0. Inherits the base model's license (CohereLabs/tiny-aya-earth).