How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "RetrO21/AgriModelLo"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "RetrO21/AgriModelLo",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker
docker model run hf.co/RetrO21/AgriModelLo
Quick Links

AgriAssist: Domain-Specific Vision-Language Model for Indian Agriculture

AgriAssist is a fine-tuned vision-language model (VLM) built on Qwen2-VL-7B-Instruct, designed specifically for Indian agricultural applications. It is trained on curated datasets covering major crops, weeds, pests, and diseases, enabling robust recognition and basic reasoning over agricultural images.

Features

  • Domain-specific fine-tuning for Indian agriculture
  • Recognition of crops, weeds, and pests
  • Instruction-tuned for multimodal reasoning
  • Trained on multiple public datasets: MH-Weed16, PlantVillage, AgroBench
  • Ready for integration in applications requiring agricultural image understanding

Usage

from transformers import AutoProcessor, AutoModelForCausalLM

processor = AutoProcessor.from_pretrained("your-username/AgriAssist")
model = AutoModelForCausalLM.from_pretrained("your-username/AgriAssist")

# Example usage
inputs = processor(images=image_list, text="Identify the pest in the image", return_tensors="pt")
outputs = model.generate(**inputs)
Downloads last month
2
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for RetrO21/AgriModelLo

Base model

Qwen/Qwen2-VL-7B
Adapter
(211)
this model