Transformers
TensorBoard
Safetensors
t5
text2text-generation
Generated from Trainer
text-generation-inference
Run this model with HF Jobs
Run limaatulya/billsum_model 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/limaatulya/billsum_model. 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/limaatulya/billsum_model 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 limaatulya/billsum_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use limaatulya/billsum_model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("limaatulya/billsum_model") model = AutoModelForSeq2SeqLM.from_pretrained("limaatulya/billsum_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Quick Links
billsum_model
This model is a fine-tuned version of google-t5/t5-small on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 2.4594
- Rouge1: 0.1456
- Rouge2: 0.0532
- Rougel: 0.1211
- Rougelsum: 0.1208
- Gen Len: 19.0
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: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 4
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|---|---|---|---|---|---|---|---|---|
| No log | 1.0 | 62 | 2.7459 | 0.1225 | 0.0329 | 0.1016 | 0.1016 | 19.0 |
| No log | 2.0 | 124 | 2.5379 | 0.1332 | 0.0438 | 0.1101 | 0.11 | 19.0 |
| No log | 3.0 | 186 | 2.4761 | 0.1416 | 0.0497 | 0.1174 | 0.1171 | 19.0 |
| No log | 4.0 | 248 | 2.4594 | 0.1456 | 0.0532 | 0.1211 | 0.1208 | 19.0 |
Framework versions
- Transformers 4.41.2
- Pytorch 2.3.0+cu121
- Datasets 2.20.0
- Tokenizers 0.19.1
- Downloads last month
- 3
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
Model tree for limaatulya/billsum_model
Base model
google-t5/t5-small
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("limaatulya/billsum_model") model = AutoModelForSeq2SeqLM.from_pretrained("limaatulya/billsum_model", device_map="auto")