File size: 1,701 Bytes
7806b0c |
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 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
{
"version": "1.0",
"truncation": {
"max_length": 2048,
"direction": "Right",
"stride": 0
},
"padding": {
"strategy": "fixed_size",
"direction": "Right",
"pad_to_multiple_of": 8,
"pad_id": 2,
"pad_type_id": 0,
"pad_token": "</s>"
},
"added_tokens": [
{
"id": 0,
"special": true,
"content": "<unk>",
"single_word": false
},
{
"id": 1,
"special": true,
"content": "<s>",
"single_word": false
},
{
"id": 2,
"special": true,
"content": "</s>",
"single_word": false
}
],
"normalizer": {
"type": "Sequence",
"normalizers": [
{
"type": "Precompiled",
"precompiled_charsmap": "",
"lstrip": false,
"rstrip": false
}
]
},
"pre_tokenizer": {
"type": "ByteLevel",
"add_prefix_space": true,
"trim_offsets": true
},
"post_processor": {
"type": "TemplateProcessing",
"single": [
"$A",
"</s>"
],
"pair": [
"$A",
"</s>",
"$B",
"</s>"
],
"special_tokens": {
"</s>": {
"id": 2,
"ids": [
2
],
"tokens": [
"</s>"
]
}
}
},
"decoder": {
"type": "ByteLevel",
"add_prefix_space": true,
"trim_offsets": true
},
"model": {
"type": "BPE",
"dropout": null,
"unk_token": "<unk>",
"continuing_subword_prefix": "",
"end_of_word_suffix": "",
"fuse_unk": false,
"vocab": {
"<unk>": 0,
"<s>": 1,
"</s>": 2
}
}
} |