masakhane/african-ultrachat
Viewer • Updated • 55k • 152 • 5
How to use HusseinAlamutu/tiny-aya-earth-yoruba-lora with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("CohereLabs/tiny-aya-earth")
model = PeftModel.from_pretrained(base_model, "HusseinAlamutu/tiny-aya-earth-yoruba-lora")This repository contains a QLoRA fine-tuned adapter for CohereLabs/tiny-aya-earth (3.35B parameters), specialized on the Yorùbá (yo) instruction-following split of masakhane/african-ultrachat.
CohereLabs/tiny-aya-earthmasakhane/african-ultrachat (Yoruba split)yo)Designed for offline, sovereign inference on resource-constrained Kubernetes infrastructure when quantized to GGUF format and served via llama.cpp.