Downloads · 30 days
9
1% of all-time downloads
XformAI-india/Qwen3-4B-medicaldataset
Qwen3-4B-medicaldataset is a machine learning model from XformAI-india. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
A fine-tuned version of Qwen3-4B on a curated medical dataset, designed to assist with medical Q&A, clinical documentation, and healthcare-related reasoning. Developed by XformAI-India.
Downloads · 30 days
9
1% of all-time downloads
All-time downloads
1.6K
Public
Parameters
4B
8.1 GB on disk
Likes
8
Public
Click a slice to open those files.
.safetensors8 GB · 100%
From the Hugging Face model README
A fine-tuned version of Qwen3-4B on a curated medical dataset, designed to assist with medical Q&A, clinical documentation, and healthcare-related reasoning. Developed by XformAI-India.
This model is intended for research and educational purposes in the following domains:
⚠️ Not for clinical use. This model is not a replacement for professional medical advice, diagnosis, or treatment.
```python from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("XformAI-india/Qwen3-4B-medicaldataset", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("XformAI-india/Qwen3-4B-medicaldataset", trust_remote_code=True)
prompt = "Patient presents with chest pain and shortness of breath. What are possible differential diagnoses?" inputs = tokenizer(prompt, return_tensors="pt").to("cuda") outputs = model.generate(**inputs, max_new_tokens=200) print(tokenizer.decode(outputs[0], skip_special_tokens=True)) ```
If you use this model, please cite:
@misc{qwen3medical2025,
title={Qwen3-4B-MedicalDataset: A Fine-Tuned Transformer for Medical AI Research},
author={XformAI-India},
year={2025},
url={https://huggingface.co/XformAI-india/Qwen3-4B-medicaldataset}
}