fedora-copr/pep-sum
Viewer • Updated • 345 • 106
How to use jpodivin/pep_summarization with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("jpodivin/pep_summarization")
model = AutoModelForSeq2SeqLM.from_pretrained("jpodivin/pep_summarization")This model is a fine-tuned version of facebook/bart-large-cnn on the fedora-copr/pep-sum 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 |
|---|---|---|---|---|---|---|---|---|
| No log | 1.0 | 69 | 0.0957 | 72.6601 | 71.6824 | 72.6858 | 72.4668 | 95.4493 |
| No log | 2.0 | 138 | 0.1345 | 75.0063 | 74.0782 | 75.0597 | 74.8943 | 92.0145 |
| No log | 3.0 | 207 | 0.1412 | 75.3012 | 74.5492 | 75.4246 | 75.324 | 85.4638 |
| No log | 4.0 | 276 | 0.1089 | 74.8426 | 74.0317 | 74.8939 | 74.8128 | 85.0435 |
| No log | 5.0 | 345 | 0.1242 | 75.3806 | 74.6735 | 75.5866 | 75.5446 | 85.3188 |
Base model
facebook/bart-large-cnn
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("jpodivin/pep_summarization") model = AutoModelForSeq2SeqLM.from_pretrained("jpodivin/pep_summarization")