Downloads · 30 days
0
MightyOctopus/qwen3-0.6B-lora-medical
qwen3-0.6B-lora-medical is a machine learning model from MightyOctopus. 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 transformers. The card lists the license as apache-2.0.
This model is a LoRA-fine-tuned version of Qwen/Qwen3-0.6B using the dataset Rabe3/QASyntheticMedicaldata. It is optimized for concise, context-aware question-answering and instruction following in medical domains.
Downloads · 30 days
0
Access
Public
Updated Oct 17, 2025
Repo size
66.5 MB
Likes
0
Public
Click a slice to open those files.
.json14.2 MB · 69%
From the Hugging Face model README
This model is a LoRA-fine-tuned version of Qwen/Qwen3-0.6B using the dataset Rabe3/QA_Synthetic_Medical_data.
It is optimized for concise, context-aware question-answering and instruction following in medical domains.
| Hyperparameter | Value |
|---|---|
| Epochs | 50 |
| Learning rate | 1e-3 |
| Batch size | 4 |
| Gradient accumulation | 4 |
| Precision | fp16 |
| Optimizer | AdamW |
| Quantization | 4-bit nf4 |
| Loss | 0.2094 |
| Perplexity | 1.23 |
Dataset used: Rabe3/QA_Synthetic_Medical_data
Direct use:
Not suitable for:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "MightyOctopus/qwen3-0.6B-lora-medical"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
prompt = "What are common symptoms of Type 2 diabetes?"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))