Views
No views yet
1pip install transformers accelerate
2
3📥 Load the Model
4
5from transformers import pipeline
6
7generator = pipeline("text-generation", model="syedazah777/MedGPT-HealthQ")
8output = generator("What are the symptoms of diabetes?")
9print(output[0]['generated_text'])
10
11☁️ Colab / Gradio
12
13You can run the interactive demo in a Colab notebook.
14
15Replace prompt in the code snippet above with any healthcare question.
16
17
18📝 Notes
19
20Model trained on healthcare dataset using LoRA
21
22Intended for educational and demonstration purposes only
23
24Not a substitute for professional medical advice
25
26