Transformers
TensorBoard
Safetensors
bart
text2text-generation
Generated from Trainer
Eval Results (legacy)
Run this model with HF Jobs
Run gs224/seq2seq 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/gs224/seq2seq. 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/gs224/seq2seq 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 gs224/seq2seq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gs224/seq2seq with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("gs224/seq2seq") model = AutoModelForSeq2SeqLM.from_pretrained("gs224/seq2seq", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add model, config, and tokenizer
Browse filesFiles changed (4)
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879---library_name: transformerslicense: apache-2.0base_model: facebook/bart-largetags:- generated_from_trainerdatasets:- iva_mt_wslotmetrics:- bleumodel-index:- name: seq2seq results: - task: name: Sequence-to-sequence Language Modeling type: text2text-generation dataset: name: iva_mt_wslot type: iva_mt_wslot config: en-pl split: validation args: en-pl metrics: - name: Bleu type: bleu value: 20.3646---
<!-- 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. -->
# seq2seq
This model is a fine-tuned version of [facebook/bart-large](https://huggingface.co/facebook/bart-large) on the iva_mt_wslot dataset.It achieves the following results on the evaluation set:- Loss: 1.1103- Bleu: 20.3646- Gen Len: 17.8886
## 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: 5e-05- train_batch_size: 16- eval_batch_size: 16- seed: 42- optimizer: Use 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: 2- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len ||:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|| 1.6673 | 1.0 | 1273 | 1.2760 | 17.6152 | 17.5786 || 1.1375 | 2.0 | 2546 | 1.1103 | 20.3646 | 17.8886 |
### Framework versions
- Transformers 4.46.2- Pytorch 2.5.1+cu121- Datasets 3.1.0- Tokenizers 0.20.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.46.2"}123version https://git-lfs.github.com/spec/v1oid sha256:974b80c7a4041a790b2dff19ee5a96fc941896abfd1dbecb5330792a0148dc69size 1625426996123version https://git-lfs.github.com/spec/v1oid sha256:cc6dc2aea12064ebf52a01692ad90b3f95496a61951f87907485176ed4b0b185size 1625426996
123version https://git-lfs.github.com/spec/v1oid sha256:de15d7300a401606faaa3012e29096bf79698b38a83a252879f18b1fce9fbd80size 7627123version https://git-lfs.github.com/spec/v1oid sha256:6e7327da6bcb536929705c8149e73a3bfe4c5cacba2bac46491ef7ea1f09852csize 8351
README.mdAdded+79
generation_config.jsonAdded+12
model.safetensors+1-1
runs/Nov17_17-02-02_e4e90092f098/events.out.tfevents.1731862924.e4e90092f098.411.0+2-2