Instructions to use KodySimpson/fine_tuned_bart with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KodySimpson/fine_tuned_bart with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("KodySimpson/fine_tuned_bart") model = AutoModelForSeq2SeqLM.from_pretrained("KodySimpson/fine_tuned_bart", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from KodySimpson/fine_tuned_bart: direct link, hf CLI and curl.
- Browser
- Download file 1.81 kB
-
https://huggingface.co/KodySimpson/fine_tuned_bart/resolve/main/README.md
- Command line
-
hf download hf://KodySimpson/fine_tuned_bart/README.md
-
curl -L -o README.md https://huggingface.co/KodySimpson/fine_tuned_bart/resolve/main/README.md
1.81 kB
metadata
library_name: transformers
license: apache-2.0
base_model: facebook/bart-base
tags:
- generated_from_trainer
metrics:
- rouge
model-index:
- name: fine_tuned_bart
results: []
fine_tuned_bart
This model is a fine-tuned version of facebook/bart-base on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 2.0381
- Rouge1: 0.2307
- Rouge2: 0.1018
- Rougel: 0.1854
- Rougelsum: 0.216
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 with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 3
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 250 | 1.9678 | 0.2374 | 0.1119 | 0.1944 | 0.2211 |
| 2.373 | 2.0 | 500 | 1.9367 | 0.2337 | 0.1092 | 0.1922 | 0.2199 |
| 2.373 | 3.0 | 750 | 1.9363 | 0.2309 | 0.1088 | 0.1916 | 0.2176 |
Framework versions
- Transformers 4.53.2
- Pytorch 2.6.0+cu124
- Datasets 4.0.0
- Tokenizers 0.21.2