FiscalNote/billsum
Viewer • Updated • 23.5k • 16.3k • 55
How to use Purus15987/Summarization_model with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("Purus15987/Summarization_model")
model = AutoModelForSeq2SeqLM.from_pretrained("Purus15987/Summarization_model")This model is a fine-tuned version of t5-small 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 | 62 | 2.8419 | 0.1272 | 0.0393 | 0.108 | 0.1079 | 19.0 |
| No log | 2.0 | 124 | 2.6329 | 0.1333 | 0.0458 | 0.1133 | 0.1131 | 19.0 |
| No log | 3.0 | 186 | 2.5693 | 0.1379 | 0.0494 | 0.1164 | 0.1162 | 19.0 |
| No log | 4.0 | 248 | 2.5515 | 0.1392 | 0.0503 | 0.1161 | 0.1159 | 19.0 |
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Purus15987/Summarization_model") model = AutoModelForSeq2SeqLM.from_pretrained("Purus15987/Summarization_model")