kamilain1 commited on
Commit
740fe9f
1 Parent(s): 0f33393

Initial commit

Browse files
config.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/bart-base",
3
+ "activation_dropout": 0.1,
4
+ "activation_function": "gelu",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
+ "architectures": [
8
+ "BartForConditionalGeneration"
9
+ ],
10
+ "attention_dropout": 0.1,
11
+ "bos_token_id": 0,
12
+ "classif_dropout": 0.1,
13
+ "classifier_dropout": 0.0,
14
+ "d_model": 768,
15
+ "decoder_attention_heads": 12,
16
+ "decoder_ffn_dim": 3072,
17
+ "decoder_layerdrop": 0.0,
18
+ "decoder_layers": 6,
19
+ "decoder_start_token_id": 2,
20
+ "dropout": 0.1,
21
+ "early_stopping": true,
22
+ "encoder_attention_heads": 12,
23
+ "encoder_ffn_dim": 3072,
24
+ "encoder_layerdrop": 0.0,
25
+ "encoder_layers": 6,
26
+ "eos_token_id": 2,
27
+ "forced_bos_token_id": 0,
28
+ "forced_eos_token_id": 2,
29
+ "gradient_checkpointing": false,
30
+ "id2label": {
31
+ "0": "LABEL_0",
32
+ "1": "LABEL_1",
33
+ "2": "LABEL_2"
34
+ },
35
+ "init_std": 0.02,
36
+ "is_encoder_decoder": true,
37
+ "label2id": {
38
+ "LABEL_0": 0,
39
+ "LABEL_1": 1,
40
+ "LABEL_2": 2
41
+ },
42
+ "max_position_embeddings": 1024,
43
+ "model_type": "bart",
44
+ "no_repeat_ngram_size": 3,
45
+ "normalize_before": false,
46
+ "normalize_embedding": true,
47
+ "num_beams": 4,
48
+ "num_hidden_layers": 6,
49
+ "pad_token_id": 1,
50
+ "scale_embedding": false,
51
+ "task_specific_params": {
52
+ "summarization": {
53
+ "length_penalty": 1.0,
54
+ "max_length": 128,
55
+ "min_length": 12,
56
+ "num_beams": 4
57
+ },
58
+ "summarization_cnn": {
59
+ "length_penalty": 2.0,
60
+ "max_length": 142,
61
+ "min_length": 56,
62
+ "num_beams": 4
63
+ },
64
+ "summarization_xsum": {
65
+ "length_penalty": 1.0,
66
+ "max_length": 62,
67
+ "min_length": 11,
68
+ "num_beams": 6
69
+ }
70
+ },
71
+ "torch_dtype": "float32",
72
+ "transformers_version": "4.14.0",
73
+ "use_cache": true,
74
+ "vocab_size": 50265
75
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0faad8b521e65cd2426635b29b28ea4f6e386c6865643129032376d3df88aba
3
+ size 1115513717
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3815f2c4f12defa0a5978de011704b5789be8f3b44b11e838bc0a11023a2e7f4
3
+ size 557979193
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9a7dffaffa7f4cbaa97bc87fde3fb69c1096a49131dcb623834ea57deb14436
3
+ size 14439
scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0985573bd3a5d9a4b43a4a03e5808372461006ce985904977e4d05bc623921d6
3
+ size 559
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5aaad11eb37b53c6e1ff0a06338561ab27aa64cc708ed3e3aacfdcbe6f4fff79
3
+ size 623
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "<unk>", "bos_token": "<s>", "eos_token": "</s>", "add_prefix_space": false, "errors": "replace", "sep_token": "</s>", "cls_token": "<s>", "pad_token": "<pad>", "mask_token": "<mask>", "model_max_length": 1024, "special_tokens_map_file": null, "name_or_path": "facebook/bart-base", "tokenizer_class": "BartTokenizer"}
trainer_state.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 3.2501280307769775,
3
+ "best_model_checkpoint": "./results-bart-base/checkpoint-38400",
4
+ "epoch": 4.0,
5
+ "global_step": 38400,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 1.0,
12
+ "learning_rate": 1.5003125e-05,
13
+ "loss": 3.4014,
14
+ "step": 9600
15
+ },
16
+ {
17
+ "epoch": 1.0,
18
+ "eval_loss": 3.2687737941741943,
19
+ "eval_runtime": 36.2388,
20
+ "eval_samples_per_second": 40.951,
21
+ "eval_steps_per_second": 40.951,
22
+ "step": 9600
23
+ },
24
+ {
25
+ "epoch": 2.0,
26
+ "learning_rate": 1.0005208333333334e-05,
27
+ "loss": 3.1216,
28
+ "step": 19200
29
+ },
30
+ {
31
+ "epoch": 2.0,
32
+ "eval_loss": 3.2523913383483887,
33
+ "eval_runtime": 36.0255,
34
+ "eval_samples_per_second": 41.193,
35
+ "eval_steps_per_second": 41.193,
36
+ "step": 19200
37
+ },
38
+ {
39
+ "epoch": 3.0,
40
+ "learning_rate": 5.006770833333334e-06,
41
+ "loss": 2.984,
42
+ "step": 28800
43
+ },
44
+ {
45
+ "epoch": 3.0,
46
+ "eval_loss": 3.2509608268737793,
47
+ "eval_runtime": 36.1722,
48
+ "eval_samples_per_second": 41.026,
49
+ "eval_steps_per_second": 41.026,
50
+ "step": 28800
51
+ },
52
+ {
53
+ "epoch": 4.0,
54
+ "learning_rate": 8.333333333333335e-09,
55
+ "loss": 2.9004,
56
+ "step": 38400
57
+ },
58
+ {
59
+ "epoch": 4.0,
60
+ "eval_loss": 3.2501280307769775,
61
+ "eval_runtime": 36.2569,
62
+ "eval_samples_per_second": 40.93,
63
+ "eval_steps_per_second": 40.93,
64
+ "step": 38400
65
+ }
66
+ ],
67
+ "max_steps": 38400,
68
+ "num_train_epochs": 4,
69
+ "total_flos": 3.277740271583232e+16,
70
+ "trial_name": null,
71
+ "trial_params": null
72
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82194da2cc62dbd1ab45e7b26e865bf1ad2fdc02082f65abe3eba76d6695f7f1
3
+ size 3055
vocab.json ADDED
The diff for this file is too large to render. See raw diff