saione commited on
Commit
b2ccdab
·
verified ·
1 Parent(s): 62852e7

Upload facebook_bart-base_lora best checkpoint

Browse files
config.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 768,
14
+ "decoder_attention_heads": 12,
15
+ "decoder_ffn_dim": 3072,
16
+ "decoder_layerdrop": 0.0,
17
+ "decoder_layers": 6,
18
+ "decoder_start_token_id": 2,
19
+ "dropout": 0.1,
20
+ "dtype": "bfloat16",
21
+ "encoder_attention_heads": 12,
22
+ "encoder_ffn_dim": 3072,
23
+ "encoder_layerdrop": 0.0,
24
+ "encoder_layers": 6,
25
+ "eos_token_id": 2,
26
+ "gradient_checkpointing": false,
27
+ "id2label": {
28
+ "0": "LABEL_0",
29
+ "1": "LABEL_1",
30
+ "2": "LABEL_2"
31
+ },
32
+ "init_std": 0.02,
33
+ "is_decoder": false,
34
+ "is_encoder_decoder": true,
35
+ "label2id": {
36
+ "LABEL_0": 0,
37
+ "LABEL_1": 1,
38
+ "LABEL_2": 2
39
+ },
40
+ "max_position_embeddings": 1024,
41
+ "model_type": "bart",
42
+ "normalize_before": false,
43
+ "normalize_embedding": true,
44
+ "num_hidden_layers": 6,
45
+ "pad_token_id": 1,
46
+ "scale_embedding": false,
47
+ "task_specific_params": {
48
+ "summarization": {
49
+ "length_penalty": 1.0,
50
+ "max_length": 128,
51
+ "min_length": 12,
52
+ "num_beams": 4
53
+ },
54
+ "summarization_cnn": {
55
+ "length_penalty": 2.0,
56
+ "max_length": 142,
57
+ "min_length": 56,
58
+ "num_beams": 4
59
+ },
60
+ "summarization_xsum": {
61
+ "length_penalty": 1.0,
62
+ "max_length": 62,
63
+ "min_length": 11,
64
+ "num_beams": 6
65
+ }
66
+ },
67
+ "tie_word_embeddings": true,
68
+ "transformers_version": "5.2.0",
69
+ "use_cache": false,
70
+ "vocab_size": 50265
71
+ }
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.2.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:a8c07c400de8fba73567d6540392a746f9d4febf854a1192c749e80e25492240
3
+ size 278971362
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "mask_token": "<mask>",
10
+ "model_max_length": 1000000000000000019884624838656,
11
+ "pad_token": "<pad>",
12
+ "sep_token": "</s>",
13
+ "tokenizer_class": "RobertaTokenizer",
14
+ "trim_offsets": true,
15
+ "unk_token": "<unk>"
16
+ }