codebyzeb commited on
Commit
2f15a6a
1 Parent(s): aea0d32

Upload tokenizer

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