Downloads · 30 days
2
4% of all-time downloads
deadbear34/qwen35-4b-plantdisease-sft-lora
qwen35-4b-plantdisease-sft-lora is a machine learning model from deadbear34. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
LoRA adapter for thinking-style reasoning + plant disease domain expertise.
Downloads · 30 days
2
4% of all-time downloads
All-time downloads
54
Public
Repo size
1.4 GB
Likes
1
Public
Click a slice to open those files.
.safetensors1.4 GB · 99%
From the Hugging Face model README
LoRA adapter for thinking-style reasoning + plant disease domain expertise.
<|user|>
{user_query}
<|assistant|>
<thinking>
{reasoning}
</thinking>
{final_answer}
from peft import PeftModel
from transformers import AutoModelForImageTextToText, AutoTokenizer
base = AutoModelForImageTextToText.from_pretrained('deadbear34/qwen35-4b-plantdisease-cpt', torch_dtype='bfloat16')
model = PeftModel.from_pretrained(base, 'deadbear34/qwen35-4b-plantdisease-sft-lora')
tokenizer = AutoTokenizer.from_pretrained('deadbear34/qwen35-4b-plantdisease-sft-lora')
prompt = '<|user|>
What causes late blight?
<|assistant|>
'
inputs = tokenizer(prompt, return_tensors='pt').to('cuda')
out = model.generate(**inputs, max_new_tokens=300)
print(tokenizer.decode(out[0]))
Trained: 2026-05-10