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)
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference API
Unable to determine this model's library. Check the docs .