Summarization
Transformers
Safetensors
English
bart
text2text-generation
abstractive
hybrid
multistep
Eval Results (legacy)
Run this model with HF Jobs
Run MikaSie/LexLM_BART_dependent_V1 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/MikaSie/LexLM_BART_dependent_V1. 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/MikaSie/LexLM_BART_dependent_V1 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 MikaSie/LexLM_BART_dependent_V1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MikaSie/LexLM_BART_dependent_V1 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("summarization", model="MikaSie/LexLM_BART_dependent_V1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("MikaSie/LexLM_BART_dependent_V1") model = AutoModelForSeq2SeqLM.from_pretrained("MikaSie/LexLM_BART_dependent_V1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (10)
- README.mdAdded+71
- config.jsonAdded+74
- generation_config.jsonAdded+13
- merges.txtAdded
- model.safetensorsAdded+3
- special_tokens_map.jsonAdded+15
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+57
- training_args.binAdded+3
- vocab.jsonAdded
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071---license: apache-2.0base_model: facebook/bart-largetags:- generated_from_trainerdatasets:- arrowmodel-index:- name: LexLM_BART_dependent_V1 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. -->
# LexLM_BART_dependent_V1
This model is a fine-tuned version of [facebook/bart-large](https://huggingface.co/facebook/bart-large) on the arrow dataset.It achieves the following results on the evaluation set:- Loss: 2.0533
## 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: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- lr_scheduler_warmup_ratio: 0.1- num_epochs: 40
### Training results
| Training Loss | Epoch | Step | Validation Loss ||:-------------:|:-----:|:----:|:---------------:|| 3.6312 | 1.0 | 69 | 2.3016 || 2.3483 | 2.0 | 138 | 2.1272 || 2.1134 | 3.0 | 207 | 2.0696 || 1.9751 | 4.0 | 276 | 2.0288 || 1.8566 | 5.0 | 345 | 2.0113 || 1.7431 | 6.0 | 414 | 1.9881 || 1.6566 | 7.0 | 483 | 1.9846 || 1.5714 | 8.0 | 552 | 2.0079 || 1.5028 | 9.0 | 621 | 2.0093 || 1.4321 | 10.0 | 690 | 2.0413 || 1.3694 | 11.0 | 759 | 2.0453 || 1.3143 | 12.0 | 828 | 2.0533 |
### Framework versions
- Transformers 4.40.1- Pytorch 2.2.1+cu121- Datasets 2.17.1- Tokenizers 0.19.11234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374{ "_name_or_path": "facebook/bart-large", "activation_dropout": 0.1, "activation_function": "gelu", "add_bias_logits": false, "add_final_layer_norm": false, "architectures": [ "BartForConditionalGeneration" ], "attention_dropout": 0.1, "bos_token_id": 0, "classif_dropout": 0.1, "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, "early_stopping": true, "encoder_attention_heads": 16, "encoder_ffn_dim": 4096, "encoder_layerdrop": 0.0, "encoder_layers": 12, "eos_token_id": 2, "forced_bos_token_id": 0, "forced_eos_token_id": 2, "gradient_checkpointing": false, "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_position_embeddings": 1024, "model_type": "bart", "no_repeat_ngram_size": 3, "normalize_before": false, "num_beams": 4, "num_hidden_layers": 12, "pad_token_id": 1, "scale_embedding": false, "task_specific_params": { "summarization": { "length_penalty": 1.0, "max_length": 128, "min_length": 12, "num_beams": 4 }, "summarization_cnn": { "length_penalty": 2.0, "max_length": 142, "min_length": 56, "num_beams": 4 }, "summarization_xsum": { "length_penalty": 1.0, "max_length": 62, "min_length": 11, "num_beams": 6 } }, "torch_dtype": "float32", "transformers_version": "4.40.1", "use_cache": true, "vocab_size": 50265}12345678910111213{ "_from_model_config": true, "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.40.1"}123version https://git-lfs.github.com/spec/v1oid sha256:3223e57ae8e7889c8047bf66717c9b723d4d82e46d8a9c3130ff0a16d4ab956csize 1625426996123456789101112131415{ "bos_token": "<s>", "cls_token": "<s>", "eos_token": "</s>", "mask_token": { "content": "<mask>", "lstrip": true, "normalized": true, "rstrip": false, "single_word": false }, "pad_token": "<pad>", "sep_token": "</s>", "unk_token": "<unk>"}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": 1024, "pad_token": "<pad>", "sep_token": "</s>", "tokenizer_class": "BartTokenizer", "trim_offsets": true, "unk_token": "<unk>"}123version https://git-lfs.github.com/spec/v1oid sha256:c6c8dda2189227e96c9b3c222ef8bfe0e6a12fbf1a5e0af29543b7d0ba5820f2size 5176README.mdAdded+71
config.jsonAdded+74
generation_config.jsonAdded+13
merges.txtAdded
model.safetensorsAdded+3
special_tokens_map.jsonAdded+15
tokenizer.jsonAdded
tokenizer_config.jsonAdded+57
training_args.binAdded+3
vocab.jsonAdded