Summarization
Transformers
Safetensors
bart
text2text-generation
title-generation
scientific-text
scihigh-2026
fire-2026
Instructions to use kckrish21/SciHigh2026-Task2-BART-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kckrish21/SciHigh2026-Task2-BART-large 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="kckrish21/SciHigh2026-Task2-BART-large")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("kckrish21/SciHigh2026-Task2-BART-large") model = AutoModelForSeq2SeqLM.from_pretrained("kckrish21/SciHigh2026-Task2-BART-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- config.json +70 -0
- generation_config.json +40 -0
- model.safetensors +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +17 -0
- trainer_state.json +149 -0
- training_args.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_dropout": 0.1,
|
| 3 |
+
"activation_function": "gelu",
|
| 4 |
+
"add_bias_logits": false,
|
| 5 |
+
"add_final_layer_norm": false,
|
| 6 |
+
"architectures": [
|
| 7 |
+
"BartForConditionalGeneration"
|
| 8 |
+
],
|
| 9 |
+
"attention_dropout": 0.1,
|
| 10 |
+
"bos_token_id": 0,
|
| 11 |
+
"classif_dropout": 0.1,
|
| 12 |
+
"classifier_dropout": 0.0,
|
| 13 |
+
"d_model": 1024,
|
| 14 |
+
"decoder_attention_heads": 16,
|
| 15 |
+
"decoder_ffn_dim": 4096,
|
| 16 |
+
"decoder_layerdrop": 0.0,
|
| 17 |
+
"decoder_layers": 12,
|
| 18 |
+
"decoder_start_token_id": 2,
|
| 19 |
+
"dropout": 0.1,
|
| 20 |
+
"dtype": "float32",
|
| 21 |
+
"encoder_attention_heads": 16,
|
| 22 |
+
"encoder_ffn_dim": 4096,
|
| 23 |
+
"encoder_layerdrop": 0.0,
|
| 24 |
+
"encoder_layers": 12,
|
| 25 |
+
"eos_token_id": 2,
|
| 26 |
+
"forced_eos_token_id": 2,
|
| 27 |
+
"gradient_checkpointing": false,
|
| 28 |
+
"id2label": {
|
| 29 |
+
"0": "LABEL_0",
|
| 30 |
+
"1": "LABEL_1",
|
| 31 |
+
"2": "LABEL_2"
|
| 32 |
+
},
|
| 33 |
+
"init_std": 0.02,
|
| 34 |
+
"is_decoder": false,
|
| 35 |
+
"is_encoder_decoder": true,
|
| 36 |
+
"label2id": {
|
| 37 |
+
"LABEL_0": 0,
|
| 38 |
+
"LABEL_1": 1,
|
| 39 |
+
"LABEL_2": 2
|
| 40 |
+
},
|
| 41 |
+
"max_position_embeddings": 1024,
|
| 42 |
+
"model_type": "bart",
|
| 43 |
+
"normalize_before": false,
|
| 44 |
+
"pad_token_id": 1,
|
| 45 |
+
"scale_embedding": false,
|
| 46 |
+
"task_specific_params": {
|
| 47 |
+
"summarization": {
|
| 48 |
+
"length_penalty": 1.0,
|
| 49 |
+
"max_length": 128,
|
| 50 |
+
"min_length": 12,
|
| 51 |
+
"num_beams": 4
|
| 52 |
+
},
|
| 53 |
+
"summarization_cnn": {
|
| 54 |
+
"length_penalty": 2.0,
|
| 55 |
+
"max_length": 142,
|
| 56 |
+
"min_length": 56,
|
| 57 |
+
"num_beams": 4
|
| 58 |
+
},
|
| 59 |
+
"summarization_xsum": {
|
| 60 |
+
"length_penalty": 1.0,
|
| 61 |
+
"max_length": 62,
|
| 62 |
+
"min_length": 11,
|
| 63 |
+
"num_beams": 6
|
| 64 |
+
}
|
| 65 |
+
},
|
| 66 |
+
"tie_word_embeddings": true,
|
| 67 |
+
"transformers_version": "5.15.0",
|
| 68 |
+
"use_cache": false,
|
| 69 |
+
"vocab_size": 50265
|
| 70 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": false,
|
| 3 |
+
"assistant_confidence_threshold": 0.4,
|
| 4 |
+
"assistant_lookbehind": 10,
|
| 5 |
+
"bos_token_id": 0,
|
| 6 |
+
"decoder_start_token_id": 2,
|
| 7 |
+
"diversity_penalty": 0.0,
|
| 8 |
+
"do_sample": false,
|
| 9 |
+
"early_stopping": true,
|
| 10 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 11 |
+
"encoder_repetition_penalty": 1.0,
|
| 12 |
+
"eos_token_id": [
|
| 13 |
+
2
|
| 14 |
+
],
|
| 15 |
+
"epsilon_cutoff": 0.0,
|
| 16 |
+
"eta_cutoff": 0.0,
|
| 17 |
+
"forced_bos_token_id": 0,
|
| 18 |
+
"forced_eos_token_id": 2,
|
| 19 |
+
"length_penalty": 1.0,
|
| 20 |
+
"max_length": 20,
|
| 21 |
+
"min_length": 0,
|
| 22 |
+
"no_repeat_ngram_size": 3,
|
| 23 |
+
"num_assistant_tokens": 20,
|
| 24 |
+
"num_assistant_tokens_schedule": "constant",
|
| 25 |
+
"num_beam_groups": 1,
|
| 26 |
+
"num_beams": 4,
|
| 27 |
+
"num_return_sequences": 1,
|
| 28 |
+
"output_scores": false,
|
| 29 |
+
"pad_token_id": 1,
|
| 30 |
+
"remove_invalid_values": false,
|
| 31 |
+
"repetition_penalty": 1.0,
|
| 32 |
+
"return_dict_in_generate": false,
|
| 33 |
+
"target_lookbehind": 10,
|
| 34 |
+
"temperature": 1.0,
|
| 35 |
+
"top_k": 50,
|
| 36 |
+
"top_p": 1.0,
|
| 37 |
+
"transformers_version": "5.15.0",
|
| 38 |
+
"typical_p": 1.0,
|
| 39 |
+
"use_cache": true
|
| 40 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:78c9883e792340a19afc38c98f4df0cede39aa6185d8bb5124a2e539787f2f39
|
| 3 |
+
size 1625426996
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "<s>",
|
| 5 |
+
"cls_token": "<s>",
|
| 6 |
+
"eos_token": "</s>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"is_local": false,
|
| 9 |
+
"local_files_only": false,
|
| 10 |
+
"mask_token": "<mask>",
|
| 11 |
+
"model_max_length": 1024,
|
| 12 |
+
"pad_token": "<pad>",
|
| 13 |
+
"sep_token": "</s>",
|
| 14 |
+
"tokenizer_class": "RobertaTokenizer",
|
| 15 |
+
"trim_offsets": true,
|
| 16 |
+
"unk_token": "<unk>"
|
| 17 |
+
}
|
trainer_state.json
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": 696,
|
| 3 |
+
"best_metric": 37.6433,
|
| 4 |
+
"best_model_checkpoint": "./results_bart_large/checkpoint-696",
|
| 5 |
+
"epoch": 2.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 696,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 0.14398848092152627,
|
| 14 |
+
"grad_norm": 86.04337310791016,
|
| 15 |
+
"learning_rate": 2.859195402298851e-05,
|
| 16 |
+
"loss": 23.5227392578125,
|
| 17 |
+
"step": 50
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.28797696184305255,
|
| 21 |
+
"grad_norm": 125.26842498779297,
|
| 22 |
+
"learning_rate": 2.7155172413793102e-05,
|
| 23 |
+
"loss": 20.470574951171876,
|
| 24 |
+
"step": 100
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.4319654427645788,
|
| 28 |
+
"grad_norm": 165.9732208251953,
|
| 29 |
+
"learning_rate": 2.57183908045977e-05,
|
| 30 |
+
"loss": 20.68321044921875,
|
| 31 |
+
"step": 150
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.5759539236861051,
|
| 35 |
+
"grad_norm": 102.4205551147461,
|
| 36 |
+
"learning_rate": 2.4281609195402298e-05,
|
| 37 |
+
"loss": 20.2867919921875,
|
| 38 |
+
"step": 200
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.7199424046076314,
|
| 42 |
+
"grad_norm": 97.07613372802734,
|
| 43 |
+
"learning_rate": 2.2844827586206897e-05,
|
| 44 |
+
"loss": 19.927686767578123,
|
| 45 |
+
"step": 250
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.8639308855291576,
|
| 49 |
+
"grad_norm": 213.36459350585938,
|
| 50 |
+
"learning_rate": 2.1408045977011497e-05,
|
| 51 |
+
"loss": 19.565047607421874,
|
| 52 |
+
"step": 300
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 1.0,
|
| 56 |
+
"eval_loss": 2.2826883792877197,
|
| 57 |
+
"eval_rouge1": 44.9926,
|
| 58 |
+
"eval_rouge2": 21.3081,
|
| 59 |
+
"eval_rougeL": 36.6377,
|
| 60 |
+
"eval_rougeLsum": 36.6539,
|
| 61 |
+
"eval_runtime": 171.3954,
|
| 62 |
+
"eval_samples_per_second": 2.025,
|
| 63 |
+
"eval_steps_per_second": 2.025,
|
| 64 |
+
"step": 348
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"epoch": 1.005759539236861,
|
| 68 |
+
"grad_norm": 145.24673461914062,
|
| 69 |
+
"learning_rate": 1.997126436781609e-05,
|
| 70 |
+
"loss": 19.29373291015625,
|
| 71 |
+
"step": 350
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"epoch": 1.1497480201583874,
|
| 75 |
+
"grad_norm": 270.0838623046875,
|
| 76 |
+
"learning_rate": 1.853448275862069e-05,
|
| 77 |
+
"loss": 16.37059326171875,
|
| 78 |
+
"step": 400
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"epoch": 1.2937365010799136,
|
| 82 |
+
"grad_norm": 87.3062973022461,
|
| 83 |
+
"learning_rate": 1.709770114942529e-05,
|
| 84 |
+
"loss": 15.338236083984375,
|
| 85 |
+
"step": 450
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"epoch": 1.43772498200144,
|
| 89 |
+
"grad_norm": 138.10104370117188,
|
| 90 |
+
"learning_rate": 1.5660919540229885e-05,
|
| 91 |
+
"loss": 16.017222900390625,
|
| 92 |
+
"step": 500
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"epoch": 1.5817134629229663,
|
| 96 |
+
"grad_norm": 221.23165893554688,
|
| 97 |
+
"learning_rate": 1.4224137931034483e-05,
|
| 98 |
+
"loss": 15.628026123046874,
|
| 99 |
+
"step": 550
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"epoch": 1.7257019438444925,
|
| 103 |
+
"grad_norm": 87.9384994506836,
|
| 104 |
+
"learning_rate": 1.2787356321839081e-05,
|
| 105 |
+
"loss": 15.281673583984375,
|
| 106 |
+
"step": 600
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"epoch": 1.8696904247660187,
|
| 110 |
+
"grad_norm": 80.72342681884766,
|
| 111 |
+
"learning_rate": 1.1350574712643677e-05,
|
| 112 |
+
"loss": 15.443740234375,
|
| 113 |
+
"step": 650
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"epoch": 2.0,
|
| 117 |
+
"eval_loss": 2.2174012660980225,
|
| 118 |
+
"eval_rouge1": 45.7446,
|
| 119 |
+
"eval_rouge2": 22.2135,
|
| 120 |
+
"eval_rougeL": 37.6433,
|
| 121 |
+
"eval_rougeLsum": 37.6641,
|
| 122 |
+
"eval_runtime": 160.8627,
|
| 123 |
+
"eval_samples_per_second": 2.157,
|
| 124 |
+
"eval_steps_per_second": 2.157,
|
| 125 |
+
"step": 696
|
| 126 |
+
}
|
| 127 |
+
],
|
| 128 |
+
"logging_steps": 50,
|
| 129 |
+
"max_steps": 1044,
|
| 130 |
+
"num_input_tokens_seen": 0,
|
| 131 |
+
"num_train_epochs": 3,
|
| 132 |
+
"save_steps": 500,
|
| 133 |
+
"stateful_callbacks": {
|
| 134 |
+
"TrainerControl": {
|
| 135 |
+
"args": {
|
| 136 |
+
"should_epoch_stop": false,
|
| 137 |
+
"should_evaluate": false,
|
| 138 |
+
"should_log": false,
|
| 139 |
+
"should_save": true,
|
| 140 |
+
"should_training_stop": false
|
| 141 |
+
},
|
| 142 |
+
"attributes": {}
|
| 143 |
+
}
|
| 144 |
+
},
|
| 145 |
+
"total_flos": 2429561286033408.0,
|
| 146 |
+
"train_batch_size": 1,
|
| 147 |
+
"trial_name": null,
|
| 148 |
+
"trial_params": null
|
| 149 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:726c6a2037175c9e9605792e6eb6ea767981883108703d020d06b62a0a0a5135
|
| 3 |
+
size 5393
|