Views
No views yet
⚠️ Not for clinical use. This model is not a replacement for professional medical advice, diagnosis, or treatment.
1from transformers import AutoTokenizer, AutoModelForCausalLM
2
3tokenizer = AutoTokenizer.from_pretrained("XformAI-india/Qwen3-1.7B-medicaldataset", trust_remote_code=True)
4model = AutoModelForCausalLM.from_pretrained("XformAI-india/Qwen3-1.7B-medicaldataset", trust_remote_code=True)
5
6prompt = "Patient presents with chest pain and shortness of breath. What are possible differential diagnoses?"
7inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
8outputs = model.generate(**inputs, max_new_tokens=200)
9print(tokenizer.decode(outputs[0], skip_special_tokens=True))1@misc{qwen3medical2025,
2 title={Qwen3-1.7B-MedicalDataset: A Fine-Tuned Transformer for Medical AI Research},
3 author={XformAI-India},
4 year={2025},
5 url={https://huggingface.co/XformAI-india/Qwen3-1.7B-medicaldataset}
6}