codebyzeb commited on
Commit
933a330
1 Parent(s): 8e953d3

Upload tokenizer

Browse files
Files changed (4) hide show
  1. special_tokens_map.json +6 -0
  2. tokenizer.json +120 -0
  3. tokenizer_config.json +8 -0
  4. vocab.json +1 -0
special_tokens_map.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "BOS",
3
+ "eos_token": "EOS",
4
+ "pad_token": "PAD",
5
+ "unk_token": "UNK"
6
+ }
tokenizer.json ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "PAD",
18
+ "single_word": false,
19
+ "lstrip": false,
20
+ "rstrip": false,
21
+ "normalized": false,
22
+ "special": true
23
+ },
24
+ {
25
+ "id": 2,
26
+ "content": "BOS",
27
+ "single_word": false,
28
+ "lstrip": false,
29
+ "rstrip": false,
30
+ "normalized": false,
31
+ "special": true
32
+ },
33
+ {
34
+ "id": 3,
35
+ "content": "EOS",
36
+ "single_word": false,
37
+ "lstrip": false,
38
+ "rstrip": false,
39
+ "normalized": false,
40
+ "special": true
41
+ }
42
+ ],
43
+ "normalizer": {
44
+ "type": "Sequence",
45
+ "normalizers": [
46
+ {
47
+ "type": "Replace",
48
+ "pattern": {
49
+ "String": "\n"
50
+ },
51
+ "content": " UTT_BOUNDARY"
52
+ },
53
+ {
54
+ "type": "Strip",
55
+ "strip_left": true,
56
+ "strip_right": true
57
+ }
58
+ ]
59
+ },
60
+ "pre_tokenizer": {
61
+ "type": "Whitespace"
62
+ },
63
+ "post_processor": null,
64
+ "decoder": null,
65
+ "model": {
66
+ "type": "WordLevel",
67
+ "vocab": {
68
+ "UNK": 0,
69
+ "PAD": 1,
70
+ "BOS": 2,
71
+ "EOS": 3,
72
+ "WORD_BOUNDARY": 4,
73
+ "UTT_BOUNDARY": 5,
74
+ "s": 6,
75
+ "æ": 7,
76
+ "n": 8,
77
+ "o": 9,
78
+ "j": 10,
79
+ "ʊ": 11,
80
+ "ɔ": 12,
81
+ "a": 13,
82
+ "r": 14,
83
+ "m": 15,
84
+ "ɯ": 16,
85
+ "k": 17,
86
+ "ɪ": 18,
87
+ "l": 19,
88
+ "i": 20,
89
+ "ɛ": 21,
90
+ "v": 22,
91
+ "d": 23,
92
+ "d̠ʒ": 24,
93
+ "y": 25,
94
+ "t": 26,
95
+ "b": 27,
96
+ "u": 28,
97
+ "z": 29,
98
+ "ʃ": 30,
99
+ "ɟ": 31,
100
+ "e": 32,
101
+ "p": 33,
102
+ "ɡ": 34,
103
+ "ɫ": 35,
104
+ "h": 36,
105
+ "t̠ʃ": 37,
106
+ "ɾ": 38,
107
+ "f": 39,
108
+ "ø": 40,
109
+ "œ": 41,
110
+ "aː": 42,
111
+ "c": 43,
112
+ "ʊː": 44,
113
+ "tː": 45,
114
+ "oː": 46,
115
+ "œː": 47,
116
+ "ʒ": 48
117
+ },
118
+ "unk_token": "UNK"
119
+ }
120
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": "<|endoftext|>",
4
+ "eos_token": "<|endoftext|>",
5
+ "model_max_length": 1000000000000000019884624838656,
6
+ "tokenizer_class": "GPT2Tokenizer",
7
+ "unk_token": "<|endoftext|>"
8
+ }
vocab.json ADDED
@@ -0,0 +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}