codebyzeb commited on
Commit
7de6396
1 Parent(s): d8a1b57

Upload tokenizer

Browse files
Files changed (3) hide show
  1. tokenizer.json +98 -54
  2. tokenizer_config.json +1 -1
  3. vocab.json +1 -1
tokenizer.json CHANGED
@@ -22,7 +22,7 @@
22
  "special": true
23
  },
24
  {
25
- "id": 5,
26
  "content": "UTT_BOUNDARY",
27
  "single_word": false,
28
  "lstrip": false,
@@ -34,13 +34,6 @@
34
  "normalizer": {
35
  "type": "Sequence",
36
  "normalizers": [
37
- {
38
- "type": "Replace",
39
- "pattern": {
40
- "String": "\n"
41
- },
42
- "content": " UTT_BOUNDARY"
43
- },
44
  {
45
  "type": "Strip",
46
  "strip_left": true,
@@ -51,58 +44,109 @@
51
  "pre_tokenizer": {
52
  "type": "Whitespace"
53
  },
54
- "post_processor": null,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
  "decoder": null,
56
  "model": {
57
  "type": "WordLevel",
58
  "vocab": {
59
  "UNK": 0,
60
  "PAD": 1,
61
- "BOS": 2,
62
- "EOS": 3,
63
- "WORD_BOUNDARY": 4,
64
- "UTT_BOUNDARY": 5,
65
- "d": 6,
66
- "e": 7,
67
- "ɛ": 8,
68
- "n": 9,
69
- "m": 10,
70
- "s": 11,
71
- "t": 12,
72
- "k": 13,
73
- "j": 14,
74
- "f": 15,
75
- "ɑ": 16,
76
- "ɒ": 17,
77
- "ə": 18,
78
- "ʋ": 19,
79
- "a": 20,
80
- "l": 21,
81
- "h": 22,
82
- "b": 23,
83
- "ʁ": 24,
84
- "p": 25,
85
- "œ": 26,
86
- "i": 27,
87
- "ɡ": 28,
88
- "ʌ": 29,
89
- "u": 30,
90
- "ʃ": 31,
91
- "ɔ": 32,
92
- "w": 33,
93
- "ð": 34,
94
- "o": 35,
95
- "y": 36,
96
- "ŋ": 37,
97
- "": 38,
98
- "œː": 39,
99
- "": 40,
100
- "d̠ʒ": 41,
101
- "": 42,
102
- "ʌː": 43,
103
- "ɜ": 44,
104
- "oː": 45,
105
- "yː": 46
106
  },
107
  "unk_token": "UNK"
108
  }
 
22
  "special": true
23
  },
24
  {
25
+ "id": 3,
26
  "content": "UTT_BOUNDARY",
27
  "single_word": false,
28
  "lstrip": false,
 
34
  "normalizer": {
35
  "type": "Sequence",
36
  "normalizers": [
 
 
 
 
 
 
 
37
  {
38
  "type": "Strip",
39
  "strip_left": true,
 
44
  "pre_tokenizer": {
45
  "type": "Whitespace"
46
  },
47
+ "post_processor": {
48
+ "type": "TemplateProcessing",
49
+ "single": [
50
+ {
51
+ "SpecialToken": {
52
+ "id": "UTT_BOUNDARY",
53
+ "type_id": 0
54
+ }
55
+ },
56
+ {
57
+ "Sequence": {
58
+ "id": "A",
59
+ "type_id": 0
60
+ }
61
+ }
62
+ ],
63
+ "pair": [
64
+ {
65
+ "SpecialToken": {
66
+ "id": "UTT_BOUNDARY",
67
+ "type_id": 0
68
+ }
69
+ },
70
+ {
71
+ "Sequence": {
72
+ "id": "A",
73
+ "type_id": 0
74
+ }
75
+ },
76
+ {
77
+ "SpecialToken": {
78
+ "id": "UTT_BOUNDARY",
79
+ "type_id": 0
80
+ }
81
+ },
82
+ {
83
+ "Sequence": {
84
+ "id": "B",
85
+ "type_id": 1
86
+ }
87
+ }
88
+ ],
89
+ "special_tokens": {
90
+ "UTT_BOUNDARY": {
91
+ "id": "UTT_BOUNDARY",
92
+ "ids": [
93
+ 3
94
+ ],
95
+ "tokens": [
96
+ "UTT_BOUNDARY"
97
+ ]
98
+ }
99
+ }
100
+ },
101
  "decoder": null,
102
  "model": {
103
  "type": "WordLevel",
104
  "vocab": {
105
  "UNK": 0,
106
  "PAD": 1,
107
+ "WORD_BOUNDARY": 2,
108
+ "UTT_BOUNDARY": 3,
109
+ "d": 4,
110
+ "e": 5,
111
+ "ɛ": 6,
112
+ "n": 7,
113
+ "m": 8,
114
+ "s": 9,
115
+ "t": 10,
116
+ "k": 11,
117
+ "j": 12,
118
+ "f": 13,
119
+ "ɑ": 14,
120
+ "ɒ": 15,
121
+ "ə": 16,
122
+ "ʋ": 17,
123
+ "a": 18,
124
+ "l": 19,
125
+ "h": 20,
126
+ "b": 21,
127
+ "ʁ": 22,
128
+ "p": 23,
129
+ "œ": 24,
130
+ "i": 25,
131
+ "ɡ": 26,
132
+ "ʌ": 27,
133
+ "u": 28,
134
+ "ʃ": 29,
135
+ "ɔ": 30,
136
+ "w": 31,
137
+ "ð": 32,
138
+ "o": 33,
139
+ "y": 34,
140
+ "ŋ": 35,
141
+ "": 36,
142
+ "œː": 37,
143
+ "": 38,
144
+ "d̠ʒ": 39,
145
+ "": 40,
146
+ "ʌː": 41,
147
+ "ɜ": 42,
148
+ "": 43,
149
+ "": 44
 
 
150
  },
151
  "unk_token": "UNK"
152
  }
tokenizer_config.json CHANGED
@@ -17,7 +17,7 @@
17
  "single_word": false,
18
  "special": true
19
  },
20
- "5": {
21
  "content": "UTT_BOUNDARY",
22
  "lstrip": false,
23
  "normalized": false,
 
17
  "single_word": false,
18
  "special": true
19
  },
20
+ "3": {
21
  "content": "UTT_BOUNDARY",
22
  "lstrip": false,
23
  "normalized": false,
vocab.json CHANGED
@@ -1 +1 @@
1
- {"UNK":0,"PAD":1,"BOS":2,"EOS":3,"WORD_BOUNDARY":4,"UTT_BOUNDARY":5,"d":6,"e":7,"ɛ":8,"n":9,"m":10,"s":11,"t":12,"k":13,"j":14,"f":15,"ɑ":16,"ɒ":17,"ə":18,"ʋ":19,"a":20,"l":21,"h":22,"b":23,"ʁ":24,"p":25,"œ":26,"i":27,"ɡ":28,"ʌ":29,"u":30,"ʃ":31,"ɔ":32,"w":33,"ð":34,"o":35,"y":36,"ŋ":37,"":38,"œː":39,"aː":40,"d̠ʒ":41,"uː":42,"ʌː":43,"ɜ":44,"oː":45,"yː":46}
 
1
+ {"UNK":0,"PAD":1,"WORD_BOUNDARY":2,"UTT_BOUNDARY":3,"d":4,"e":5,"ɛ":6,"n":7,"m":8,"s":9,"t":10,"k":11,"j":12,"f":13,"ɑ":14,"ɒ":15,"ə":16,"ʋ":17,"a":18,"l":19,"h":20,"b":21,"ʁ":22,"p":23,"œ":24,"i":25,"ɡ":26,"ʌ":27,"u":28,"ʃ":29,"ɔ":30,"w":31,"ð":32,"o":33,"y":34,"ŋ":35,"":36,"œː":37,"":38,"d̠ʒ":39,"uː":40,"ʌː":41,"ɜ":42,"oː":43,"yː":44}