File size: 1,122 Bytes
a0d6ae6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
  "version": "1.0",
  "truncation": {
    "max_length": 65536,
    "strategy": "longest_first",
    "direction": "right"
  },
  "padding": {
    "strategy": "right",
    "pad_id": 0,
    "pad_token": "<pad>"
  },
  "added_tokens": [
    {"id": 0, "content": "<pad>", "single_word": false, "special": true},
    {"id": 1, "content": "<bos>", "single_word": false, "special": true},
    {"id": 2, "content": "<eos>", "single_word": false, "special": true}
  ],
  "normalizer": {
    "type": "NFKC"
  },
  "pre_tokenizer": {
    "type": "Whitespace"
  },
  "post_processor": {
    "type": "TemplateProcessing",
    "single": "<bos> $A <eos>",
    "pair": "<bos> $A <eos> $B <eos>",
    "special_tokens": {
      "<bos>": 1,
      "<eos>": 2
    }
  },
  "decoder": {
    "type": "WordPiece",
    "prefix": "##"
  },
  "model": {
    "type": "BPE",
    "vocab": {
      "<pad>": 0,
      "<bos>": 1,
      "<eos>": 2,
      "the": 3,
      "of": 4,
      "to": 5,
      "and": 6,
      "I": 7,
      "you": 8
    },
    "merges": [
      "t h",
      "th e",
      "a n",
      "a nd",
      "i n",
      "i ng"
    ]
  }
}