Pclanglais commited on
Commit
415ab59
·
verified ·
1 Parent(s): 090cca8

Upload tokenizer.json

Browse files
Files changed (1) hide show
  1. tb-json/tokenizer.json +111 -131
tb-json/tokenizer.json CHANGED
@@ -1,145 +1,125 @@
1
  {
2
- "version": "1.0",
3
- "truncation": null,
4
- "padding": null,
5
- "added_tokens": [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  {
7
- "id": 0,
8
- "content": "[UNK]",
9
- "single_word": false,
10
- "lstrip": false,
11
- "rstrip": false,
12
- "normalized": false,
13
- "special": true
14
  },
15
  {
16
- "id": 1,
17
- "content": "[CLS]",
18
- "single_word": false,
19
- "lstrip": false,
20
- "rstrip": false,
21
- "normalized": false,
22
- "special": true
23
- },
 
 
24
  {
25
- "id": 2,
26
- "content": "[SEP]",
27
- "single_word": false,
28
- "lstrip": false,
29
- "rstrip": false,
30
- "normalized": false,
31
- "special": true
32
  },
33
  {
34
- "id": 3,
35
- "content": "[PAD]",
36
- "single_word": false,
37
- "lstrip": false,
38
- "rstrip": false,
39
- "normalized": false,
40
- "special": true
41
  },
42
  {
43
- "id": 4,
44
- "content": "[MASK]",
45
- "single_word": false,
46
- "lstrip": false,
47
- "rstrip": false,
48
- "normalized": false,
49
- "special": true
50
  }
51
  ],
52
- "normalizer": null,
53
- "pre_tokenizer": {
54
- "type": "Sequence",
55
- "pretokenizers": [
56
- {
57
- "type": "Whitespace"
58
- },
59
- {
60
- "type": "ByteLevel",
61
- "add_prefix_space": false,
62
- "trim_offsets": true,
63
- "use_regex": true
64
- }
65
- ]
66
- },
67
- "post_processor": {
68
- "type": "Sequence",
69
- "processors": [
70
- {
71
- "type": "ByteLevel",
72
- "add_prefix_space": false,
73
- "trim_offsets": true,
74
- "use_regex": true
75
- },
76
- {
77
- "type": "TemplateProcessing",
78
- "single": [
79
- {
80
- "SpecialToken": {
81
- "id": "<|begin_of_text|>",
82
- "type_id": 0
83
- }
84
- },
85
- {
86
- "Sequence": {
87
- "id": "A",
88
- "type_id": 0
89
- }
90
- }
91
- ],
92
- "pair": [
93
- {
94
- "SpecialToken": {
95
- "id": "<|begin_of_text|>",
96
- "type_id": 0
97
- }
98
- },
99
- {
100
- "Sequence": {
101
- "id": "A",
102
- "type_id": 0
103
- }
104
- },
105
- {
106
- "SpecialToken": {
107
- "id": "<|begin_of_text|>",
108
- "type_id": 1
109
- }
110
- },
111
- {
112
- "Sequence": {
113
- "id": "B",
114
- "type_id": 1
115
- }
116
- }
117
- ],
118
- "special_tokens": {
119
- "<|begin_of_text|>": {
120
- "id": "<|begin_of_text|>",
121
- "ids": [2],
122
- "tokens": ["<|begin_of_text|>"]
123
- }
124
- }
125
- }
126
- ]
127
- },
128
- "decoder": {
129
- "type": "ByteLevel",
130
- "add_prefix_space": false,
131
- "trim_offsets": true,
132
- "use_regex": true
133
- },
134
- "model": {
135
- "type": "BPE",
136
- "dropout": null,
137
- "unk_token": null,
138
- "continuing_subword_prefix": null,
139
- "end_of_word_suffix": null,
140
- "fuse_unk": false,
141
- "byte_fallback": false,
142
- "ignore_merges": true,
143
  "vocab": {
144
  "[UNK]": 0,
145
  "[CLS]": 1,
 
1
  {
2
+ "version": "1.0",
3
+ "truncation": null,
4
+ "padding": null,
5
+ "added_tokens": [
6
+ {
7
+ "id": 0,
8
+ "content": "[UNK]",
9
+ "single_word": false,
10
+ "lstrip": false,
11
+ "rstrip": false,
12
+ "normalized": false,
13
+ "special": true
14
+ },
15
+ {
16
+ "id": 1,
17
+ "content": "[CLS]",
18
+ "single_word": false,
19
+ "lstrip": false,
20
+ "rstrip": false,
21
+ "normalized": false,
22
+ "special": true
23
+ },
24
+ {
25
+ "id": 2,
26
+ "content": "[SEP]",
27
+ "single_word": false,
28
+ "lstrip": false,
29
+ "rstrip": false,
30
+ "normalized": false,
31
+ "special": true
32
+ },
33
+ {
34
+ "id": 3,
35
+ "content": "[PAD]",
36
+ "single_word": false,
37
+ "lstrip": false,
38
+ "rstrip": false,
39
+ "normalized": false,
40
+ "special": true
41
+ },
42
+ {
43
+ "id": 4,
44
+ "content": "[MASK]",
45
+ "single_word": false,
46
+ "lstrip": false,
47
+ "rstrip": false,
48
+ "normalized": false,
49
+ "special": true
50
+ }
51
+ ],
52
+ "normalizer": null,
53
+ "pre_tokenizer": {
54
+ "type": "Sequence",
55
+ "pretokenizers": [
56
  {
57
+ "type": "Split",
58
+ "pattern": {
59
+ "String": " "
60
+ },
61
+ "behavior": "Isolated",
62
+ "invert": false
 
63
  },
64
  {
65
+ "type": "ByteLevel",
66
+ "add_prefix_space": true,
67
+ "trim_offsets": false,
68
+ "use_regex": true
69
+ }
70
+ ]
71
+ },
72
+ "post_processor": {
73
+ "type": "TemplateProcessing",
74
+ "single": [
75
  {
76
+ "SpecialToken": {
77
+ "id": "[CLS]",
78
+ "type_id": 0
79
+ }
 
 
 
80
  },
81
  {
82
+ "Sequence": {
83
+ "id": "A",
84
+ "type_id": 0
85
+ }
 
 
 
86
  },
87
  {
88
+ "SpecialToken": {
89
+ "id": "[SEP]",
90
+ "type_id": 0
91
+ }
 
 
 
92
  }
93
  ],
94
+ "pair": null,
95
+ "special_tokens": {
96
+ "[CLS]": {
97
+ "id": "[CLS]",
98
+ "ids": [1],
99
+ "tokens": ["[CLS]"]
100
+ },
101
+ "[SEP]": {
102
+ "id": "[SEP]",
103
+ "ids": [2],
104
+ "tokens": ["[SEP]"]
105
+ }
106
+ }
107
+ },
108
+ "decoder": {
109
+ "type": "ByteLevel",
110
+ "add_prefix_space": true,
111
+ "trim_offsets": false,
112
+ "use_regex": true
113
+ },
114
+ "model": {
115
+ "type": "BPE",
116
+ "dropout": null,
117
+ "unk_token": "[UNK]",
118
+ "continuing_subword_prefix": null,
119
+ "end_of_word_suffix": null,
120
+ "fuse_unk": false,
121
+ "byte_fallback": false,
122
+ "ignore_merges": false,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
  "vocab": {
124
  "[UNK]": 0,
125
  "[CLS]": 1,