Run this model with HF Jobs
Run GuysTrans/bart-base-mini 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/GuysTrans/bart-base-mini. 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/GuysTrans/bart-base-mini 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 GuysTrans/bart-base-mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GuysTrans/bart-base-mini with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("GuysTrans/bart-base-mini") model = AutoModelForSeq2SeqLM.from_pretrained("GuysTrans/bart-base-mini", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (3)
- README.mdAdded+64
- generation_config.jsonAdded+12
- pytorch_model.bin+1-1
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364---license: apache-2.0base_model: facebook/bart-basetags:- generated_from_trainermetrics:- rougemodel-index:- name: bart-base-mini 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. -->
# bart-base-mini
This model is a fine-tuned version of [facebook/bart-base](https://huggingface.co/facebook/bart-base) on the None dataset.It achieves the following results on the evaluation set:- Loss: 3.1440- Rouge1: 10.9135- Rouge2: 2.6425- Rougel: 8.787- Rougelsum: 10.5549- Gen Len: 20.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: 8- eval_batch_size: 8- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 1
### Training results
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len ||:-------------:|:-----:|:-----:|:---------------:|:-------:|:------:|:------:|:---------:|:-------:|| 2.7872 | 1.0 | 23165 | 3.1440 | 10.9135 | 2.6425 | 8.787 | 10.5549 | 20.0 |
### Framework versions
- Transformers 4.33.0- Pytorch 2.0.0- Datasets 2.1.0- Tokenizers 0.13.3123456789101112{ "bos_token_id": 0, "decoder_start_token_id": 2, "early_stopping": true, "eos_token_id": 2, "forced_bos_token_id": 0, "forced_eos_token_id": 2, "no_repeat_ngram_size": 3, "num_beams": 4, "pad_token_id": 1, "transformers_version": "4.33.0"}1223version https://git-lfs.github.com/spec/v1oid sha256:0c151269a91a7629e905cc675676cf3ef17568f4679dd2a1cdeb8328b00eb1caoid sha256:0c274e1d4c4331721b8227a13c9bf3cd539279b5c4af75962ffe46765acc4a9fsize 557971229README.mdAdded+64
generation_config.jsonAdded+12
pytorch_model.bin+1-1