cheaptrix/UnitedStatesSentateAndHouseBillsAndSummaries
Viewer • Updated • 64.9k • 18 • 1
How to use cheaptrix/MTSUFall2024SoftwareEngineering with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("cheaptrix/MTSUFall2024SoftwareEngineering")
model = AutoModelForSeq2SeqLM.from_pretrained("cheaptrix/MTSUFall2024SoftwareEngineering")This model is a fine-tuned version of google-t5/t5-small on the None dataset. It achieves the following results on the evaluation set:
This model is a fine-tuned Google T5-Small model that is fine-tuned to summarize United States Senate and House Bills.
Summarize United States Federal Legislation.
Trained on ~51.9k bills and summaries.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|---|---|---|---|---|---|---|---|---|
| 2.1182 | 1.0 | 3708 | 1.8807 | 0.2643 | 0.2029 | 0.2533 | 0.2534 | 18.9817 |
| 1.999 | 2.0 | 7416 | 1.8013 | 0.2663 | 0.2053 | 0.2558 | 0.2559 | 18.9833 |
| 1.9739 | 3.0 | 11124 | 1.7681 | 0.267 | 0.2066 | 0.2568 | 0.2569 | 18.9816 |
| 1.9448 | 4.0 | 14832 | 1.7579 | 0.268 | 0.2083 | 0.258 | 0.2582 | 18.9805 |
Base model
google-t5/t5-small
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("cheaptrix/MTSUFall2024SoftwareEngineering") model = AutoModelForSeq2SeqLM.from_pretrained("cheaptrix/MTSUFall2024SoftwareEngineering")