mystic-leung/medical_cord19
Viewer • Updated • 300k • 88 • 5
How to use zbigi/bart-base-lora-summarization-medical with PEFT:
from peft import PeftModel
from transformers import AutoModelForSeq2SeqLM
base_model = AutoModelForSeq2SeqLM.from_pretrained("facebook/bart-base")
model = PeftModel.from_pretrained(base_model, "zbigi/bart-base-lora-summarization-medical")This model is a fine-tuned version of facebook/bart-base on the 'mystic-leung/medical_cord19' dataset. 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 | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|---|---|---|---|---|---|---|---|---|
| 2.5079 | 1.0 | 6250 | 2.121959 | 0.4263 | 0.2290 | 0.3597 | 0.3594 | 18.3300 |
| 2.4566 | 2.0 | 12500 | 2.084411 | 0.4267 | 0.2312 | 0.3622 | 0.3618 | 18.2773 |
| 2.4242 | 3.0 | 18750 | 2.061557 | 0.4311 | 0.2358 | 0.3660 | 0.3656 | 18.1307 |
| 2.4058 | 4.0 | 25000 | 2.053182 | 0.4316 | 0.2367 | 0.3660 | 0.3659 | 18.1753 |
| 2.4119 | 5.0 | 31250 | 2.052128 | 0.4304 | 0.2352 | 0.3663 | 0.3660 | 18.1767 |
Base model
facebook/bart-base