Run this model with HF Jobs
Run scott156/LED-Large-NSPCC 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/scott156/LED-Large-NSPCC. 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/scott156/LED-Large-NSPCC 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 scott156/LED-Large-NSPCC with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use scott156/LED-Large-NSPCC with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("scott156/LED-Large-NSPCC") model = AutoModelForSeq2SeqLM.from_pretrained("scott156/LED-Large-NSPCC", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (3)
- README.mdAdded+71
- generation_config.jsonAdded+10
- model.safetensors+1-1
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071---license: apache-2.0base_model: allenai/led-large-16384tags:- generated_from_trainermetrics:- rougemodel-index:- name: LED-Large-NSPCC 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. -->
# LED-Large-NSPCC
This model is a fine-tuned version of [allenai/led-large-16384](https://huggingface.co/allenai/led-large-16384) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 1.7268- Rouge1: 0.5254- Rouge2: 0.2338- Rougel: 0.3002- Rougelsum: 0.3002- Gen Len: 299.4787
## 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.0003- train_batch_size: 2- eval_batch_size: 2- seed: 42- gradient_accumulation_steps: 4- total_train_batch_size: 8- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: cosine- lr_scheduler_warmup_ratio: 0.03- num_epochs: 4- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len ||:-------------:|:------:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:--------:|| 2.4641 | 0.9947 | 94 | 2.1400 | 0.4307 | 0.1505 | 0.226 | 0.226 | 353.6277 || 1.8933 | 2.0 | 189 | 1.8349 | 0.4851 | 0.1895 | 0.2638 | 0.2641 | 275.5745 || 1.3745 | 2.9947 | 283 | 1.6659 | 0.516 | 0.2274 | 0.2882 | 0.2887 | 299.5426 || 0.8719 | 3.9788 | 376 | 1.7268 | 0.5254 | 0.2338 | 0.3002 | 0.3002 | 299.4787 |
### Framework versions
- Transformers 4.40.1- Pytorch 2.2.1+cu121- Datasets 2.19.0- Tokenizers 0.19.112345678910{ "bos_token_id": 0, "decoder_start_token_id": 2, "eos_token_id": 2, "max_new_tokens": 400, "no_repeat_ngram_size": 5, "num_beams": 3, "pad_token_id": 1, "transformers_version": "4.40.1"}123version https://git-lfs.github.com/spec/v1oid sha256:82cf5ade4ebb4155f1b69712775c949cfbb8c97d0e58fb35c7ef40a790fab005size 1839478364123version https://git-lfs.github.com/spec/v1oid sha256:c9f47ec7ae996388374d785131e8988776693e8eab6e1a8afbbef266f9a6ea2esize 1839478364
README.mdAdded+71
generation_config.jsonAdded+10
model.safetensors+1-1