Downloads · 30 days
33
10% of all-time downloads
Litxiong/Qv3-Plant_spotter-Vl-8b
Qv3-Plant_spotter-Vl-8b is a image-text-to-text model from Litxiong. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Plant Disease Identification Vision-Language Model
Downloads · 30 days
33
10% of all-time downloads
All-time downloads
320
Public
Parameters
8.8B
39 GB on disk
Likes
0
Public
Click a slice to open those files.
.gguf21.4 GB · 55%
From the Hugging Face model README
Plant Disease Identification Vision-Language Model
Qv3-Plant_spotter-Vl-8b is a fine-tuned multimodal model for plant disease identification, built upon Qwen3-VL-8B-Instruct. It accepts an image of a plant leaf and identifies the disease or condition present.
| Component | Specification |
|---|---|
| Base Model | Qwen3-VL-8B-Instruct |
| Architecture | Qwen3VLForConditionalGeneration |
| Total Parameters | 8,767,123,696 (~8.77B) |
| Precision | bfloat16 |
| Fine-tuning Method | LoRA (Low-Rank Adaptation) |
| Parameter | Value |
|---|---|
| Hidden Size | 4096 |
| Intermediate Size | 12288 |
| Attention Heads | 32 |
| KV Heads | 8 (GQA, 4:1 ratio) |
| Layers | 36 |
| Head Dim | 128 |
| Context Length | 262,144 tokens |
| Vocabulary Size | 151,936 |
| Activation | SiLU |
| Norm | RMSNorm (eps 1e-6) |
| RoPE Theta | 5,000,000 |
| RoPE Type | M-RoPE (interleaved, sections [24,20,20]) |
| Parameter | Value |
|---|---|
| Hidden Size | 1152 |
| Intermediate Size | 4304 |
| Attention Heads | 16 |
| Layers | 27 |
| Patch Size | 16 |
| Temporal Patch Size | 2 |
| Spatial Merge Size | 2 |
| Output Hidden Size | 4096 |
| Activation | GELU (tanh approximation) |
| Parameter | Value |
|---|---|
| Rank (r) | 16 |
| Alpha | 32 |
| Dropout | 0.1 |
| Target Modules | q_proj, k_proj, v_proj, o_proj, qkv, gate_proj, up_proj, down_proj, proj, linear_fc1, linear_fc2 |
| Scaling | alpha / r = 2 |
The model was fine-tuned on the following plant-related datasets, all in sharegpt multimodal format with the prompt template <image>Identify the plant disease from this image.:
| Dataset | Samples | Classes | Environment | License |
|---|---|---|---|---|
| PlantVillage | 760 | 38 | Lab | CC BY 4.0 |
| PlantDoc | 2,578 | 27 | Field | CC BY 4.0 |
| Total | 27,089 | ~100 |
All datasets were converted to a unified sharegpt format with <image> placeholder for visual input.
| Parameter | Value |
|---|---|
| Optimizer | AdamW (8-bit, bitsandbytes) |
| Learning Rate | 3e-4 |
| LR Scheduler | Cosine |
| Warmup Ratio | 0.03 |
| Batch Size (per device) | 1 |
| Gradient Accumulation Steps | 8 |
| Effective Batch Size | 8 |
| Epochs | 2 |
| Max Grad Norm | 1.0 |
| Precision | bfloat16 |
| Cutoff Length | 4096 tokens |
| Image Max Pixels | 262,144 |
| Gradient Checkpointing | Enabled |
| Metric | Value |
|---|---|
| Final Training Loss | 0.266 |
| Total Runtime | ~650s (~10.8 min) |
| Total FLOPs | 7.96e15 |
| Throughput | 2.34 samples/s |
| Hardware | 1x NVIDIA L40 (48GB VRAM) |
Loss Trajectory: The loss decreased from 4.36 at step 1 to 0.008 at step 181, with a final step loss of 0.07, demonstrating stable convergence under cosine LR schedule.
import torch
from transformers import AutoProcessor, Qwen3VLForConditionalGeneration
from PIL import Image
model_path = "Qv3-Plant_spotter-Vl-8b"
processor = AutoProcessor.from_pretrained(model_path)
model = Qwen3VLForConditionalGeneration.from_pretrained(
model_path, torch_dtype=torch.bfloat16, device_map="auto"
)
image = Image.open("leaf.jpg").convert("RGB")
prompt = "<image>Identify the plant disease from this image."
inputs = processor(images=image, text=prompt, return_tensors="pt").to(model.device)
output = model.generate(**inputs, max_new_tokens=50)
print(processor.decode(output[0], skip_special_tokens=True))
./llama-cli \
-m Qv3-Plant_spotter-Vl-8b-q4_k_m.gguf \
-mmproj mmproj-Qv3-Plant_spotter-Vl-8b.gguf \
--image leaf.jpg \
-p "<image>Identify the plant disease from this image." \
-n 50
| Format | File | Size |
|---|---|---|
| HuggingFace (safetensors, bf16) | Full model directory | ~17.5 GB |
| GGUF (bf16) | Qv3-Plant_spotter-Vl-8b.gguf | ~16 GB |
| GGUF (Q4_K_M) | Qv3-Plant_spotter-Vl-8b-q4_k_m.gguf | ~4.7 GB |
| LoRA Adapter | adapter_model.safetensors | ~168 MB |
@misc{qv3-plant-spotter-vl-8b,
author = {},
title = {Qv3-Plant_spotter-Vl-8b: Plant Disease Identification via LoRA Fine-tuned Qwen3-VL},
year = {2026},
publisher = {HuggingFace},
url = {https://huggingface.co/Litxiong/Qv3-Plant_spotter-Vl-8b}
}