prapaa/eastrus-vl
Viewer • Updated • 255 • 36 • 1
How to use prapaa/eastrus-vl-qwen3-8b with Unsloth Studio:
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for prapaa/eastrus-vl-qwen3-8b to start chatting
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for prapaa/eastrus-vl-qwen3-8b to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for prapaa/eastrus-vl-qwen3-8b to start chatting
pip install unsloth
from unsloth import FastModel
model, tokenizer = FastModel.from_pretrained(
model_name="prapaa/eastrus-vl-qwen3-8b",
max_seq_length=2048,
)A fine-tuned multimodal (vision-language) model based on Qwen3-VL-8B-Instruct, trained for cattle estrus-related vulval image assessment. The model produces symptom-by-symptom observations and a single confidence-style score, rather than a hard binary decision.
This repo contains the fully merged model weights in Hugging Face Transformers format (16-bit). For a quantized GGUF version for use with llama.cpp, see the companion repo.
The model generates:
from transformers import AutoModelForImageTextToText, AutoProcessor
from PIL import Image
model = AutoModelForImageTextToText.from_pretrained("prapaa/eastrus-vl-qwen3-8b", torch_dtype="auto", device_map="auto")
processor = AutoProcessor.from_pretrained("prapaa/eastrus-vl-qwen3-8b")
image = Image.open("cow.jpg")
messages = [
{"role": "system", "content": [{"type": "text", "text": "You are an expert veterinary AI..."}]},
{"role": "user", "content": [
{"type": "image", "image": image},
{"type": "text", "text": "Analyze this cattle vulval image."},
]},
]
text = processor.apply_chat_template(messages, add_generation_prompt=True)
inputs = processor(images=[image], text=[text], return_tensors="pt").to(model.device)
output = model.generate(**inputs, max_new_tokens=384)
print(processor.decode(output[0], skip_special_tokens=True))
Base model
Qwen/Qwen3-VL-8B-Instruct