Run this model with HF Jobs
Run scott156/LEDLargeNSPCCV1 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/LEDLargeNSPCCV1. 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/LEDLargeNSPCCV1 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/LEDLargeNSPCCV1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use scott156/LEDLargeNSPCCV1 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("scott156/LEDLargeNSPCCV1") model = AutoModelForSeq2SeqLM.from_pretrained("scott156/LEDLargeNSPCCV1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (10)
- README.mdAdded+69
- config.jsonAdded+62
- generation_config.jsonAdded+10
- merges.txtAdded
- model.safetensorsAdded+3
- special_tokens_map.jsonAdded+51
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+57
- training_args.binAdded+3
- vocab.jsonAdded
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869---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.6129- Rouge1: 0.5117- Rouge2: 0.2276- Rougel: 0.2877- Rougelsum: 0.2864- Gen Len: 317.0532
## 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: 2- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len ||:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:--------:|| 2.2026 | 0.99 | 94 | 1.8032 | 0.3532 | 0.1387 | 0.1944 | 0.1935 | 189.117 || 1.3273 | 1.99 | 188 | 1.6129 | 0.5117 | 0.2276 | 0.2877 | 0.2864 | 317.0532 |
### Framework versions
- Transformers 4.39.3- Pytorch 2.2.1+cu121- Datasets 2.18.0- Tokenizers 0.15.21234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ "_name_or_path": "allenai/led-large-16384", "_num_labels": 3, "activation_dropout": 0.0, "activation_function": "gelu", "architectures": [ "LEDForConditionalGeneration" ], "attention_dropout": 0.0, "attention_window": [ 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024 ], "bos_token_id": 0, "classif_dropout": 0.0, "classifier_dropout": 0.0, "d_model": 1024, "decoder_attention_heads": 16, "decoder_ffn_dim": 4096, "decoder_layerdrop": 0.0, "decoder_layers": 12, "decoder_start_token_id": 2, "dropout": 0.1, "encoder_attention_heads": 16, "encoder_ffn_dim": 4096, "encoder_layerdrop": 0.0, "encoder_layers": 12, "eos_token_id": 2, "id2label": { "0": "LABEL_0", "1": "LABEL_1", "2": "LABEL_2" }, "init_std": 0.02, "is_encoder_decoder": true, "label2id": { "LABEL_0": 0, "LABEL_1": 1, "LABEL_2": 2 }, "max_decoder_position_embeddings": 1024, "max_encoder_position_embeddings": 16384, "model_type": "led", "num_hidden_layers": 12, "output_past": false, "pad_token_id": 1, "prefix": " ", "torch_dtype": "float32", "transformers_version": "4.39.3", "use_cache": false, "vocab_size": 50265}12345678910{ "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.39.3"}123version https://git-lfs.github.com/spec/v1oid sha256:3387cc0874521c10dcae79ae15f8f66d2b6591048b3bb0beb6189aaa8583e177size 1839478364123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "bos_token": { "content": "<s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "cls_token": { "content": "<s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "eos_token": { "content": "</s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "mask_token": { "content": "<mask>", "lstrip": true, "normalized": true, "rstrip": false, "single_word": false }, "pad_token": { "content": "<pad>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "sep_token": { "content": "</s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "unk_token": { "content": "<unk>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ "add_prefix_space": false, "added_tokens_decoder": { "0": { "content": "<s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "<pad>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true }, "2": { "content": "</s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true }, "3": { "content": "<unk>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true }, "50264": { "content": "<mask>", "lstrip": true, "normalized": true, "rstrip": false, "single_word": false, "special": true } }, "bos_token": "<s>", "clean_up_tokenization_spaces": true, "cls_token": "<s>", "eos_token": "</s>", "errors": "replace", "mask_token": "<mask>", "model_max_length": 16384, "pad_token": "<pad>", "sep_token": "</s>", "tokenizer_class": "LEDTokenizer", "trim_offsets": true, "unk_token": "<unk>"}123version https://git-lfs.github.com/spec/v1oid sha256:4e5fd8fa6d22054cdd07c6bd9c406c99ec246ecd4a06ca80349d734ff5f43cb9size 5048README.mdAdded+69
config.jsonAdded+62
generation_config.jsonAdded+10
merges.txtAdded
model.safetensorsAdded+3
special_tokens_map.jsonAdded+51
tokenizer.jsonAdded
tokenizer_config.jsonAdded+57
training_args.binAdded+3
vocab.jsonAdded