Views
No views yet
BUAIR/tiny-aya-earth-uganda-agri-v1-final)Bateesa/tiny-aya-earth-uganda-agri-v1-final.1from peft import PeftModel
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4base = "CohereForAI/aya-expanse-8b" # or the base used during training
5tokenizer = AutoTokenizer.from_pretrained("BUAIR/tiny-aya-earth-uganda-agri-v1-final")
6model = AutoModelForCausalLM.from_pretrained(base)
7model = PeftModel.from_pretrained(model, "BUAIR/tiny-aya-earth-uganda-agri-v1-final")