Instructions to use Ahmetemintek/turkish-gemma-9b-medical-qlora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Ahmetemintek/turkish-gemma-9b-medical-qlora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("ytu-ce-cosmos/Turkish-Gemma-9b-v0.1") model = PeftModel.from_pretrained(base_model, "Ahmetemintek/turkish-gemma-9b-medical-qlora") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -28,6 +28,18 @@ Rather than training multiple task-specific encoder models (e.g., NER or extract
|
|
| 28 |
|
| 29 |
The fine-tuned adapter improves Exact Match from 4.63% to 54.76% and F1 from 25.80% to 75.39% on the MedTurkQA validation set.
|
| 30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
## Model Details
|
| 33 |
|
|
|
|
| 28 |
|
| 29 |
The fine-tuned adapter improves Exact Match from 4.63% to 54.76% and F1 from 25.80% to 75.39% on the MedTurkQA validation set.
|
| 30 |
|
| 31 |
+
## Intended Use
|
| 32 |
+
|
| 33 |
+
This adapter is designed for context-grounded, single-turn medical question answering in Turkish. Given a passage and a question, the model generates a concise answer conditioned on the provided context.
|
| 34 |
+
|
| 35 |
+
It expects inputs formatted with the structured Bağlam / Soru / Cevap prompt template described in the Usage section.
|
| 36 |
+
|
| 37 |
+
The model is intended for research, experimentation, and NLP benchmarking — particularly in the areas of parameter-efficient fine-tuning, Turkish NLP, and domain adaptation of large language models.
|
| 38 |
+
|
| 39 |
+
It is not intended for clinical decision-making, diagnostic support, or real-world medical deployment.
|
| 40 |
+
|
| 41 |
+
Outputs should not be interpreted as medical advice and may contain inaccuracies, especially on topics outside the training distribution.
|
| 42 |
+
|
| 43 |
|
| 44 |
## Model Details
|
| 45 |
|