LegrandNico commited on
Commit
d2120e6
·
verified ·
1 Parent(s): 5998742

Upload 6 files

Browse files
Files changed (6) hide show
  1. config.json +8 -8
  2. merges.txt +0 -0
  3. special_tokens_map.json +49 -5
  4. tokenizer.json +0 -0
  5. tokenizer_config.json +23 -22
  6. vocab.json +0 -0
config.json CHANGED
@@ -6,16 +6,16 @@
6
  ],
7
  "attention_bias": false,
8
  "attention_dropout": 0.0,
9
- "bos_token_id": null,
10
  "classifier_activation": "gelu",
11
  "classifier_bias": false,
12
  "classifier_dropout": 0.0,
13
  "classifier_pooling": "mean",
14
- "cls_token_id": 2,
15
  "decoder_bias": true,
16
  "deterministic_flash_attn": false,
17
  "embedding_dropout": 0.0,
18
- "eos_token_id": null,
19
  "global_attn_every_n_layers": 3,
20
  "global_rope_theta": 160000.0,
21
  "gradient_checkpointing": false,
@@ -36,16 +36,16 @@
36
  "norm_eps": 1e-05,
37
  "num_attention_heads": 12,
38
  "num_hidden_layers": 22,
39
- "pad_token_id": 0,
40
  "position_embedding_type": "absolute",
41
  "reference_compile": false,
42
  "repad_logits_with_grad": false,
43
- "sep_token_id": 3,
44
  "sparse_pred_ignore_index": -100,
45
  "sparse_prediction": false,
46
- "tokenizer_class": "ElectraTokenizerFast",
47
  "torch_dtype": "float32",
48
  "transformers_version": "4.48.1",
49
- "unk_token_id": 1,
50
- "vocab_size": 96105
51
  }
 
6
  ],
7
  "attention_bias": false,
8
  "attention_dropout": 0.0,
9
+ "bos_token_id": 0,
10
  "classifier_activation": "gelu",
11
  "classifier_bias": false,
12
  "classifier_dropout": 0.0,
13
  "classifier_pooling": "mean",
14
+ "cls_token_id": 0,
15
  "decoder_bias": true,
16
  "deterministic_flash_attn": false,
17
  "embedding_dropout": 0.0,
18
+ "eos_token_id": 2,
19
  "global_attn_every_n_layers": 3,
20
  "global_rope_theta": 160000.0,
21
  "gradient_checkpointing": false,
 
36
  "norm_eps": 1e-05,
37
  "num_attention_heads": 12,
38
  "num_hidden_layers": 22,
39
+ "pad_token_id": 1,
40
  "position_embedding_type": "absolute",
41
  "reference_compile": false,
42
  "repad_logits_with_grad": false,
43
+ "sep_token_id": 2,
44
  "sparse_pred_ignore_index": -100,
45
  "sparse_prediction": false,
46
+ "tokenizer_class": "RobertaTokenizerFast",
47
  "torch_dtype": "float32",
48
  "transformers_version": "4.48.1",
49
+ "unk_token_id": 3,
50
+ "vocab_size": 50265
51
  }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json CHANGED
@@ -1,7 +1,51 @@
1
  {
2
- "cls_token": "[CLS]",
3
- "mask_token": "[MASK]",
4
- "pad_token": "[PAD]",
5
- "sep_token": "[SEP]",
6
- "unk_token": "[UNK]"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  }
 
1
  {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
  }
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1,58 +1,59 @@
1
  {
 
2
  "added_tokens_decoder": {
3
  "0": {
4
- "content": "[PAD]",
5
  "lstrip": false,
6
- "normalized": false,
7
  "rstrip": false,
8
  "single_word": false,
9
  "special": true
10
  },
11
  "1": {
12
- "content": "[UNK]",
13
  "lstrip": false,
14
- "normalized": false,
15
  "rstrip": false,
16
  "single_word": false,
17
  "special": true
18
  },
19
  "2": {
20
- "content": "[CLS]",
21
  "lstrip": false,
22
- "normalized": false,
23
  "rstrip": false,
24
  "single_word": false,
25
  "special": true
26
  },
27
  "3": {
28
- "content": "[SEP]",
29
  "lstrip": false,
30
- "normalized": false,
31
  "rstrip": false,
32
  "single_word": false,
33
  "special": true
34
  },
35
  "4": {
36
- "content": "[MASK]",
37
- "lstrip": false,
38
  "normalized": false,
39
  "rstrip": false,
40
  "single_word": false,
41
  "special": true
42
  }
43
  },
 
44
  "clean_up_tokenization_spaces": true,
45
- "cls_token": "[CLS]",
46
- "do_basic_tokenize": true,
47
- "do_lower_case": false,
48
  "extra_special_tokens": {},
49
- "mask_token": "[MASK]",
50
- "model_max_length": 128,
51
- "never_split": null,
52
- "pad_token": "[PAD]",
53
- "sep_token": "[SEP]",
54
- "strip_accents": false,
55
- "tokenize_chinese_chars": true,
56
- "tokenizer_class": "ElectraTokenizer",
57
- "unk_token": "[UNK]"
58
  }
 
1
  {
2
+ "add_prefix_space": false,
3
  "added_tokens_decoder": {
4
  "0": {
5
+ "content": "<s>",
6
  "lstrip": false,
7
+ "normalized": true,
8
  "rstrip": false,
9
  "single_word": false,
10
  "special": true
11
  },
12
  "1": {
13
+ "content": "<pad>",
14
  "lstrip": false,
15
+ "normalized": true,
16
  "rstrip": false,
17
  "single_word": false,
18
  "special": true
19
  },
20
  "2": {
21
+ "content": "</s>",
22
  "lstrip": false,
23
+ "normalized": true,
24
  "rstrip": false,
25
  "single_word": false,
26
  "special": true
27
  },
28
  "3": {
29
+ "content": "<unk>",
30
  "lstrip": false,
31
+ "normalized": true,
32
  "rstrip": false,
33
  "single_word": false,
34
  "special": true
35
  },
36
  "4": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
  "normalized": false,
40
  "rstrip": false,
41
  "single_word": false,
42
  "special": true
43
  }
44
  },
45
+ "bos_token": "<s>",
46
  "clean_up_tokenization_spaces": true,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "errors": "replace",
50
  "extra_special_tokens": {},
51
+ "mask_token": "<mask>",
52
+ "max_len": 512,
53
+ "model_max_length": 512,
54
+ "pad_token": "<pad>",
55
+ "sep_token": "</s>",
56
+ "tokenizer_class": "RobertaTokenizer",
57
+ "trim_offsets": true,
58
+ "unk_token": "<unk>"
 
59
  }
vocab.json ADDED
The diff for this file is too large to render. See raw diff