google-research-datasets/paws
Viewer • Updated • 751k • 124k • 40
How to use domenicrosati/pegasus-pubmed-finetuned-paws with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("domenicrosati/pegasus-pubmed-finetuned-paws")
model = AutoModelForSeq2SeqLM.from_pretrained("domenicrosati/pegasus-pubmed-finetuned-paws", device_map="auto")This model is a fine-tuned version of google/pegasus-pubmed on the paws 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 |
|---|---|---|---|---|---|---|---|
| No log | 0.73 | 1000 | 3.8839 | 51.2731 | 29.8072 | 45.767 | 45.5732 |
| 4.071 | 1.47 | 2000 | 3.6459 | 52.756 | 31.9185 | 48.0092 | 48.0544 |
| 3.5467 | 2.2 | 3000 | 3.5849 | 54.8127 | 33.1959 | 49.326 | 49.4971 |
| 3.5467 | 2.93 | 4000 | 3.5267 | 55.387 | 33.9516 | 50.683 | 50.6313 |
| 3.3654 | 3.66 | 5000 | 3.5031 | 57.5279 | 35.2664 | 51.9903 | 52.258 |
| 3.2844 | 4.4 | 6000 | 3.5296 | 56.0536 | 33.395 | 50.9909 | 51.244 |
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("domenicrosati/pegasus-pubmed-finetuned-paws") model = AutoModelForSeq2SeqLM.from_pretrained("domenicrosati/pegasus-pubmed-finetuned-paws", device_map="auto")