medalpaca/medical_meadow_medical_flashcards
Viewer • Updated • 34k • 4.33k • 49
How to use ae-aydin/Llama-3-8B-Instruct-Medical-QLoRA with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Meta-Llama-3-8B-Instruct")
model = PeftModel.from_pretrained(base_model, "ae-aydin/Llama-3-8B-Instruct-Medical-QLoRA")This model is a adapter for meta-llama/Meta-Llama-3-8B-Instruct, finetuned on a subset of given datasets. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 2.217 | 0.0591 | 20 | 1.5876 |
| 1.4821 | 0.1182 | 40 | 1.3649 |
| 1.3217 | 0.1773 | 60 | 1.2501 |
| 1.2392 | 0.2363 | 80 | 1.2201 |
| 1.1963 | 0.2954 | 100 | 1.2075 |
| 1.1829 | 0.3545 | 120 | 1.1997 |
| 1.2229 | 0.4136 | 140 | 1.1917 |
| 1.2016 | 0.4727 | 160 | 1.1868 |
| 1.1753 | 0.5318 | 180 | 1.1831 |
| 1.216 | 0.5908 | 200 | 1.1790 |
| 1.1831 | 0.6499 | 220 | 1.1761 |
| 1.1941 | 0.7090 | 240 | 1.1730 |
| 1.2566 | 0.7681 | 260 | 1.1702 |
| 1.1908 | 0.8272 | 280 | 1.1681 |
| 1.1586 | 0.8863 | 300 | 1.1665 |
| 1.1956 | 0.9453 | 320 | 1.1646 |
Base model
meta-llama/Meta-Llama-3-8B-Instruct