Instructions to use Prerna2055/training_checkpoints with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Prerna2055/training_checkpoints with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("t5-small") model = PeftModel.from_pretrained(base_model, "Prerna2055/training_checkpoints") - Notebooks
- Google Colab
- Kaggle
| library_name: peft | |
| license: apache-2.0 | |
| base_model: t5-small | |
| tags: | |
| - generated_from_trainer | |
| model-index: | |
| - name: training_checkpoints | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # training_checkpoints | |
| This model is a fine-tuned version of [t5-small](https://huggingface.co/t5-small) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 3.3638 | |
| ## 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: 0.0002 | |
| - train_batch_size: 4 | |
| - eval_batch_size: 4 | |
| - seed: 42 | |
| - gradient_accumulation_steps: 2 | |
| - total_train_batch_size: 8 | |
| - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments | |
| - lr_scheduler_type: linear | |
| - lr_scheduler_warmup_steps: 100 | |
| - num_epochs: 5 | |
| - mixed_precision_training: Native AMP | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | | |
| |:-------------:|:-----:|:-----:|:---------------:| | |
| | 3.818 | 1.0 | 6278 | 3.5073 | | |
| | 3.5666 | 2.0 | 12556 | 3.4281 | | |
| | 3.6054 | 3.0 | 18834 | 3.3929 | | |
| | 3.5081 | 4.0 | 25112 | 3.3720 | | |
| | 3.5558 | 5.0 | 31390 | 3.3638 | | |
| ### Framework versions | |
| - PEFT 0.14.0 | |
| - Transformers 4.51.1 | |
| - Pytorch 2.5.1+cu124 | |
| - Datasets 3.5.0 | |
| - Tokenizers 0.21.0 |