Tomato Farming Assistant Model
This model is fine-tuned to provide advice about tomato farming in Swahili. It specializes in:
- Fertilizer recommendations
- Pest control
- Disease prevention
- Planting techniques
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("myles4321/TomatoAIModel")
tokenizer = AutoTokenizer.from_pretrained("myles4321/TomatoAIModel")
# Example usage
prompt = "Ni mbolea gani nzuri kwa nyanya?"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)