codebyzeb commited on
Commit
7656257
1 Parent(s): 4796bc6

Upload tokenizer

Browse files
Files changed (3) hide show
  1. tokenizer.json +105 -61
  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,65 +44,116 @@
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
- "": 6,
66
- "ɾ": 7,
67
- "r": 8,
68
- "ɪ": 9,
69
- "ɛ": 10,
70
- "d": 11,
71
- "s": 12,
72
- "j": 13,
73
- "a": 14,
74
- "b": 15,
75
- "": 16,
76
- "k": 17,
77
- "ʋ": 18,
78
- "ɛː": 19,
79
- "θ": 20,
80
- "i": 21,
81
- "l": 22,
82
- "n": 23,
83
- "": 24,
84
- "ð": 25,
85
- "ɡ": 26,
86
- "ɔ": 27,
87
- "h": 28,
88
- "": 29,
89
- "y": 30,
90
- "m": 31,
91
- "f": 32,
92
- "ɔː": 33,
93
- "x": 34,
94
- "ɟ": 35,
95
- "t": 36,
96
- "": 37,
97
- "": 38,
98
- "p": 39,
99
- "ŋ": 40,
100
- "ɣ": 41,
101
- "": 42,
102
- "u": 43,
103
- "ɪː": 44,
104
- "œ": 45,
105
- "": 46,
106
- "ç": 47,
107
- "ə": 48,
108
- "øy": 49,
109
- "c": 50,
110
- "ɲ": 51,
111
- "œː": 52,
112
- "ɔɪ": 53
113
  },
114
  "unk_token": "UNK"
115
  }
 
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
+ "": 4,
110
+ "ɾ": 5,
111
+ "r": 6,
112
+ "ɪ": 7,
113
+ "ɛ": 8,
114
+ "d": 9,
115
+ "s": 10,
116
+ "j": 11,
117
+ "a": 12,
118
+ "b": 13,
119
+ "": 14,
120
+ "k": 15,
121
+ "ʋ": 16,
122
+ "ɛː": 17,
123
+ "θ": 18,
124
+ "i": 19,
125
+ "l": 20,
126
+ "n": 21,
127
+ "": 22,
128
+ "ð": 23,
129
+ "ɡ": 24,
130
+ "ɔ": 25,
131
+ "h": 26,
132
+ "": 27,
133
+ "y": 28,
134
+ "m": 29,
135
+ "f": 30,
136
+ "ɔː": 31,
137
+ "x": 32,
138
+ "ɟ": 33,
139
+ "t": 34,
140
+ "": 35,
141
+ "": 36,
142
+ "p": 37,
143
+ "ŋ": 38,
144
+ "ɣ": 39,
145
+ "": 40,
146
+ "u": 41,
147
+ "ɪː": 42,
148
+ "œ": 43,
149
+ "": 44,
150
+ "ç": 45,
151
+ "ə": 46,
152
+ "øy": 47,
153
+ "c": 48,
154
+ "ɲ": 49,
155
+ "œː": 50,
156
+ "ɔɪ": 51
 
 
157
  },
158
  "unk_token": "UNK"
159
  }
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,"":6,"ɾ":7,"r":8,"ɪ":9,"ɛ":10,"d":11,"s":12,"j":13,"a":14,"b":15,"":16,"k":17,"ʋ":18,"ɛː":19,"θ":20,"i":21,"l":22,"n":23,"":24,"ð":25,"ɡ":26,"ɔ":27,"h":28,"":29,"y":30,"m":31,"f":32,"ɔː":33,"x":34,"ɟ":35,"t":36,"":37,"":38,"p":39,"ŋ":40,"ɣ":41,"":42,"u":43,"ɪː":44,"œ":45,"":46,"ç":47,"ə":48,"øy":49,"c":50,"ɲ":51,"œː":52,"ɔɪ":53}
 
1
+ {"UNK":0,"PAD":1,"WORD_BOUNDARY":2,"UTT_BOUNDARY":3,"":4,"ɾ":5,"r":6,"ɪ":7,"ɛ":8,"d":9,"s":10,"j":11,"a":12,"b":13,"":14,"k":15,"ʋ":16,"ɛː":17,"θ":18,"i":19,"l":20,"n":21,"":22,"ð":23,"ɡ":24,"ɔ":25,"h":26,"":27,"y":28,"m":29,"f":30,"ɔː":31,"x":32,"ɟ":33,"t":34,"":35,"":36,"p":37,"ŋ":38,"ɣ":39,"":40,"u":41,"ɪː":42,"œ":43,"":44,"ç":45,"ə":46,"øy":47,"c":48,"ɲ":49,"œː":50,"ɔɪ":51}