Run this model with HF Jobs
Run scott156/LED-Base-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-Base-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-Base-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-Base-NSPCC with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use scott156/LED-Base-NSPCC with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("scott156/LED-Base-NSPCC") model = AutoModelForSeq2SeqLM.from_pretrained("scott156/LED-Base-NSPCC", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (3)
- README.mdAdded+70
- generation_config.jsonAdded+10
- model.safetensors+1-1
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970---license: apache-2.0base_model: allenai/led-base-16384tags:- generated_from_trainermetrics:- rougemodel-index:- name: LED-Base-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-Base-NSPCC
This model is a fine-tuned version of [allenai/led-base-16384](https://huggingface.co/allenai/led-base-16384) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 1.8734- Rouge1: 0.4910- Rouge2: 0.2207- Rougel: 0.2847- Rougelsum: 0.2840
## 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: 4- eval_batch_size: 4- seed: 42- gradient_accumulation_steps: 4- total_train_batch_size: 16- 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 ||:-------------:|:------:|:----:|:---------------:|:------:|:------:|:------:|:---------:|| 2.4662 | 0.9947 | 47 | 1.9451 | 0.4528 | 0.1809 | 0.2560 | 0.2558 || 1.6508 | 1.9894 | 94 | 1.8497 | 0.4889 | 0.2146 | 0.2720 | 0.2716 || 1.2549 | 2.9841 | 141 | 1.8268 | 0.4812 | 0.2092 | 0.2756 | 0.2753 || 0.9955 | 3.9788 | 188 | 1.8734 | 0.4910 | 0.2207 | 0.2847 | 0.2840 |
### 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:6409416b7ea5da045c0bcac299902a848576280d4efc65e95e311a28cb332914size 647614116123version https://git-lfs.github.com/spec/v1oid sha256:37a4fa6368af37ac1d4901afef34ac68be646f8be859eed151b23b610206c353size 647614116
README.mdAdded+70
generation_config.jsonAdded+10
model.safetensors+1-1