FiscalNote/billsum
Viewer • Updated • 23.5k • 5.87k • 55
How to use StatsGary/bart-large-cnn-billsum with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("StatsGary/bart-large-cnn-billsum")
model = AutoModelForSeq2SeqLM.from_pretrained("StatsGary/bart-large-cnn-billsum")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 |
|---|---|---|---|---|---|---|---|---|
| No log | 1.0 | 248 | 1.8112 | 0.4809 | 0.2299 | 0.3067 | 0.3716 | 113.1371 |
| No log | 2.0 | 496 | 1.7501 | 0.5089 | 0.2484 | 0.325 | 0.3844 | 123.9435 |
| 1.7258 | 3.0 | 744 | 1.7386 | 0.5008 | 0.2412 | 0.3163 | 0.3732 | 127.2056 |
| 1.7258 | 4.0 | 992 | 1.7658 | 0.5014 | 0.2463 | 0.3189 | 0.3752 | 125.5645 |
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("StatsGary/bart-large-cnn-billsum") model = AutoModelForSeq2SeqLM.from_pretrained("StatsGary/bart-large-cnn-billsum")