How to use Jacaranda/HausaLlama with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="Jacaranda/HausaLlama")
# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Jacaranda/HausaLlama") model = AutoModelForCausalLM.from_pretrained("Jacaranda/HausaLlama")