Run this model with HF Jobs
Run scott156/LEDBaseNSPCCV1 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/LEDBaseNSPCCV1. 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/LEDBaseNSPCCV1 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/LEDBaseNSPCCV1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use scott156/LEDBaseNSPCCV1 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("scott156/LEDBaseNSPCCV1") model = AutoModelForSeq2SeqLM.from_pretrained("scott156/LEDBaseNSPCCV1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (10)
- README.mdAdded+69
- config.jsonAdded+53
- 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-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.8152- Rouge1: 0.4955- Rouge2: 0.2131- Rougel: 0.2804- Rougelsum: 0.2807- Gen Len: 267.3511
## 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: 2- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len ||:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:--------:|| 2.5412 | 0.99 | 47 | 1.9338 | 0.4778 | 0.186 | 0.2638 | 0.2635 | 266.2766 || 1.6145 | 1.99 | 94 | 1.8152 | 0.4955 | 0.2131 | 0.2804 | 0.2807 | 267.3511 |
### Framework versions
- Transformers 4.39.3- Pytorch 2.2.1+cu121- Datasets 2.18.0- Tokenizers 0.15.21234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ "_name_or_path": "allenai/led-base-16384", "activation_dropout": 0.0, "activation_function": "gelu", "architectures": [ "LEDForConditionalGeneration" ], "attention_dropout": 0.0, "attention_window": [ 1024, 1024, 1024, 1024, 1024, 1024 ], "bos_token_id": 0, "classif_dropout": 0.0, "classifier_dropout": 0.0, "d_model": 768, "decoder_attention_heads": 12, "decoder_ffn_dim": 3072, "decoder_layerdrop": 0.0, "decoder_layers": 6, "decoder_start_token_id": 2, "dropout": 0.1, "encoder_attention_heads": 12, "encoder_ffn_dim": 3072, "encoder_layerdrop": 0.0, "encoder_layers": 6, "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": 6, "pad_token_id": 1, "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:4af5b976cf0b05e230c89510a1518a3e21186acc79a0eef32127c8037cbda598size 647614116123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "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:62a395ac6b59ae52a4797c20edb38f86341044f767f250d1e6847ee0026d7b69size 5048README.mdAdded+69
config.jsonAdded+53
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