FiscalNote/billsum
Viewer • Updated • 23.5k • 18.2k • 54
How to use bogdancazan/bart_summarization_pretrained with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("bogdancazan/bart_summarization_pretrained")
model = AutoModelForSeq2SeqLM.from_pretrained("bogdancazan/bart_summarization_pretrained")This model is a fine-tuned version of facebook/bart-large-cnn on the billsum 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 |
|---|---|---|---|---|---|---|---|---|
| 1.7347 | 1.0 | 989 | 1.6263 | 0.5044 | 0.254 | 0.3219 | 0.3734 | 121.8306 |
| 1.2029 | 2.0 | 1978 | 1.6037 | 0.5278 | 0.2723 | 0.3351 | 0.3977 | 136.4718 |
| 0.8435 | 3.0 | 2967 | 1.6054 | 0.513 | 0.2661 | 0.3357 | 0.3957 | 129.1048 |
| 0.6326 | 4.0 | 3956 | 1.7402 | 0.5264 | 0.2745 | 0.3432 | 0.4049 | 131.0645 |