Transformers
TensorBoard
Safetensors
t5
text2text-generation
Generated from Trainer
text-generation-inference
Run this model with HF Jobs
Run cheaptrix/TennesseeLegislationBillSummarizer on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/cheaptrix/TennesseeLegislationBillSummarizer. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/cheaptrix/TennesseeLegislationBillSummarizer on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use cheaptrix/TennesseeLegislationBillSummarizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cheaptrix/TennesseeLegislationBillSummarizer with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("cheaptrix/TennesseeLegislationBillSummarizer") model = AutoModelForSeq2SeqLM.from_pretrained("cheaptrix/TennesseeLegislationBillSummarizer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model save
Browse filesFiles changed (2)
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970---library_name: transformerslicense: apache-2.0base_model: google-t5/t5-smalltags:- generated_from_trainermetrics:- rougemodel-index:- name: TennesseeLegislationBillSummarizer results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# TennesseeLegislationBillSummarizer
This model is a fine-tuned version of [google-t5/t5-small](https://huggingface.co/google-t5/t5-small) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.9393- Rouge1: 0.5251- Rouge2: 0.4185- Rougel: 0.4987- Rougelsum: 0.4987- Gen Len: 19.6969
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:- learning_rate: 2e-05- train_batch_size: 4- eval_batch_size: 4- seed: 42- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear- num_epochs: 5- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len ||:-------------:|:-----:|:-----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|| 1.1485 | 1.0 | 15881 | 1.0192 | 0.5167 | 0.4071 | 0.4899 | 0.49 | 19.7533 || 1.0839 | 2.0 | 31762 | 0.9754 | 0.5185 | 0.4101 | 0.4918 | 0.4919 | 19.7608 || 1.0474 | 3.0 | 47643 | 0.9542 | 0.5228 | 0.4151 | 0.4961 | 0.4961 | 19.7375 || 1.0541 | 4.0 | 63524 | 0.9428 | 0.5247 | 0.4177 | 0.4981 | 0.4982 | 19.7032 || 1.0252 | 5.0 | 79405 | 0.9393 | 0.5251 | 0.4185 | 0.4987 | 0.4987 | 19.6969 |
### Framework versions
- Transformers 4.57.1- Pytorch 2.8.0+cu126- Datasets 4.0.0- Tokenizers 0.22.1123version https://git-lfs.github.com/spec/v1oid sha256:73999abfb7a1cdb7d90bae71be5fb6b20a0b6de2fa83d7029652233969abdf46size 42055123version https://git-lfs.github.com/spec/v1oid sha256:d7164317a392672ec43ef889cd0f0717e45d48a7961785cb7a8fc1c2cd0a9e9esize 42950
README.mdAdded+70
runs/Nov18_17-03-48_dd086913b758/events.out.tfevents.1763485447.dd086913b758.631.1+2-2