Push to HF
Browse files- config.json +38 -0
- configuration_tiny_gpt.py +51 -0
- generation_config.json +6 -0
- merges.txt +204 -0
- model.safetensors +3 -0
- modeling_tiny_gpt.py +235 -0
- requirements.txt +4 -0
- special_tokens_map.json +9 -0
- tokenizer.json +1467 -0
- tokenizer_config.json +14 -0
- vocab.json +468 -0
config.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "basemini",
|
| 3 |
+
"model_name": "Basemini",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"TinyGPTForCausalLM"
|
| 6 |
+
],
|
| 7 |
+
"auto_map": {
|
| 8 |
+
"AutoConfig": "configuration_tiny_gpt.TinyGPTConfig",
|
| 9 |
+
"AutoModel": "modeling_tiny_gpt.TinyGPTModel",
|
| 10 |
+
"AutoModelForCausalLM": "modeling_tiny_gpt.TinyGPTForCausalLM"
|
| 11 |
+
},
|
| 12 |
+
"vocab_size": 466,
|
| 13 |
+
"ctx_len": 128,
|
| 14 |
+
"max_position_embeddings": 128,
|
| 15 |
+
"n_layer": 4,
|
| 16 |
+
"num_hidden_layers": 4,
|
| 17 |
+
"n_head": 4,
|
| 18 |
+
"num_attention_heads": 4,
|
| 19 |
+
"n_embd": 384,
|
| 20 |
+
"hidden_size": 384,
|
| 21 |
+
"dropout": 0.0,
|
| 22 |
+
"attention_backend": "sage",
|
| 23 |
+
"available_attention_backends": [
|
| 24 |
+
"sage",
|
| 25 |
+
"torch",
|
| 26 |
+
"flash2",
|
| 27 |
+
"flash3"
|
| 28 |
+
],
|
| 29 |
+
"trained_attention_backend": "torch",
|
| 30 |
+
"torch_fallback": false,
|
| 31 |
+
"torch_dtype": "bfloat16",
|
| 32 |
+
"transformers_version": "custom",
|
| 33 |
+
"pad_token_id": 0,
|
| 34 |
+
"bos_token_id": 5,
|
| 35 |
+
"eos_token_id": 6,
|
| 36 |
+
"sep_token_id": 2,
|
| 37 |
+
"unk_token_id": 1
|
| 38 |
+
}
|
configuration_tiny_gpt.py
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from transformers import PretrainedConfig
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
class TinyGPTConfig(PretrainedConfig):
|
| 5 |
+
model_type = "basemini"
|
| 6 |
+
|
| 7 |
+
def __init__(
|
| 8 |
+
self,
|
| 9 |
+
vocab_size=32768,
|
| 10 |
+
ctx_len=512,
|
| 11 |
+
n_layer=4,
|
| 12 |
+
n_head=4,
|
| 13 |
+
n_embd=384,
|
| 14 |
+
dropout=0.0,
|
| 15 |
+
attention_backend="torch",
|
| 16 |
+
torch_fallback=False,
|
| 17 |
+
pad_token_id=None,
|
| 18 |
+
bos_token_id=None,
|
| 19 |
+
eos_token_id=None,
|
| 20 |
+
sep_token_id=None,
|
| 21 |
+
unk_token_id=None,
|
| 22 |
+
**kwargs,
|
| 23 |
+
):
|
| 24 |
+
super().__init__(
|
| 25 |
+
pad_token_id=pad_token_id,
|
| 26 |
+
bos_token_id=bos_token_id,
|
| 27 |
+
eos_token_id=eos_token_id,
|
| 28 |
+
sep_token_id=sep_token_id,
|
| 29 |
+
unk_token_id=unk_token_id,
|
| 30 |
+
**kwargs,
|
| 31 |
+
)
|
| 32 |
+
|
| 33 |
+
if attention_backend not in ("sage", "torch", "flash2", "flash3"):
|
| 34 |
+
raise ValueError("attention_backend must be sage, torch, flash2 or flash3")
|
| 35 |
+
|
| 36 |
+
self.vocab_size = int(vocab_size)
|
| 37 |
+
self.ctx_len = int(ctx_len)
|
| 38 |
+
self.max_position_embeddings = int(ctx_len)
|
| 39 |
+
|
| 40 |
+
self.n_layer = int(n_layer)
|
| 41 |
+
self.n_head = int(n_head)
|
| 42 |
+
self.n_embd = int(n_embd)
|
| 43 |
+
|
| 44 |
+
self.num_hidden_layers = int(n_layer)
|
| 45 |
+
self.num_attention_heads = int(n_head)
|
| 46 |
+
self.hidden_size = int(n_embd)
|
| 47 |
+
|
| 48 |
+
self.dropout = float(dropout)
|
| 49 |
+
self.attention_backend = str(attention_backend)
|
| 50 |
+
self.available_attention_backends = ["sage", "torch", "flash2", "flash3"]
|
| 51 |
+
self.torch_fallback = bool(torch_fallback)
|
generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"pad_token_id": 0,
|
| 3 |
+
"bos_token_id": 5,
|
| 4 |
+
"eos_token_id": 6,
|
| 5 |
+
"sep_token_id": 2
|
| 6 |
+
}
|
merges.txt
ADDED
|
@@ -0,0 +1,204 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#version: 0.2
|
| 2 |
+
e s
|
| 3 |
+
e n
|
| 4 |
+
t h
|
| 5 |
+
th e
|
| 6 |
+
a t
|
| 7 |
+
o r
|
| 8 |
+
d e
|
| 9 |
+
at es
|
| 10 |
+
u t
|
| 11 |
+
c o
|
| 12 |
+
r a
|
| 13 |
+
d i
|
| 14 |
+
Ġ p
|
| 15 |
+
Ġ t
|
| 16 |
+
n s
|
| 17 |
+
en t
|
| 18 |
+
s t
|
| 19 |
+
Ġp r
|
| 20 |
+
Ġ a
|
| 21 |
+
i o
|
| 22 |
+
t s
|
| 23 |
+
Ġ de
|
| 24 |
+
Ġde co
|
| 25 |
+
l i
|
| 26 |
+
w or
|
| 27 |
+
wor k
|
| 28 |
+
Ġ f
|
| 29 |
+
n e
|
| 30 |
+
Ġpr o
|
| 31 |
+
Ġ g
|
| 32 |
+
d es
|
| 33 |
+
Ġ e
|
| 34 |
+
e r
|
| 35 |
+
p ut
|
| 36 |
+
a l
|
| 37 |
+
de r
|
| 38 |
+
c es
|
| 39 |
+
f or
|
| 40 |
+
ra ns
|
| 41 |
+
Ġt rans
|
| 42 |
+
for m
|
| 43 |
+
Ġtrans form
|
| 44 |
+
Ġ s
|
| 45 |
+
Ġ o
|
| 46 |
+
z es
|
| 47 |
+
io ns
|
| 48 |
+
Ġ en
|
| 49 |
+
Ġen co
|
| 50 |
+
r e
|
| 51 |
+
Ġdeco des
|
| 52 |
+
a b
|
| 53 |
+
b ut
|
| 54 |
+
b ab
|
| 55 |
+
i li
|
| 56 |
+
i but
|
| 57 |
+
r ibut
|
| 58 |
+
t y
|
| 59 |
+
Ġ di
|
| 60 |
+
st ribut
|
| 61 |
+
Ġpro bab
|
| 62 |
+
ili ty
|
| 63 |
+
Ġdi stribut
|
| 64 |
+
Ġprobab ility
|
| 65 |
+
Ġdistribut ions
|
| 66 |
+
d d
|
| 67 |
+
h i
|
| 68 |
+
Ġ st
|
| 69 |
+
Ġ hi
|
| 70 |
+
dd en
|
| 71 |
+
Ġst ates
|
| 72 |
+
Ġhi dden
|
| 73 |
+
en er
|
| 74 |
+
Ġg ener
|
| 75 |
+
Ġgener ates
|
| 76 |
+
e work
|
| 77 |
+
m ework
|
| 78 |
+
ra mework
|
| 79 |
+
Ġf ramework
|
| 80 |
+
a s
|
| 81 |
+
c l
|
| 82 |
+
f i
|
| 83 |
+
i fi
|
| 84 |
+
s ifi
|
| 85 |
+
Ġ cl
|
| 86 |
+
as sifi
|
| 87 |
+
Ġcl assifi
|
| 88 |
+
Ġclassifi es
|
| 89 |
+
b e
|
| 90 |
+
d di
|
| 91 |
+
g s
|
| 92 |
+
m be
|
| 93 |
+
n gs
|
| 94 |
+
Ġe mbe
|
| 95 |
+
ddi ngs
|
| 96 |
+
Ġembe ddings
|
| 97 |
+
t work
|
| 98 |
+
Ġ ne
|
| 99 |
+
Ġne twork
|
| 100 |
+
e li
|
| 101 |
+
i p
|
| 102 |
+
Ġp ip
|
| 103 |
+
eli ne
|
| 104 |
+
Ġpip eline
|
| 105 |
+
Ġdeco der
|
| 106 |
+
c t
|
| 107 |
+
e at
|
| 108 |
+
e ct
|
| 109 |
+
u re
|
| 110 |
+
v ect
|
| 111 |
+
Ġ vect
|
| 112 |
+
or s
|
| 113 |
+
Ġf eat
|
| 114 |
+
Ġvect ors
|
| 115 |
+
Ġfeat ure
|
| 116 |
+
a n
|
| 117 |
+
g ent
|
| 118 |
+
Ġa gent
|
| 119 |
+
m o
|
| 120 |
+
Ġ mo
|
| 121 |
+
de l
|
| 122 |
+
Ġmo del
|
| 123 |
+
i n
|
| 124 |
+
k en
|
| 125 |
+
o ken
|
| 126 |
+
Ġ in
|
| 127 |
+
Ġt oken
|
| 128 |
+
Ġin put
|
| 129 |
+
Ġtoken s
|
| 130 |
+
g i
|
| 131 |
+
l o
|
| 132 |
+
Ġ lo
|
| 133 |
+
ut put
|
| 134 |
+
Ġo utput
|
| 135 |
+
gi ts
|
| 136 |
+
Ġlo gits
|
| 137 |
+
u ates
|
| 138 |
+
v al
|
| 139 |
+
Ġe val
|
| 140 |
+
Ġtransform s
|
| 141 |
+
Ġeval uates
|
| 142 |
+
s es
|
| 143 |
+
Ġpro ces
|
| 144 |
+
Ġproces ses
|
| 145 |
+
d ates
|
| 146 |
+
p dates
|
| 147 |
+
u pdates
|
| 148 |
+
Ġ updates
|
| 149 |
+
ra di
|
| 150 |
+
Ġg radi
|
| 151 |
+
Ġgradi ent
|
| 152 |
+
n al
|
| 153 |
+
y zes
|
| 154 |
+
Ġa nal
|
| 155 |
+
Ġanal yzes
|
| 156 |
+
e q
|
| 157 |
+
e x
|
| 158 |
+
u en
|
| 159 |
+
Ġt ex
|
| 160 |
+
Ġs eq
|
| 161 |
+
uen ces
|
| 162 |
+
Ġtex t
|
| 163 |
+
Ġseq uences
|
| 164 |
+
e m
|
| 165 |
+
y st
|
| 166 |
+
Ġs yst
|
| 167 |
+
Ġsyst em
|
| 168 |
+
Ġtransform er
|
| 169 |
+
Ġenco des
|
| 170 |
+
i m
|
| 171 |
+
i zes
|
| 172 |
+
p t
|
| 173 |
+
Ġo pt
|
| 174 |
+
im izes
|
| 175 |
+
Ġopt imizes
|
| 176 |
+
Ġenco der
|
| 177 |
+
e i
|
| 178 |
+
g h
|
| 179 |
+
t ent
|
| 180 |
+
w ei
|
| 181 |
+
Ġ at
|
| 182 |
+
Ġ wei
|
| 183 |
+
io n
|
| 184 |
+
gh ts
|
| 185 |
+
tent ion
|
| 186 |
+
Ġat tention
|
| 187 |
+
Ġwei ghts
|
| 188 |
+
g or
|
| 189 |
+
i th
|
| 190 |
+
l gor
|
| 191 |
+
Ġa lgor
|
| 192 |
+
ith m
|
| 193 |
+
Ġalgor ithm
|
| 194 |
+
c ts
|
| 195 |
+
e di
|
| 196 |
+
Ġpr edi
|
| 197 |
+
Ġpredi cts
|
| 198 |
+
p r
|
| 199 |
+
Ġ re
|
| 200 |
+
es ent
|
| 201 |
+
at ions
|
| 202 |
+
pr esent
|
| 203 |
+
Ġre present
|
| 204 |
+
Ġrepresent ations
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:901338c111b568e1be77b219675718d36ab84ef98f878ea7f7f4488ba0a301d4
|
| 3 |
+
size 14987368
|
modeling_tiny_gpt.py
ADDED
|
@@ -0,0 +1,235 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import importlib
|
| 2 |
+
import math
|
| 3 |
+
import torch
|
| 4 |
+
import torch.nn as nn
|
| 5 |
+
import torch.nn.functional as F
|
| 6 |
+
from transformers import PreTrainedModel, GenerationMixin
|
| 7 |
+
from transformers.modeling_outputs import BaseModelOutputWithPast, CausalLMOutputWithPast
|
| 8 |
+
from .configuration_tiny_gpt import TinyGPTConfig
|
| 9 |
+
_FLASH2_KERNEL = None
|
| 10 |
+
_FLASH3_KERNEL = None
|
| 11 |
+
def _get_flash2_kernel():
|
| 12 |
+
global _FLASH2_KERNEL
|
| 13 |
+
if _FLASH2_KERNEL is None:
|
| 14 |
+
kernels = importlib.import_module("kernels")
|
| 15 |
+
_FLASH2_KERNEL = kernels.get_kernel("kernels-community/flash-attn2", version=1)
|
| 16 |
+
return _FLASH2_KERNEL
|
| 17 |
+
def _get_flash3_kernel():
|
| 18 |
+
global _FLASH3_KERNEL
|
| 19 |
+
if _FLASH3_KERNEL is None:
|
| 20 |
+
kernels = importlib.import_module("kernels")
|
| 21 |
+
_FLASH3_KERNEL = kernels.get_kernel("kernels-community/flash-attn3", version=1)
|
| 22 |
+
return _FLASH3_KERNEL
|
| 23 |
+
def _get_sageattn():
|
| 24 |
+
module = importlib.import_module("sageattention")
|
| 25 |
+
return module.sageattn
|
| 26 |
+
class CausalSelfAttention(nn.Module):
|
| 27 |
+
def __init__(self, config: TinyGPTConfig):
|
| 28 |
+
super().__init__()
|
| 29 |
+
if config.n_embd % config.n_head != 0:
|
| 30 |
+
raise ValueError("n_embd must be divisible by n_head")
|
| 31 |
+
self.n_head = int(config.n_head)
|
| 32 |
+
self.head_dim = int(config.n_embd // config.n_head)
|
| 33 |
+
self.attention_backend = str(getattr(config, "attention_backend", "torch"))
|
| 34 |
+
self.torch_fallback = bool(getattr(config, "torch_fallback", False))
|
| 35 |
+
self.dropout_p = float(config.dropout)
|
| 36 |
+
if self.attention_backend not in ("sage", "torch", "flash2", "flash3"):
|
| 37 |
+
raise ValueError("attention_backend must be sage, torch, flash2 or flash3")
|
| 38 |
+
if self.attention_backend == "sage" and self.head_dim not in (64, 96, 128):
|
| 39 |
+
raise ValueError(f"SageAttention requires head_dim in [64, 96, 128], got {self.head_dim}")
|
| 40 |
+
if self.attention_backend == "sage" and self.dropout_p != 0.0:
|
| 41 |
+
raise ValueError("SageAttention requires dropout=0.0")
|
| 42 |
+
if self.attention_backend == "flash3" and self.dropout_p != 0.0:
|
| 43 |
+
raise ValueError("FlashAttention3 requires dropout=0.0")
|
| 44 |
+
if self.attention_backend in ("flash2", "flash3") and self.head_dim % 8 != 0:
|
| 45 |
+
raise ValueError(f"FlashAttention requires head_dim multiple of 8, got {self.head_dim}")
|
| 46 |
+
self.qkv = nn.Linear(config.n_embd, 3 * config.n_embd, bias=False)
|
| 47 |
+
self.proj = nn.Linear(config.n_embd, config.n_embd, bias=False)
|
| 48 |
+
self.dropout = nn.Dropout(config.dropout)
|
| 49 |
+
mask = torch.tril(torch.ones(config.ctx_len, config.ctx_len, dtype=torch.bool))
|
| 50 |
+
self.register_buffer("mask", mask.view(1, 1, config.ctx_len, config.ctx_len), persistent=False)
|
| 51 |
+
self.sageattn = None
|
| 52 |
+
self.flash_kernel = None
|
| 53 |
+
if self.attention_backend == "sage":
|
| 54 |
+
try:
|
| 55 |
+
self.sageattn = _get_sageattn()
|
| 56 |
+
except Exception:
|
| 57 |
+
if self.torch_fallback:
|
| 58 |
+
self.attention_backend = "torch"
|
| 59 |
+
else:
|
| 60 |
+
raise
|
| 61 |
+
if self.attention_backend == "flash2":
|
| 62 |
+
try:
|
| 63 |
+
self.flash_kernel = _get_flash2_kernel()
|
| 64 |
+
except Exception:
|
| 65 |
+
if self.torch_fallback:
|
| 66 |
+
self.attention_backend = "torch"
|
| 67 |
+
else:
|
| 68 |
+
raise
|
| 69 |
+
if self.attention_backend == "flash3":
|
| 70 |
+
try:
|
| 71 |
+
self.flash_kernel = _get_flash3_kernel()
|
| 72 |
+
except Exception:
|
| 73 |
+
if self.torch_fallback:
|
| 74 |
+
self.attention_backend = "torch"
|
| 75 |
+
else:
|
| 76 |
+
raise
|
| 77 |
+
def _torch_attention(self, q, k, v, t):
|
| 78 |
+
scores = (q @ k.transpose(-2, -1)) / math.sqrt(self.head_dim)
|
| 79 |
+
scores = scores.masked_fill(self.mask[:, :, :t, :t] == 0, float("-inf"))
|
| 80 |
+
att = F.softmax(scores.float(), dim=-1).to(q.dtype)
|
| 81 |
+
att = self.dropout(att)
|
| 82 |
+
return att @ v
|
| 83 |
+
def _sage_attention(self, q, k, v):
|
| 84 |
+
if self.sageattn is None or not q.is_cuda:
|
| 85 |
+
if self.torch_fallback:
|
| 86 |
+
return None
|
| 87 |
+
raise RuntimeError("SageAttention requires CUDA + sageattention")
|
| 88 |
+
return self.sageattn(q.contiguous(), k.contiguous(), v.contiguous(), tensor_layout="HND", is_causal=True)
|
| 89 |
+
def _flash2_attention(self, q, k, v):
|
| 90 |
+
if self.flash_kernel is None or not q.is_cuda:
|
| 91 |
+
if self.torch_fallback:
|
| 92 |
+
return None
|
| 93 |
+
raise RuntimeError("FlashAttention2 requires CUDA + kernels")
|
| 94 |
+
q = q.transpose(1, 2).contiguous()
|
| 95 |
+
k = k.transpose(1, 2).contiguous()
|
| 96 |
+
v = v.transpose(1, 2).contiguous()
|
| 97 |
+
dropout_p = self.dropout_p if self.training else 0.0
|
| 98 |
+
y = self.flash_kernel.flash_attn_func(q, k, v, dropout_p=dropout_p, causal=True)
|
| 99 |
+
return y.transpose(1, 2).contiguous()
|
| 100 |
+
def _flash3_attention(self, q, k, v):
|
| 101 |
+
if self.flash_kernel is None or not q.is_cuda:
|
| 102 |
+
if self.torch_fallback:
|
| 103 |
+
return None
|
| 104 |
+
raise RuntimeError("FlashAttention3 requires CUDA + kernels")
|
| 105 |
+
q = q.transpose(1, 2).contiguous()
|
| 106 |
+
k = k.transpose(1, 2).contiguous()
|
| 107 |
+
v = v.transpose(1, 2).contiguous()
|
| 108 |
+
y = self.flash_kernel.flash_attn_func(q, k, v, causal=True)
|
| 109 |
+
return y.transpose(1, 2).contiguous()
|
| 110 |
+
def forward(self, x):
|
| 111 |
+
b, t, c = x.shape
|
| 112 |
+
qkv = self.qkv(x)
|
| 113 |
+
q, k, v = qkv.chunk(3, dim=-1)
|
| 114 |
+
q = q.view(b, t, self.n_head, self.head_dim).transpose(1, 2).contiguous()
|
| 115 |
+
k = k.view(b, t, self.n_head, self.head_dim).transpose(1, 2).contiguous()
|
| 116 |
+
v = v.view(b, t, self.n_head, self.head_dim).transpose(1, 2).contiguous()
|
| 117 |
+
if self.attention_backend == "sage":
|
| 118 |
+
y = self._sage_attention(q, k, v)
|
| 119 |
+
if y is None:
|
| 120 |
+
y = self._torch_attention(q, k, v, t)
|
| 121 |
+
elif self.attention_backend == "flash2":
|
| 122 |
+
y = self._flash2_attention(q, k, v)
|
| 123 |
+
if y is None:
|
| 124 |
+
y = self._torch_attention(q, k, v, t)
|
| 125 |
+
elif self.attention_backend == "flash3":
|
| 126 |
+
y = self._flash3_attention(q, k, v)
|
| 127 |
+
if y is None:
|
| 128 |
+
y = self._torch_attention(q, k, v, t)
|
| 129 |
+
else:
|
| 130 |
+
y = self._torch_attention(q, k, v, t)
|
| 131 |
+
y = y.transpose(1, 2).contiguous().view(b, t, c)
|
| 132 |
+
return self.proj(y)
|
| 133 |
+
class MLP(nn.Module):
|
| 134 |
+
def __init__(self, config: TinyGPTConfig):
|
| 135 |
+
super().__init__()
|
| 136 |
+
self.fc = nn.Linear(config.n_embd, 4 * config.n_embd, bias=False)
|
| 137 |
+
self.proj = nn.Linear(4 * config.n_embd, config.n_embd, bias=False)
|
| 138 |
+
self.dropout = nn.Dropout(config.dropout)
|
| 139 |
+
def forward(self, x):
|
| 140 |
+
x = self.fc(x)
|
| 141 |
+
x = F.gelu(x)
|
| 142 |
+
x = self.proj(x)
|
| 143 |
+
x = self.dropout(x)
|
| 144 |
+
return x
|
| 145 |
+
class Block(nn.Module):
|
| 146 |
+
def __init__(self, config: TinyGPTConfig):
|
| 147 |
+
super().__init__()
|
| 148 |
+
self.ln1 = nn.LayerNorm(config.n_embd)
|
| 149 |
+
self.attn = CausalSelfAttention(config)
|
| 150 |
+
self.ln2 = nn.LayerNorm(config.n_embd)
|
| 151 |
+
self.mlp = MLP(config)
|
| 152 |
+
def forward(self, x):
|
| 153 |
+
x = x + self.attn(self.ln1(x))
|
| 154 |
+
x = x + self.mlp(self.ln2(x))
|
| 155 |
+
return x
|
| 156 |
+
class TinyGPTPreTrainedModel(PreTrainedModel):
|
| 157 |
+
config_class = TinyGPTConfig
|
| 158 |
+
base_model_prefix = "tiny_gpt"
|
| 159 |
+
supports_gradient_checkpointing = False
|
| 160 |
+
def _init_weights(self, module):
|
| 161 |
+
if isinstance(module, nn.Linear):
|
| 162 |
+
nn.init.normal_(module.weight, mean=0.0, std=0.02)
|
| 163 |
+
if module.bias is not None:
|
| 164 |
+
nn.init.zeros_(module.bias)
|
| 165 |
+
elif isinstance(module, nn.Embedding):
|
| 166 |
+
nn.init.normal_(module.weight, mean=0.0, std=0.02)
|
| 167 |
+
class TinyGPTModel(TinyGPTPreTrainedModel):
|
| 168 |
+
_tied_weights_keys = ["head.weight"]
|
| 169 |
+
def __init__(self, config: TinyGPTConfig):
|
| 170 |
+
super().__init__(config)
|
| 171 |
+
self.tok_emb = nn.Embedding(config.vocab_size, config.n_embd)
|
| 172 |
+
self.pos_emb = nn.Embedding(config.ctx_len, config.n_embd)
|
| 173 |
+
self.drop = nn.Dropout(config.dropout)
|
| 174 |
+
self.blocks = nn.ModuleList([Block(config) for _ in range(config.n_layer)])
|
| 175 |
+
self.ln_f = nn.LayerNorm(config.n_embd)
|
| 176 |
+
self.head = nn.Linear(config.n_embd, config.vocab_size, bias=False)
|
| 177 |
+
self.post_init()
|
| 178 |
+
self.tie_weights()
|
| 179 |
+
def get_input_embeddings(self):
|
| 180 |
+
return self.tok_emb
|
| 181 |
+
def set_input_embeddings(self, value):
|
| 182 |
+
self.tok_emb = value
|
| 183 |
+
self.tie_weights()
|
| 184 |
+
def get_output_embeddings(self):
|
| 185 |
+
return self.head
|
| 186 |
+
def set_output_embeddings(self, new_embeddings):
|
| 187 |
+
self.head = new_embeddings
|
| 188 |
+
def tie_weights(self, *args, **kwargs):
|
| 189 |
+
self._tie_or_clone_weights(self.head, self.tok_emb)
|
| 190 |
+
def forward(self, input_ids, attention_mask=None, return_dict=True, return_logits=False, **kwargs):
|
| 191 |
+
b, t = input_ids.shape
|
| 192 |
+
if t > self.config.ctx_len:
|
| 193 |
+
raise ValueError(f"Input length {t} > ctx_len {self.config.ctx_len}. Truncate before calling the model.")
|
| 194 |
+
pos = torch.arange(0, t, dtype=torch.long, device=input_ids.device).unsqueeze(0)
|
| 195 |
+
x = self.tok_emb(input_ids) + self.pos_emb(pos)
|
| 196 |
+
x = self.drop(x)
|
| 197 |
+
for block in self.blocks:
|
| 198 |
+
x = block(x)
|
| 199 |
+
hidden = self.ln_f(x)
|
| 200 |
+
logits = self.head(hidden) if return_logits else None
|
| 201 |
+
if not return_dict:
|
| 202 |
+
return (hidden, logits) if return_logits else (hidden,)
|
| 203 |
+
if return_logits:
|
| 204 |
+
return hidden, logits
|
| 205 |
+
return BaseModelOutputWithPast(last_hidden_state=hidden, past_key_values=None, hidden_states=None, attentions=None)
|
| 206 |
+
class TinyGPTForCausalLM(TinyGPTPreTrainedModel, GenerationMixin):
|
| 207 |
+
_tied_weights_keys = ["tiny_gpt.head.weight"]
|
| 208 |
+
def __init__(self, config: TinyGPTConfig):
|
| 209 |
+
super().__init__(config)
|
| 210 |
+
self.tiny_gpt = TinyGPTModel(config)
|
| 211 |
+
self.post_init()
|
| 212 |
+
self.tie_weights()
|
| 213 |
+
def get_input_embeddings(self):
|
| 214 |
+
return self.tiny_gpt.tok_emb
|
| 215 |
+
def set_input_embeddings(self, value):
|
| 216 |
+
self.tiny_gpt.tok_emb = value
|
| 217 |
+
self.tie_weights()
|
| 218 |
+
def get_output_embeddings(self):
|
| 219 |
+
return self.tiny_gpt.head
|
| 220 |
+
def set_output_embeddings(self, new_embeddings):
|
| 221 |
+
self.tiny_gpt.head = new_embeddings
|
| 222 |
+
def tie_weights(self, *args, **kwargs):
|
| 223 |
+
self._tie_or_clone_weights(self.tiny_gpt.head, self.tiny_gpt.tok_emb)
|
| 224 |
+
def prepare_inputs_for_generation(self, input_ids, **kwargs):
|
| 225 |
+
return {"input_ids": input_ids}
|
| 226 |
+
def forward(self, input_ids, attention_mask=None, labels=None, return_dict=True, **kwargs):
|
| 227 |
+
hidden, logits = self.tiny_gpt(input_ids=input_ids, attention_mask=attention_mask, return_dict=True, return_logits=True)
|
| 228 |
+
loss = None
|
| 229 |
+
if labels is not None:
|
| 230 |
+
shift_logits = logits[:, :-1, :].contiguous()
|
| 231 |
+
shift_labels = labels[:, 1:].contiguous()
|
| 232 |
+
loss = F.cross_entropy(shift_logits.view(-1, shift_logits.size(-1)).float(), shift_labels.view(-1))
|
| 233 |
+
if not return_dict:
|
| 234 |
+
return ((loss, logits) if loss is not None else (logits,))
|
| 235 |
+
return CausalLMOutputWithPast(loss=loss, logits=logits, past_key_values=None, hidden_states=None, attentions=None)
|
requirements.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
torch
|
| 2 |
+
transformers
|
| 3 |
+
safetensors
|
| 4 |
+
tokenizers
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"unk_token": "[UNK]",
|
| 3 |
+
"pad_token": "[PAD]",
|
| 4 |
+
"sep_token": "[SEP]",
|
| 5 |
+
"cls_token": "[CLS]",
|
| 6 |
+
"mask_token": "[MASK]",
|
| 7 |
+
"bos_token": "[BOS]",
|
| 8 |
+
"eos_token": "[EOS]"
|
| 9 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,1467 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": "1.0",
|
| 3 |
+
"truncation": null,
|
| 4 |
+
"padding": {
|
| 5 |
+
"strategy": "BatchLongest",
|
| 6 |
+
"direction": "Right",
|
| 7 |
+
"pad_to_multiple_of": null,
|
| 8 |
+
"pad_id": 0,
|
| 9 |
+
"pad_type_id": 0,
|
| 10 |
+
"pad_token": "[PAD]"
|
| 11 |
+
},
|
| 12 |
+
"added_tokens": [
|
| 13 |
+
{
|
| 14 |
+
"id": 0,
|
| 15 |
+
"content": "[PAD]",
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"lstrip": false,
|
| 18 |
+
"rstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"special": true
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"id": 1,
|
| 24 |
+
"content": "[UNK]",
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"normalized": false,
|
| 29 |
+
"special": true
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"id": 2,
|
| 33 |
+
"content": "[SEP]",
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"lstrip": false,
|
| 36 |
+
"rstrip": false,
|
| 37 |
+
"normalized": false,
|
| 38 |
+
"special": true
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"id": 3,
|
| 42 |
+
"content": "[CLS]",
|
| 43 |
+
"single_word": false,
|
| 44 |
+
"lstrip": false,
|
| 45 |
+
"rstrip": false,
|
| 46 |
+
"normalized": false,
|
| 47 |
+
"special": true
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"id": 4,
|
| 51 |
+
"content": "[MASK]",
|
| 52 |
+
"single_word": false,
|
| 53 |
+
"lstrip": false,
|
| 54 |
+
"rstrip": false,
|
| 55 |
+
"normalized": false,
|
| 56 |
+
"special": true
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"id": 5,
|
| 60 |
+
"content": "[BOS]",
|
| 61 |
+
"single_word": false,
|
| 62 |
+
"lstrip": false,
|
| 63 |
+
"rstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"special": true
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"id": 6,
|
| 69 |
+
"content": "[EOS]",
|
| 70 |
+
"single_word": false,
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"rstrip": false,
|
| 73 |
+
"normalized": false,
|
| 74 |
+
"special": true
|
| 75 |
+
}
|
| 76 |
+
],
|
| 77 |
+
"normalizer": {
|
| 78 |
+
"type": "Sequence",
|
| 79 |
+
"normalizers": [
|
| 80 |
+
{
|
| 81 |
+
"type": "NFC"
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"type": "Lowercase"
|
| 85 |
+
}
|
| 86 |
+
]
|
| 87 |
+
},
|
| 88 |
+
"pre_tokenizer": {
|
| 89 |
+
"type": "ByteLevel",
|
| 90 |
+
"add_prefix_space": false,
|
| 91 |
+
"trim_offsets": true,
|
| 92 |
+
"use_regex": true
|
| 93 |
+
},
|
| 94 |
+
"post_processor": {
|
| 95 |
+
"type": "TemplateProcessing",
|
| 96 |
+
"single": [
|
| 97 |
+
{
|
| 98 |
+
"SpecialToken": {
|
| 99 |
+
"id": "[BOS]",
|
| 100 |
+
"type_id": 0
|
| 101 |
+
}
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"Sequence": {
|
| 105 |
+
"id": "A",
|
| 106 |
+
"type_id": 0
|
| 107 |
+
}
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"SpecialToken": {
|
| 111 |
+
"id": "[EOS]",
|
| 112 |
+
"type_id": 0
|
| 113 |
+
}
|
| 114 |
+
}
|
| 115 |
+
],
|
| 116 |
+
"pair": [
|
| 117 |
+
{
|
| 118 |
+
"SpecialToken": {
|
| 119 |
+
"id": "[BOS]",
|
| 120 |
+
"type_id": 0
|
| 121 |
+
}
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"Sequence": {
|
| 125 |
+
"id": "A",
|
| 126 |
+
"type_id": 0
|
| 127 |
+
}
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"SpecialToken": {
|
| 131 |
+
"id": "[EOS]",
|
| 132 |
+
"type_id": 0
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"Sequence": {
|
| 137 |
+
"id": "B",
|
| 138 |
+
"type_id": 1
|
| 139 |
+
}
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"SpecialToken": {
|
| 143 |
+
"id": "[EOS]",
|
| 144 |
+
"type_id": 1
|
| 145 |
+
}
|
| 146 |
+
}
|
| 147 |
+
],
|
| 148 |
+
"special_tokens": {
|
| 149 |
+
"[BOS]": {
|
| 150 |
+
"id": "[BOS]",
|
| 151 |
+
"ids": [
|
| 152 |
+
5
|
| 153 |
+
],
|
| 154 |
+
"tokens": [
|
| 155 |
+
"[BOS]"
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"[EOS]": {
|
| 159 |
+
"id": "[EOS]",
|
| 160 |
+
"ids": [
|
| 161 |
+
6
|
| 162 |
+
],
|
| 163 |
+
"tokens": [
|
| 164 |
+
"[EOS]"
|
| 165 |
+
]
|
| 166 |
+
}
|
| 167 |
+
}
|
| 168 |
+
},
|
| 169 |
+
"decoder": {
|
| 170 |
+
"type": "ByteLevel",
|
| 171 |
+
"add_prefix_space": false,
|
| 172 |
+
"trim_offsets": true,
|
| 173 |
+
"use_regex": true
|
| 174 |
+
},
|
| 175 |
+
"model": {
|
| 176 |
+
"type": "BPE",
|
| 177 |
+
"dropout": null,
|
| 178 |
+
"unk_token": "[UNK]",
|
| 179 |
+
"continuing_subword_prefix": null,
|
| 180 |
+
"end_of_word_suffix": null,
|
| 181 |
+
"fuse_unk": false,
|
| 182 |
+
"byte_fallback": false,
|
| 183 |
+
"ignore_merges": false,
|
| 184 |
+
"vocab": {
|
| 185 |
+
"[PAD]": 0,
|
| 186 |
+
"[UNK]": 1,
|
| 187 |
+
"[SEP]": 2,
|
| 188 |
+
"[CLS]": 3,
|
| 189 |
+
"[MASK]": 4,
|
| 190 |
+
"[BOS]": 5,
|
| 191 |
+
"[EOS]": 6,
|
| 192 |
+
"!": 7,
|
| 193 |
+
"\"": 8,
|
| 194 |
+
"#": 9,
|
| 195 |
+
"$": 10,
|
| 196 |
+
"%": 11,
|
| 197 |
+
"&": 12,
|
| 198 |
+
"'": 13,
|
| 199 |
+
"(": 14,
|
| 200 |
+
")": 15,
|
| 201 |
+
"*": 16,
|
| 202 |
+
"+": 17,
|
| 203 |
+
",": 18,
|
| 204 |
+
"-": 19,
|
| 205 |
+
".": 20,
|
| 206 |
+
"/": 21,
|
| 207 |
+
"0": 22,
|
| 208 |
+
"1": 23,
|
| 209 |
+
"2": 24,
|
| 210 |
+
"3": 25,
|
| 211 |
+
"4": 26,
|
| 212 |
+
"5": 27,
|
| 213 |
+
"6": 28,
|
| 214 |
+
"7": 29,
|
| 215 |
+
"8": 30,
|
| 216 |
+
"9": 31,
|
| 217 |
+
":": 32,
|
| 218 |
+
";": 33,
|
| 219 |
+
"<": 34,
|
| 220 |
+
"=": 35,
|
| 221 |
+
">": 36,
|
| 222 |
+
"?": 37,
|
| 223 |
+
"@": 38,
|
| 224 |
+
"A": 39,
|
| 225 |
+
"B": 40,
|
| 226 |
+
"C": 41,
|
| 227 |
+
"D": 42,
|
| 228 |
+
"E": 43,
|
| 229 |
+
"F": 44,
|
| 230 |
+
"G": 45,
|
| 231 |
+
"H": 46,
|
| 232 |
+
"I": 47,
|
| 233 |
+
"J": 48,
|
| 234 |
+
"K": 49,
|
| 235 |
+
"L": 50,
|
| 236 |
+
"M": 51,
|
| 237 |
+
"N": 52,
|
| 238 |
+
"O": 53,
|
| 239 |
+
"P": 54,
|
| 240 |
+
"Q": 55,
|
| 241 |
+
"R": 56,
|
| 242 |
+
"S": 57,
|
| 243 |
+
"T": 58,
|
| 244 |
+
"U": 59,
|
| 245 |
+
"V": 60,
|
| 246 |
+
"W": 61,
|
| 247 |
+
"X": 62,
|
| 248 |
+
"Y": 63,
|
| 249 |
+
"Z": 64,
|
| 250 |
+
"[": 65,
|
| 251 |
+
"\\": 66,
|
| 252 |
+
"]": 67,
|
| 253 |
+
"^": 68,
|
| 254 |
+
"_": 69,
|
| 255 |
+
"`": 70,
|
| 256 |
+
"a": 71,
|
| 257 |
+
"b": 72,
|
| 258 |
+
"c": 73,
|
| 259 |
+
"d": 74,
|
| 260 |
+
"e": 75,
|
| 261 |
+
"f": 76,
|
| 262 |
+
"g": 77,
|
| 263 |
+
"h": 78,
|
| 264 |
+
"i": 79,
|
| 265 |
+
"j": 80,
|
| 266 |
+
"k": 81,
|
| 267 |
+
"l": 82,
|
| 268 |
+
"m": 83,
|
| 269 |
+
"n": 84,
|
| 270 |
+
"o": 85,
|
| 271 |
+
"p": 86,
|
| 272 |
+
"q": 87,
|
| 273 |
+
"r": 88,
|
| 274 |
+
"s": 89,
|
| 275 |
+
"t": 90,
|
| 276 |
+
"u": 91,
|
| 277 |
+
"v": 92,
|
| 278 |
+
"w": 93,
|
| 279 |
+
"x": 94,
|
| 280 |
+
"y": 95,
|
| 281 |
+
"z": 96,
|
| 282 |
+
"{": 97,
|
| 283 |
+
"|": 98,
|
| 284 |
+
"}": 99,
|
| 285 |
+
"~": 100,
|
| 286 |
+
"¡": 101,
|
| 287 |
+
"¢": 102,
|
| 288 |
+
"£": 103,
|
| 289 |
+
"¤": 104,
|
| 290 |
+
"¥": 105,
|
| 291 |
+
"¦": 106,
|
| 292 |
+
"§": 107,
|
| 293 |
+
"¨": 108,
|
| 294 |
+
"©": 109,
|
| 295 |
+
"ª": 110,
|
| 296 |
+
"«": 111,
|
| 297 |
+
"¬": 112,
|
| 298 |
+
"®": 113,
|
| 299 |
+
"¯": 114,
|
| 300 |
+
"°": 115,
|
| 301 |
+
"±": 116,
|
| 302 |
+
"²": 117,
|
| 303 |
+
"³": 118,
|
| 304 |
+
"´": 119,
|
| 305 |
+
"µ": 120,
|
| 306 |
+
"¶": 121,
|
| 307 |
+
"·": 122,
|
| 308 |
+
"¸": 123,
|
| 309 |
+
"¹": 124,
|
| 310 |
+
"º": 125,
|
| 311 |
+
"»": 126,
|
| 312 |
+
"¼": 127,
|
| 313 |
+
"½": 128,
|
| 314 |
+
"¾": 129,
|
| 315 |
+
"¿": 130,
|
| 316 |
+
"À": 131,
|
| 317 |
+
"Á": 132,
|
| 318 |
+
"Â": 133,
|
| 319 |
+
"Ã": 134,
|
| 320 |
+
"Ä": 135,
|
| 321 |
+
"Å": 136,
|
| 322 |
+
"Æ": 137,
|
| 323 |
+
"Ç": 138,
|
| 324 |
+
"È": 139,
|
| 325 |
+
"É": 140,
|
| 326 |
+
"Ê": 141,
|
| 327 |
+
"Ë": 142,
|
| 328 |
+
"Ì": 143,
|
| 329 |
+
"Í": 144,
|
| 330 |
+
"Î": 145,
|
| 331 |
+
"Ï": 146,
|
| 332 |
+
"Ð": 147,
|
| 333 |
+
"Ñ": 148,
|
| 334 |
+
"Ò": 149,
|
| 335 |
+
"Ó": 150,
|
| 336 |
+
"Ô": 151,
|
| 337 |
+
"Õ": 152,
|
| 338 |
+
"Ö": 153,
|
| 339 |
+
"×": 154,
|
| 340 |
+
"Ø": 155,
|
| 341 |
+
"Ù": 156,
|
| 342 |
+
"Ú": 157,
|
| 343 |
+
"Û": 158,
|
| 344 |
+
"Ü": 159,
|
| 345 |
+
"Ý": 160,
|
| 346 |
+
"Þ": 161,
|
| 347 |
+
"ß": 162,
|
| 348 |
+
"à": 163,
|
| 349 |
+
"á": 164,
|
| 350 |
+
"â": 165,
|
| 351 |
+
"ã": 166,
|
| 352 |
+
"ä": 167,
|
| 353 |
+
"å": 168,
|
| 354 |
+
"æ": 169,
|
| 355 |
+
"ç": 170,
|
| 356 |
+
"è": 171,
|
| 357 |
+
"é": 172,
|
| 358 |
+
"ê": 173,
|
| 359 |
+
"ë": 174,
|
| 360 |
+
"ì": 175,
|
| 361 |
+
"í": 176,
|
| 362 |
+
"î": 177,
|
| 363 |
+
"ï": 178,
|
| 364 |
+
"ð": 179,
|
| 365 |
+
"ñ": 180,
|
| 366 |
+
"ò": 181,
|
| 367 |
+
"ó": 182,
|
| 368 |
+
"ô": 183,
|
| 369 |
+
"õ": 184,
|
| 370 |
+
"ö": 185,
|
| 371 |
+
"÷": 186,
|
| 372 |
+
"ø": 187,
|
| 373 |
+
"ù": 188,
|
| 374 |
+
"ú": 189,
|
| 375 |
+
"û": 190,
|
| 376 |
+
"ü": 191,
|
| 377 |
+
"ý": 192,
|
| 378 |
+
"þ": 193,
|
| 379 |
+
"ÿ": 194,
|
| 380 |
+
"Ā": 195,
|
| 381 |
+
"ā": 196,
|
| 382 |
+
"Ă": 197,
|
| 383 |
+
"ă": 198,
|
| 384 |
+
"Ą": 199,
|
| 385 |
+
"ą": 200,
|
| 386 |
+
"Ć": 201,
|
| 387 |
+
"ć": 202,
|
| 388 |
+
"Ĉ": 203,
|
| 389 |
+
"ĉ": 204,
|
| 390 |
+
"Ċ": 205,
|
| 391 |
+
"ċ": 206,
|
| 392 |
+
"Č": 207,
|
| 393 |
+
"č": 208,
|
| 394 |
+
"Ď": 209,
|
| 395 |
+
"ď": 210,
|
| 396 |
+
"Đ": 211,
|
| 397 |
+
"đ": 212,
|
| 398 |
+
"Ē": 213,
|
| 399 |
+
"ē": 214,
|
| 400 |
+
"Ĕ": 215,
|
| 401 |
+
"ĕ": 216,
|
| 402 |
+
"Ė": 217,
|
| 403 |
+
"ė": 218,
|
| 404 |
+
"Ę": 219,
|
| 405 |
+
"ę": 220,
|
| 406 |
+
"Ě": 221,
|
| 407 |
+
"ě": 222,
|
| 408 |
+
"Ĝ": 223,
|
| 409 |
+
"ĝ": 224,
|
| 410 |
+
"Ğ": 225,
|
| 411 |
+
"ğ": 226,
|
| 412 |
+
"Ġ": 227,
|
| 413 |
+
"ġ": 228,
|
| 414 |
+
"Ģ": 229,
|
| 415 |
+
"ģ": 230,
|
| 416 |
+
"Ĥ": 231,
|
| 417 |
+
"ĥ": 232,
|
| 418 |
+
"Ħ": 233,
|
| 419 |
+
"ħ": 234,
|
| 420 |
+
"Ĩ": 235,
|
| 421 |
+
"ĩ": 236,
|
| 422 |
+
"Ī": 237,
|
| 423 |
+
"ī": 238,
|
| 424 |
+
"Ĭ": 239,
|
| 425 |
+
"ĭ": 240,
|
| 426 |
+
"Į": 241,
|
| 427 |
+
"į": 242,
|
| 428 |
+
"İ": 243,
|
| 429 |
+
"ı": 244,
|
| 430 |
+
"IJ": 245,
|
| 431 |
+
"ij": 246,
|
| 432 |
+
"Ĵ": 247,
|
| 433 |
+
"ĵ": 248,
|
| 434 |
+
"Ķ": 249,
|
| 435 |
+
"ķ": 250,
|
| 436 |
+
"ĸ": 251,
|
| 437 |
+
"Ĺ": 252,
|
| 438 |
+
"ĺ": 253,
|
| 439 |
+
"Ļ": 254,
|
| 440 |
+
"ļ": 255,
|
| 441 |
+
"Ľ": 256,
|
| 442 |
+
"ľ": 257,
|
| 443 |
+
"Ŀ": 258,
|
| 444 |
+
"ŀ": 259,
|
| 445 |
+
"Ł": 260,
|
| 446 |
+
"ł": 261,
|
| 447 |
+
"Ń": 262,
|
| 448 |
+
"es": 263,
|
| 449 |
+
"en": 264,
|
| 450 |
+
"th": 265,
|
| 451 |
+
"the": 266,
|
| 452 |
+
"at": 267,
|
| 453 |
+
"or": 268,
|
| 454 |
+
"de": 269,
|
| 455 |
+
"ates": 270,
|
| 456 |
+
"ut": 271,
|
| 457 |
+
"co": 272,
|
| 458 |
+
"ra": 273,
|
| 459 |
+
"di": 274,
|
| 460 |
+
"Ġp": 275,
|
| 461 |
+
"Ġt": 276,
|
| 462 |
+
"ns": 277,
|
| 463 |
+
"ent": 278,
|
| 464 |
+
"st": 279,
|
| 465 |
+
"Ġpr": 280,
|
| 466 |
+
"Ġa": 281,
|
| 467 |
+
"io": 282,
|
| 468 |
+
"ts": 283,
|
| 469 |
+
"Ġde": 284,
|
| 470 |
+
"Ġdeco": 285,
|
| 471 |
+
"li": 286,
|
| 472 |
+
"wor": 287,
|
| 473 |
+
"work": 288,
|
| 474 |
+
"Ġf": 289,
|
| 475 |
+
"ne": 290,
|
| 476 |
+
"Ġpro": 291,
|
| 477 |
+
"Ġg": 292,
|
| 478 |
+
"des": 293,
|
| 479 |
+
"Ġe": 294,
|
| 480 |
+
"er": 295,
|
| 481 |
+
"put": 296,
|
| 482 |
+
"al": 297,
|
| 483 |
+
"der": 298,
|
| 484 |
+
"ces": 299,
|
| 485 |
+
"for": 300,
|
| 486 |
+
"rans": 301,
|
| 487 |
+
"Ġtrans": 302,
|
| 488 |
+
"form": 303,
|
| 489 |
+
"Ġtransform": 304,
|
| 490 |
+
"Ġs": 305,
|
| 491 |
+
"Ġo": 306,
|
| 492 |
+
"zes": 307,
|
| 493 |
+
"ions": 308,
|
| 494 |
+
"Ġen": 309,
|
| 495 |
+
"Ġenco": 310,
|
| 496 |
+
"re": 311,
|
| 497 |
+
"Ġdecodes": 312,
|
| 498 |
+
"ab": 313,
|
| 499 |
+
"but": 314,
|
| 500 |
+
"bab": 315,
|
| 501 |
+
"ili": 316,
|
| 502 |
+
"ibut": 317,
|
| 503 |
+
"ribut": 318,
|
| 504 |
+
"ty": 319,
|
| 505 |
+
"Ġdi": 320,
|
| 506 |
+
"stribut": 321,
|
| 507 |
+
"Ġprobab": 322,
|
| 508 |
+
"ility": 323,
|
| 509 |
+
"Ġdistribut": 324,
|
| 510 |
+
"Ġprobability": 325,
|
| 511 |
+
"Ġdistributions": 326,
|
| 512 |
+
"dd": 327,
|
| 513 |
+
"hi": 328,
|
| 514 |
+
"Ġst": 329,
|
| 515 |
+
"Ġhi": 330,
|
| 516 |
+
"dden": 331,
|
| 517 |
+
"Ġstates": 332,
|
| 518 |
+
"Ġhidden": 333,
|
| 519 |
+
"ener": 334,
|
| 520 |
+
"Ġgener": 335,
|
| 521 |
+
"Ġgenerates": 336,
|
| 522 |
+
"ework": 337,
|
| 523 |
+
"mework": 338,
|
| 524 |
+
"ramework": 339,
|
| 525 |
+
"Ġframework": 340,
|
| 526 |
+
"as": 341,
|
| 527 |
+
"cl": 342,
|
| 528 |
+
"fi": 343,
|
| 529 |
+
"ifi": 344,
|
| 530 |
+
"sifi": 345,
|
| 531 |
+
"Ġcl": 346,
|
| 532 |
+
"assifi": 347,
|
| 533 |
+
"Ġclassifi": 348,
|
| 534 |
+
"Ġclassifies": 349,
|
| 535 |
+
"be": 350,
|
| 536 |
+
"ddi": 351,
|
| 537 |
+
"gs": 352,
|
| 538 |
+
"mbe": 353,
|
| 539 |
+
"ngs": 354,
|
| 540 |
+
"Ġembe": 355,
|
| 541 |
+
"ddings": 356,
|
| 542 |
+
"Ġembeddings": 357,
|
| 543 |
+
"twork": 358,
|
| 544 |
+
"Ġne": 359,
|
| 545 |
+
"Ġnetwork": 360,
|
| 546 |
+
"eli": 361,
|
| 547 |
+
"ip": 362,
|
| 548 |
+
"Ġpip": 363,
|
| 549 |
+
"eline": 364,
|
| 550 |
+
"Ġpipeline": 365,
|
| 551 |
+
"Ġdecoder": 366,
|
| 552 |
+
"ct": 367,
|
| 553 |
+
"eat": 368,
|
| 554 |
+
"ect": 369,
|
| 555 |
+
"ure": 370,
|
| 556 |
+
"vect": 371,
|
| 557 |
+
"Ġvect": 372,
|
| 558 |
+
"ors": 373,
|
| 559 |
+
"Ġfeat": 374,
|
| 560 |
+
"Ġvectors": 375,
|
| 561 |
+
"Ġfeature": 376,
|
| 562 |
+
"an": 377,
|
| 563 |
+
"gent": 378,
|
| 564 |
+
"Ġagent": 379,
|
| 565 |
+
"mo": 380,
|
| 566 |
+
"Ġmo": 381,
|
| 567 |
+
"del": 382,
|
| 568 |
+
"Ġmodel": 383,
|
| 569 |
+
"in": 384,
|
| 570 |
+
"ken": 385,
|
| 571 |
+
"oken": 386,
|
| 572 |
+
"Ġin": 387,
|
| 573 |
+
"Ġtoken": 388,
|
| 574 |
+
"Ġinput": 389,
|
| 575 |
+
"Ġtokens": 390,
|
| 576 |
+
"gi": 391,
|
| 577 |
+
"lo": 392,
|
| 578 |
+
"Ġlo": 393,
|
| 579 |
+
"utput": 394,
|
| 580 |
+
"Ġoutput": 395,
|
| 581 |
+
"gits": 396,
|
| 582 |
+
"Ġlogits": 397,
|
| 583 |
+
"uates": 398,
|
| 584 |
+
"val": 399,
|
| 585 |
+
"Ġeval": 400,
|
| 586 |
+
"Ġtransforms": 401,
|
| 587 |
+
"Ġevaluates": 402,
|
| 588 |
+
"ses": 403,
|
| 589 |
+
"Ġproces": 404,
|
| 590 |
+
"Ġprocesses": 405,
|
| 591 |
+
"dates": 406,
|
| 592 |
+
"pdates": 407,
|
| 593 |
+
"updates": 408,
|
| 594 |
+
"Ġupdates": 409,
|
| 595 |
+
"radi": 410,
|
| 596 |
+
"Ġgradi": 411,
|
| 597 |
+
"Ġgradient": 412,
|
| 598 |
+
"nal": 413,
|
| 599 |
+
"yzes": 414,
|
| 600 |
+
"Ġanal": 415,
|
| 601 |
+
"Ġanalyzes": 416,
|
| 602 |
+
"eq": 417,
|
| 603 |
+
"ex": 418,
|
| 604 |
+
"uen": 419,
|
| 605 |
+
"Ġtex": 420,
|
| 606 |
+
"Ġseq": 421,
|
| 607 |
+
"uences": 422,
|
| 608 |
+
"Ġtext": 423,
|
| 609 |
+
"Ġsequences": 424,
|
| 610 |
+
"em": 425,
|
| 611 |
+
"yst": 426,
|
| 612 |
+
"Ġsyst": 427,
|
| 613 |
+
"Ġsystem": 428,
|
| 614 |
+
"Ġtransformer": 429,
|
| 615 |
+
"Ġencodes": 430,
|
| 616 |
+
"im": 431,
|
| 617 |
+
"izes": 432,
|
| 618 |
+
"pt": 433,
|
| 619 |
+
"Ġopt": 434,
|
| 620 |
+
"imizes": 435,
|
| 621 |
+
"Ġoptimizes": 436,
|
| 622 |
+
"Ġencoder": 437,
|
| 623 |
+
"ei": 438,
|
| 624 |
+
"gh": 439,
|
| 625 |
+
"tent": 440,
|
| 626 |
+
"wei": 441,
|
| 627 |
+
"Ġat": 442,
|
| 628 |
+
"Ġwei": 443,
|
| 629 |
+
"ion": 444,
|
| 630 |
+
"ghts": 445,
|
| 631 |
+
"tention": 446,
|
| 632 |
+
"Ġattention": 447,
|
| 633 |
+
"Ġweights": 448,
|
| 634 |
+
"gor": 449,
|
| 635 |
+
"ith": 450,
|
| 636 |
+
"lgor": 451,
|
| 637 |
+
"Ġalgor": 452,
|
| 638 |
+
"ithm": 453,
|
| 639 |
+
"Ġalgorithm": 454,
|
| 640 |
+
"cts": 455,
|
| 641 |
+
"edi": 456,
|
| 642 |
+
"Ġpredi": 457,
|
| 643 |
+
"Ġpredicts": 458,
|
| 644 |
+
"pr": 459,
|
| 645 |
+
"Ġre": 460,
|
| 646 |
+
"esent": 461,
|
| 647 |
+
"ations": 462,
|
| 648 |
+
"present": 463,
|
| 649 |
+
"Ġrepresent": 464,
|
| 650 |
+
"Ġrepresentations": 465
|
| 651 |
+
},
|
| 652 |
+
"merges": [
|
| 653 |
+
[
|
| 654 |
+
"e",
|
| 655 |
+
"s"
|
| 656 |
+
],
|
| 657 |
+
[
|
| 658 |
+
"e",
|
| 659 |
+
"n"
|
| 660 |
+
],
|
| 661 |
+
[
|
| 662 |
+
"t",
|
| 663 |
+
"h"
|
| 664 |
+
],
|
| 665 |
+
[
|
| 666 |
+
"th",
|
| 667 |
+
"e"
|
| 668 |
+
],
|
| 669 |
+
[
|
| 670 |
+
"a",
|
| 671 |
+
"t"
|
| 672 |
+
],
|
| 673 |
+
[
|
| 674 |
+
"o",
|
| 675 |
+
"r"
|
| 676 |
+
],
|
| 677 |
+
[
|
| 678 |
+
"d",
|
| 679 |
+
"e"
|
| 680 |
+
],
|
| 681 |
+
[
|
| 682 |
+
"at",
|
| 683 |
+
"es"
|
| 684 |
+
],
|
| 685 |
+
[
|
| 686 |
+
"u",
|
| 687 |
+
"t"
|
| 688 |
+
],
|
| 689 |
+
[
|
| 690 |
+
"c",
|
| 691 |
+
"o"
|
| 692 |
+
],
|
| 693 |
+
[
|
| 694 |
+
"r",
|
| 695 |
+
"a"
|
| 696 |
+
],
|
| 697 |
+
[
|
| 698 |
+
"d",
|
| 699 |
+
"i"
|
| 700 |
+
],
|
| 701 |
+
[
|
| 702 |
+
"Ġ",
|
| 703 |
+
"p"
|
| 704 |
+
],
|
| 705 |
+
[
|
| 706 |
+
"Ġ",
|
| 707 |
+
"t"
|
| 708 |
+
],
|
| 709 |
+
[
|
| 710 |
+
"n",
|
| 711 |
+
"s"
|
| 712 |
+
],
|
| 713 |
+
[
|
| 714 |
+
"en",
|
| 715 |
+
"t"
|
| 716 |
+
],
|
| 717 |
+
[
|
| 718 |
+
"s",
|
| 719 |
+
"t"
|
| 720 |
+
],
|
| 721 |
+
[
|
| 722 |
+
"Ġp",
|
| 723 |
+
"r"
|
| 724 |
+
],
|
| 725 |
+
[
|
| 726 |
+
"Ġ",
|
| 727 |
+
"a"
|
| 728 |
+
],
|
| 729 |
+
[
|
| 730 |
+
"i",
|
| 731 |
+
"o"
|
| 732 |
+
],
|
| 733 |
+
[
|
| 734 |
+
"t",
|
| 735 |
+
"s"
|
| 736 |
+
],
|
| 737 |
+
[
|
| 738 |
+
"Ġ",
|
| 739 |
+
"de"
|
| 740 |
+
],
|
| 741 |
+
[
|
| 742 |
+
"Ġde",
|
| 743 |
+
"co"
|
| 744 |
+
],
|
| 745 |
+
[
|
| 746 |
+
"l",
|
| 747 |
+
"i"
|
| 748 |
+
],
|
| 749 |
+
[
|
| 750 |
+
"w",
|
| 751 |
+
"or"
|
| 752 |
+
],
|
| 753 |
+
[
|
| 754 |
+
"wor",
|
| 755 |
+
"k"
|
| 756 |
+
],
|
| 757 |
+
[
|
| 758 |
+
"Ġ",
|
| 759 |
+
"f"
|
| 760 |
+
],
|
| 761 |
+
[
|
| 762 |
+
"n",
|
| 763 |
+
"e"
|
| 764 |
+
],
|
| 765 |
+
[
|
| 766 |
+
"Ġpr",
|
| 767 |
+
"o"
|
| 768 |
+
],
|
| 769 |
+
[
|
| 770 |
+
"Ġ",
|
| 771 |
+
"g"
|
| 772 |
+
],
|
| 773 |
+
[
|
| 774 |
+
"d",
|
| 775 |
+
"es"
|
| 776 |
+
],
|
| 777 |
+
[
|
| 778 |
+
"Ġ",
|
| 779 |
+
"e"
|
| 780 |
+
],
|
| 781 |
+
[
|
| 782 |
+
"e",
|
| 783 |
+
"r"
|
| 784 |
+
],
|
| 785 |
+
[
|
| 786 |
+
"p",
|
| 787 |
+
"ut"
|
| 788 |
+
],
|
| 789 |
+
[
|
| 790 |
+
"a",
|
| 791 |
+
"l"
|
| 792 |
+
],
|
| 793 |
+
[
|
| 794 |
+
"de",
|
| 795 |
+
"r"
|
| 796 |
+
],
|
| 797 |
+
[
|
| 798 |
+
"c",
|
| 799 |
+
"es"
|
| 800 |
+
],
|
| 801 |
+
[
|
| 802 |
+
"f",
|
| 803 |
+
"or"
|
| 804 |
+
],
|
| 805 |
+
[
|
| 806 |
+
"ra",
|
| 807 |
+
"ns"
|
| 808 |
+
],
|
| 809 |
+
[
|
| 810 |
+
"Ġt",
|
| 811 |
+
"rans"
|
| 812 |
+
],
|
| 813 |
+
[
|
| 814 |
+
"for",
|
| 815 |
+
"m"
|
| 816 |
+
],
|
| 817 |
+
[
|
| 818 |
+
"Ġtrans",
|
| 819 |
+
"form"
|
| 820 |
+
],
|
| 821 |
+
[
|
| 822 |
+
"Ġ",
|
| 823 |
+
"s"
|
| 824 |
+
],
|
| 825 |
+
[
|
| 826 |
+
"Ġ",
|
| 827 |
+
"o"
|
| 828 |
+
],
|
| 829 |
+
[
|
| 830 |
+
"z",
|
| 831 |
+
"es"
|
| 832 |
+
],
|
| 833 |
+
[
|
| 834 |
+
"io",
|
| 835 |
+
"ns"
|
| 836 |
+
],
|
| 837 |
+
[
|
| 838 |
+
"Ġ",
|
| 839 |
+
"en"
|
| 840 |
+
],
|
| 841 |
+
[
|
| 842 |
+
"Ġen",
|
| 843 |
+
"co"
|
| 844 |
+
],
|
| 845 |
+
[
|
| 846 |
+
"r",
|
| 847 |
+
"e"
|
| 848 |
+
],
|
| 849 |
+
[
|
| 850 |
+
"Ġdeco",
|
| 851 |
+
"des"
|
| 852 |
+
],
|
| 853 |
+
[
|
| 854 |
+
"a",
|
| 855 |
+
"b"
|
| 856 |
+
],
|
| 857 |
+
[
|
| 858 |
+
"b",
|
| 859 |
+
"ut"
|
| 860 |
+
],
|
| 861 |
+
[
|
| 862 |
+
"b",
|
| 863 |
+
"ab"
|
| 864 |
+
],
|
| 865 |
+
[
|
| 866 |
+
"i",
|
| 867 |
+
"li"
|
| 868 |
+
],
|
| 869 |
+
[
|
| 870 |
+
"i",
|
| 871 |
+
"but"
|
| 872 |
+
],
|
| 873 |
+
[
|
| 874 |
+
"r",
|
| 875 |
+
"ibut"
|
| 876 |
+
],
|
| 877 |
+
[
|
| 878 |
+
"t",
|
| 879 |
+
"y"
|
| 880 |
+
],
|
| 881 |
+
[
|
| 882 |
+
"Ġ",
|
| 883 |
+
"di"
|
| 884 |
+
],
|
| 885 |
+
[
|
| 886 |
+
"st",
|
| 887 |
+
"ribut"
|
| 888 |
+
],
|
| 889 |
+
[
|
| 890 |
+
"Ġpro",
|
| 891 |
+
"bab"
|
| 892 |
+
],
|
| 893 |
+
[
|
| 894 |
+
"ili",
|
| 895 |
+
"ty"
|
| 896 |
+
],
|
| 897 |
+
[
|
| 898 |
+
"Ġdi",
|
| 899 |
+
"stribut"
|
| 900 |
+
],
|
| 901 |
+
[
|
| 902 |
+
"Ġprobab",
|
| 903 |
+
"ility"
|
| 904 |
+
],
|
| 905 |
+
[
|
| 906 |
+
"Ġdistribut",
|
| 907 |
+
"ions"
|
| 908 |
+
],
|
| 909 |
+
[
|
| 910 |
+
"d",
|
| 911 |
+
"d"
|
| 912 |
+
],
|
| 913 |
+
[
|
| 914 |
+
"h",
|
| 915 |
+
"i"
|
| 916 |
+
],
|
| 917 |
+
[
|
| 918 |
+
"Ġ",
|
| 919 |
+
"st"
|
| 920 |
+
],
|
| 921 |
+
[
|
| 922 |
+
"Ġ",
|
| 923 |
+
"hi"
|
| 924 |
+
],
|
| 925 |
+
[
|
| 926 |
+
"dd",
|
| 927 |
+
"en"
|
| 928 |
+
],
|
| 929 |
+
[
|
| 930 |
+
"Ġst",
|
| 931 |
+
"ates"
|
| 932 |
+
],
|
| 933 |
+
[
|
| 934 |
+
"Ġhi",
|
| 935 |
+
"dden"
|
| 936 |
+
],
|
| 937 |
+
[
|
| 938 |
+
"en",
|
| 939 |
+
"er"
|
| 940 |
+
],
|
| 941 |
+
[
|
| 942 |
+
"Ġg",
|
| 943 |
+
"ener"
|
| 944 |
+
],
|
| 945 |
+
[
|
| 946 |
+
"Ġgener",
|
| 947 |
+
"ates"
|
| 948 |
+
],
|
| 949 |
+
[
|
| 950 |
+
"e",
|
| 951 |
+
"work"
|
| 952 |
+
],
|
| 953 |
+
[
|
| 954 |
+
"m",
|
| 955 |
+
"ework"
|
| 956 |
+
],
|
| 957 |
+
[
|
| 958 |
+
"ra",
|
| 959 |
+
"mework"
|
| 960 |
+
],
|
| 961 |
+
[
|
| 962 |
+
"Ġf",
|
| 963 |
+
"ramework"
|
| 964 |
+
],
|
| 965 |
+
[
|
| 966 |
+
"a",
|
| 967 |
+
"s"
|
| 968 |
+
],
|
| 969 |
+
[
|
| 970 |
+
"c",
|
| 971 |
+
"l"
|
| 972 |
+
],
|
| 973 |
+
[
|
| 974 |
+
"f",
|
| 975 |
+
"i"
|
| 976 |
+
],
|
| 977 |
+
[
|
| 978 |
+
"i",
|
| 979 |
+
"fi"
|
| 980 |
+
],
|
| 981 |
+
[
|
| 982 |
+
"s",
|
| 983 |
+
"ifi"
|
| 984 |
+
],
|
| 985 |
+
[
|
| 986 |
+
"Ġ",
|
| 987 |
+
"cl"
|
| 988 |
+
],
|
| 989 |
+
[
|
| 990 |
+
"as",
|
| 991 |
+
"sifi"
|
| 992 |
+
],
|
| 993 |
+
[
|
| 994 |
+
"Ġcl",
|
| 995 |
+
"assifi"
|
| 996 |
+
],
|
| 997 |
+
[
|
| 998 |
+
"Ġclassifi",
|
| 999 |
+
"es"
|
| 1000 |
+
],
|
| 1001 |
+
[
|
| 1002 |
+
"b",
|
| 1003 |
+
"e"
|
| 1004 |
+
],
|
| 1005 |
+
[
|
| 1006 |
+
"d",
|
| 1007 |
+
"di"
|
| 1008 |
+
],
|
| 1009 |
+
[
|
| 1010 |
+
"g",
|
| 1011 |
+
"s"
|
| 1012 |
+
],
|
| 1013 |
+
[
|
| 1014 |
+
"m",
|
| 1015 |
+
"be"
|
| 1016 |
+
],
|
| 1017 |
+
[
|
| 1018 |
+
"n",
|
| 1019 |
+
"gs"
|
| 1020 |
+
],
|
| 1021 |
+
[
|
| 1022 |
+
"Ġe",
|
| 1023 |
+
"mbe"
|
| 1024 |
+
],
|
| 1025 |
+
[
|
| 1026 |
+
"ddi",
|
| 1027 |
+
"ngs"
|
| 1028 |
+
],
|
| 1029 |
+
[
|
| 1030 |
+
"Ġembe",
|
| 1031 |
+
"ddings"
|
| 1032 |
+
],
|
| 1033 |
+
[
|
| 1034 |
+
"t",
|
| 1035 |
+
"work"
|
| 1036 |
+
],
|
| 1037 |
+
[
|
| 1038 |
+
"Ġ",
|
| 1039 |
+
"ne"
|
| 1040 |
+
],
|
| 1041 |
+
[
|
| 1042 |
+
"Ġne",
|
| 1043 |
+
"twork"
|
| 1044 |
+
],
|
| 1045 |
+
[
|
| 1046 |
+
"e",
|
| 1047 |
+
"li"
|
| 1048 |
+
],
|
| 1049 |
+
[
|
| 1050 |
+
"i",
|
| 1051 |
+
"p"
|
| 1052 |
+
],
|
| 1053 |
+
[
|
| 1054 |
+
"Ġp",
|
| 1055 |
+
"ip"
|
| 1056 |
+
],
|
| 1057 |
+
[
|
| 1058 |
+
"eli",
|
| 1059 |
+
"ne"
|
| 1060 |
+
],
|
| 1061 |
+
[
|
| 1062 |
+
"Ġpip",
|
| 1063 |
+
"eline"
|
| 1064 |
+
],
|
| 1065 |
+
[
|
| 1066 |
+
"Ġdeco",
|
| 1067 |
+
"der"
|
| 1068 |
+
],
|
| 1069 |
+
[
|
| 1070 |
+
"c",
|
| 1071 |
+
"t"
|
| 1072 |
+
],
|
| 1073 |
+
[
|
| 1074 |
+
"e",
|
| 1075 |
+
"at"
|
| 1076 |
+
],
|
| 1077 |
+
[
|
| 1078 |
+
"e",
|
| 1079 |
+
"ct"
|
| 1080 |
+
],
|
| 1081 |
+
[
|
| 1082 |
+
"u",
|
| 1083 |
+
"re"
|
| 1084 |
+
],
|
| 1085 |
+
[
|
| 1086 |
+
"v",
|
| 1087 |
+
"ect"
|
| 1088 |
+
],
|
| 1089 |
+
[
|
| 1090 |
+
"Ġ",
|
| 1091 |
+
"vect"
|
| 1092 |
+
],
|
| 1093 |
+
[
|
| 1094 |
+
"or",
|
| 1095 |
+
"s"
|
| 1096 |
+
],
|
| 1097 |
+
[
|
| 1098 |
+
"Ġf",
|
| 1099 |
+
"eat"
|
| 1100 |
+
],
|
| 1101 |
+
[
|
| 1102 |
+
"Ġvect",
|
| 1103 |
+
"ors"
|
| 1104 |
+
],
|
| 1105 |
+
[
|
| 1106 |
+
"Ġfeat",
|
| 1107 |
+
"ure"
|
| 1108 |
+
],
|
| 1109 |
+
[
|
| 1110 |
+
"a",
|
| 1111 |
+
"n"
|
| 1112 |
+
],
|
| 1113 |
+
[
|
| 1114 |
+
"g",
|
| 1115 |
+
"ent"
|
| 1116 |
+
],
|
| 1117 |
+
[
|
| 1118 |
+
"Ġa",
|
| 1119 |
+
"gent"
|
| 1120 |
+
],
|
| 1121 |
+
[
|
| 1122 |
+
"m",
|
| 1123 |
+
"o"
|
| 1124 |
+
],
|
| 1125 |
+
[
|
| 1126 |
+
"Ġ",
|
| 1127 |
+
"mo"
|
| 1128 |
+
],
|
| 1129 |
+
[
|
| 1130 |
+
"de",
|
| 1131 |
+
"l"
|
| 1132 |
+
],
|
| 1133 |
+
[
|
| 1134 |
+
"Ġmo",
|
| 1135 |
+
"del"
|
| 1136 |
+
],
|
| 1137 |
+
[
|
| 1138 |
+
"i",
|
| 1139 |
+
"n"
|
| 1140 |
+
],
|
| 1141 |
+
[
|
| 1142 |
+
"k",
|
| 1143 |
+
"en"
|
| 1144 |
+
],
|
| 1145 |
+
[
|
| 1146 |
+
"o",
|
| 1147 |
+
"ken"
|
| 1148 |
+
],
|
| 1149 |
+
[
|
| 1150 |
+
"Ġ",
|
| 1151 |
+
"in"
|
| 1152 |
+
],
|
| 1153 |
+
[
|
| 1154 |
+
"Ġt",
|
| 1155 |
+
"oken"
|
| 1156 |
+
],
|
| 1157 |
+
[
|
| 1158 |
+
"Ġin",
|
| 1159 |
+
"put"
|
| 1160 |
+
],
|
| 1161 |
+
[
|
| 1162 |
+
"Ġtoken",
|
| 1163 |
+
"s"
|
| 1164 |
+
],
|
| 1165 |
+
[
|
| 1166 |
+
"g",
|
| 1167 |
+
"i"
|
| 1168 |
+
],
|
| 1169 |
+
[
|
| 1170 |
+
"l",
|
| 1171 |
+
"o"
|
| 1172 |
+
],
|
| 1173 |
+
[
|
| 1174 |
+
"Ġ",
|
| 1175 |
+
"lo"
|
| 1176 |
+
],
|
| 1177 |
+
[
|
| 1178 |
+
"ut",
|
| 1179 |
+
"put"
|
| 1180 |
+
],
|
| 1181 |
+
[
|
| 1182 |
+
"Ġo",
|
| 1183 |
+
"utput"
|
| 1184 |
+
],
|
| 1185 |
+
[
|
| 1186 |
+
"gi",
|
| 1187 |
+
"ts"
|
| 1188 |
+
],
|
| 1189 |
+
[
|
| 1190 |
+
"Ġlo",
|
| 1191 |
+
"gits"
|
| 1192 |
+
],
|
| 1193 |
+
[
|
| 1194 |
+
"u",
|
| 1195 |
+
"ates"
|
| 1196 |
+
],
|
| 1197 |
+
[
|
| 1198 |
+
"v",
|
| 1199 |
+
"al"
|
| 1200 |
+
],
|
| 1201 |
+
[
|
| 1202 |
+
"Ġe",
|
| 1203 |
+
"val"
|
| 1204 |
+
],
|
| 1205 |
+
[
|
| 1206 |
+
"Ġtransform",
|
| 1207 |
+
"s"
|
| 1208 |
+
],
|
| 1209 |
+
[
|
| 1210 |
+
"Ġeval",
|
| 1211 |
+
"uates"
|
| 1212 |
+
],
|
| 1213 |
+
[
|
| 1214 |
+
"s",
|
| 1215 |
+
"es"
|
| 1216 |
+
],
|
| 1217 |
+
[
|
| 1218 |
+
"Ġpro",
|
| 1219 |
+
"ces"
|
| 1220 |
+
],
|
| 1221 |
+
[
|
| 1222 |
+
"Ġproces",
|
| 1223 |
+
"ses"
|
| 1224 |
+
],
|
| 1225 |
+
[
|
| 1226 |
+
"d",
|
| 1227 |
+
"ates"
|
| 1228 |
+
],
|
| 1229 |
+
[
|
| 1230 |
+
"p",
|
| 1231 |
+
"dates"
|
| 1232 |
+
],
|
| 1233 |
+
[
|
| 1234 |
+
"u",
|
| 1235 |
+
"pdates"
|
| 1236 |
+
],
|
| 1237 |
+
[
|
| 1238 |
+
"Ġ",
|
| 1239 |
+
"updates"
|
| 1240 |
+
],
|
| 1241 |
+
[
|
| 1242 |
+
"ra",
|
| 1243 |
+
"di"
|
| 1244 |
+
],
|
| 1245 |
+
[
|
| 1246 |
+
"Ġg",
|
| 1247 |
+
"radi"
|
| 1248 |
+
],
|
| 1249 |
+
[
|
| 1250 |
+
"Ġgradi",
|
| 1251 |
+
"ent"
|
| 1252 |
+
],
|
| 1253 |
+
[
|
| 1254 |
+
"n",
|
| 1255 |
+
"al"
|
| 1256 |
+
],
|
| 1257 |
+
[
|
| 1258 |
+
"y",
|
| 1259 |
+
"zes"
|
| 1260 |
+
],
|
| 1261 |
+
[
|
| 1262 |
+
"Ġa",
|
| 1263 |
+
"nal"
|
| 1264 |
+
],
|
| 1265 |
+
[
|
| 1266 |
+
"Ġanal",
|
| 1267 |
+
"yzes"
|
| 1268 |
+
],
|
| 1269 |
+
[
|
| 1270 |
+
"e",
|
| 1271 |
+
"q"
|
| 1272 |
+
],
|
| 1273 |
+
[
|
| 1274 |
+
"e",
|
| 1275 |
+
"x"
|
| 1276 |
+
],
|
| 1277 |
+
[
|
| 1278 |
+
"u",
|
| 1279 |
+
"en"
|
| 1280 |
+
],
|
| 1281 |
+
[
|
| 1282 |
+
"Ġt",
|
| 1283 |
+
"ex"
|
| 1284 |
+
],
|
| 1285 |
+
[
|
| 1286 |
+
"Ġs",
|
| 1287 |
+
"eq"
|
| 1288 |
+
],
|
| 1289 |
+
[
|
| 1290 |
+
"uen",
|
| 1291 |
+
"ces"
|
| 1292 |
+
],
|
| 1293 |
+
[
|
| 1294 |
+
"Ġtex",
|
| 1295 |
+
"t"
|
| 1296 |
+
],
|
| 1297 |
+
[
|
| 1298 |
+
"Ġseq",
|
| 1299 |
+
"uences"
|
| 1300 |
+
],
|
| 1301 |
+
[
|
| 1302 |
+
"e",
|
| 1303 |
+
"m"
|
| 1304 |
+
],
|
| 1305 |
+
[
|
| 1306 |
+
"y",
|
| 1307 |
+
"st"
|
| 1308 |
+
],
|
| 1309 |
+
[
|
| 1310 |
+
"Ġs",
|
| 1311 |
+
"yst"
|
| 1312 |
+
],
|
| 1313 |
+
[
|
| 1314 |
+
"Ġsyst",
|
| 1315 |
+
"em"
|
| 1316 |
+
],
|
| 1317 |
+
[
|
| 1318 |
+
"Ġtransform",
|
| 1319 |
+
"er"
|
| 1320 |
+
],
|
| 1321 |
+
[
|
| 1322 |
+
"Ġenco",
|
| 1323 |
+
"des"
|
| 1324 |
+
],
|
| 1325 |
+
[
|
| 1326 |
+
"i",
|
| 1327 |
+
"m"
|
| 1328 |
+
],
|
| 1329 |
+
[
|
| 1330 |
+
"i",
|
| 1331 |
+
"zes"
|
| 1332 |
+
],
|
| 1333 |
+
[
|
| 1334 |
+
"p",
|
| 1335 |
+
"t"
|
| 1336 |
+
],
|
| 1337 |
+
[
|
| 1338 |
+
"Ġo",
|
| 1339 |
+
"pt"
|
| 1340 |
+
],
|
| 1341 |
+
[
|
| 1342 |
+
"im",
|
| 1343 |
+
"izes"
|
| 1344 |
+
],
|
| 1345 |
+
[
|
| 1346 |
+
"Ġopt",
|
| 1347 |
+
"imizes"
|
| 1348 |
+
],
|
| 1349 |
+
[
|
| 1350 |
+
"Ġenco",
|
| 1351 |
+
"der"
|
| 1352 |
+
],
|
| 1353 |
+
[
|
| 1354 |
+
"e",
|
| 1355 |
+
"i"
|
| 1356 |
+
],
|
| 1357 |
+
[
|
| 1358 |
+
"g",
|
| 1359 |
+
"h"
|
| 1360 |
+
],
|
| 1361 |
+
[
|
| 1362 |
+
"t",
|
| 1363 |
+
"ent"
|
| 1364 |
+
],
|
| 1365 |
+
[
|
| 1366 |
+
"w",
|
| 1367 |
+
"ei"
|
| 1368 |
+
],
|
| 1369 |
+
[
|
| 1370 |
+
"Ġ",
|
| 1371 |
+
"at"
|
| 1372 |
+
],
|
| 1373 |
+
[
|
| 1374 |
+
"Ġ",
|
| 1375 |
+
"wei"
|
| 1376 |
+
],
|
| 1377 |
+
[
|
| 1378 |
+
"io",
|
| 1379 |
+
"n"
|
| 1380 |
+
],
|
| 1381 |
+
[
|
| 1382 |
+
"gh",
|
| 1383 |
+
"ts"
|
| 1384 |
+
],
|
| 1385 |
+
[
|
| 1386 |
+
"tent",
|
| 1387 |
+
"ion"
|
| 1388 |
+
],
|
| 1389 |
+
[
|
| 1390 |
+
"Ġat",
|
| 1391 |
+
"tention"
|
| 1392 |
+
],
|
| 1393 |
+
[
|
| 1394 |
+
"Ġwei",
|
| 1395 |
+
"ghts"
|
| 1396 |
+
],
|
| 1397 |
+
[
|
| 1398 |
+
"g",
|
| 1399 |
+
"or"
|
| 1400 |
+
],
|
| 1401 |
+
[
|
| 1402 |
+
"i",
|
| 1403 |
+
"th"
|
| 1404 |
+
],
|
| 1405 |
+
[
|
| 1406 |
+
"l",
|
| 1407 |
+
"gor"
|
| 1408 |
+
],
|
| 1409 |
+
[
|
| 1410 |
+
"Ġa",
|
| 1411 |
+
"lgor"
|
| 1412 |
+
],
|
| 1413 |
+
[
|
| 1414 |
+
"ith",
|
| 1415 |
+
"m"
|
| 1416 |
+
],
|
| 1417 |
+
[
|
| 1418 |
+
"Ġalgor",
|
| 1419 |
+
"ithm"
|
| 1420 |
+
],
|
| 1421 |
+
[
|
| 1422 |
+
"c",
|
| 1423 |
+
"ts"
|
| 1424 |
+
],
|
| 1425 |
+
[
|
| 1426 |
+
"e",
|
| 1427 |
+
"di"
|
| 1428 |
+
],
|
| 1429 |
+
[
|
| 1430 |
+
"Ġpr",
|
| 1431 |
+
"edi"
|
| 1432 |
+
],
|
| 1433 |
+
[
|
| 1434 |
+
"Ġpredi",
|
| 1435 |
+
"cts"
|
| 1436 |
+
],
|
| 1437 |
+
[
|
| 1438 |
+
"p",
|
| 1439 |
+
"r"
|
| 1440 |
+
],
|
| 1441 |
+
[
|
| 1442 |
+
"Ġ",
|
| 1443 |
+
"re"
|
| 1444 |
+
],
|
| 1445 |
+
[
|
| 1446 |
+
"es",
|
| 1447 |
+
"ent"
|
| 1448 |
+
],
|
| 1449 |
+
[
|
| 1450 |
+
"at",
|
| 1451 |
+
"ions"
|
| 1452 |
+
],
|
| 1453 |
+
[
|
| 1454 |
+
"pr",
|
| 1455 |
+
"esent"
|
| 1456 |
+
],
|
| 1457 |
+
[
|
| 1458 |
+
"Ġre",
|
| 1459 |
+
"present"
|
| 1460 |
+
],
|
| 1461 |
+
[
|
| 1462 |
+
"Ġrepresent",
|
| 1463 |
+
"ations"
|
| 1464 |
+
]
|
| 1465 |
+
]
|
| 1466 |
+
}
|
| 1467 |
+
}
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tokenizer_class": "PreTrainedTokenizerFast",
|
| 3 |
+
"clean_up_tokenization_spaces": false,
|
| 4 |
+
"padding_side": "right",
|
| 5 |
+
"truncation_side": "right",
|
| 6 |
+
"unk_token": "[UNK]",
|
| 7 |
+
"pad_token": "[PAD]",
|
| 8 |
+
"sep_token": "[SEP]",
|
| 9 |
+
"cls_token": "[CLS]",
|
| 10 |
+
"mask_token": "[MASK]",
|
| 11 |
+
"bos_token": "[BOS]",
|
| 12 |
+
"eos_token": "[EOS]",
|
| 13 |
+
"model_max_length": 128
|
| 14 |
+
}
|
vocab.json
ADDED
|
@@ -0,0 +1,468 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"[PAD]": 0,
|
| 3 |
+
"[UNK]": 1,
|
| 4 |
+
"[SEP]": 2,
|
| 5 |
+
"[CLS]": 3,
|
| 6 |
+
"[MASK]": 4,
|
| 7 |
+
"[BOS]": 5,
|
| 8 |
+
"[EOS]": 6,
|
| 9 |
+
"!": 7,
|
| 10 |
+
"\"": 8,
|
| 11 |
+
"#": 9,
|
| 12 |
+
"$": 10,
|
| 13 |
+
"%": 11,
|
| 14 |
+
"&": 12,
|
| 15 |
+
"'": 13,
|
| 16 |
+
"(": 14,
|
| 17 |
+
")": 15,
|
| 18 |
+
"*": 16,
|
| 19 |
+
"+": 17,
|
| 20 |
+
",": 18,
|
| 21 |
+
"-": 19,
|
| 22 |
+
".": 20,
|
| 23 |
+
"/": 21,
|
| 24 |
+
"0": 22,
|
| 25 |
+
"1": 23,
|
| 26 |
+
"2": 24,
|
| 27 |
+
"3": 25,
|
| 28 |
+
"4": 26,
|
| 29 |
+
"5": 27,
|
| 30 |
+
"6": 28,
|
| 31 |
+
"7": 29,
|
| 32 |
+
"8": 30,
|
| 33 |
+
"9": 31,
|
| 34 |
+
":": 32,
|
| 35 |
+
";": 33,
|
| 36 |
+
"<": 34,
|
| 37 |
+
"=": 35,
|
| 38 |
+
">": 36,
|
| 39 |
+
"?": 37,
|
| 40 |
+
"@": 38,
|
| 41 |
+
"A": 39,
|
| 42 |
+
"B": 40,
|
| 43 |
+
"C": 41,
|
| 44 |
+
"D": 42,
|
| 45 |
+
"E": 43,
|
| 46 |
+
"F": 44,
|
| 47 |
+
"G": 45,
|
| 48 |
+
"H": 46,
|
| 49 |
+
"I": 47,
|
| 50 |
+
"J": 48,
|
| 51 |
+
"K": 49,
|
| 52 |
+
"L": 50,
|
| 53 |
+
"M": 51,
|
| 54 |
+
"N": 52,
|
| 55 |
+
"O": 53,
|
| 56 |
+
"P": 54,
|
| 57 |
+
"Q": 55,
|
| 58 |
+
"R": 56,
|
| 59 |
+
"S": 57,
|
| 60 |
+
"T": 58,
|
| 61 |
+
"U": 59,
|
| 62 |
+
"V": 60,
|
| 63 |
+
"W": 61,
|
| 64 |
+
"X": 62,
|
| 65 |
+
"Y": 63,
|
| 66 |
+
"Z": 64,
|
| 67 |
+
"[": 65,
|
| 68 |
+
"\\": 66,
|
| 69 |
+
"]": 67,
|
| 70 |
+
"^": 68,
|
| 71 |
+
"_": 69,
|
| 72 |
+
"`": 70,
|
| 73 |
+
"a": 71,
|
| 74 |
+
"b": 72,
|
| 75 |
+
"c": 73,
|
| 76 |
+
"d": 74,
|
| 77 |
+
"e": 75,
|
| 78 |
+
"f": 76,
|
| 79 |
+
"g": 77,
|
| 80 |
+
"h": 78,
|
| 81 |
+
"i": 79,
|
| 82 |
+
"j": 80,
|
| 83 |
+
"k": 81,
|
| 84 |
+
"l": 82,
|
| 85 |
+
"m": 83,
|
| 86 |
+
"n": 84,
|
| 87 |
+
"o": 85,
|
| 88 |
+
"p": 86,
|
| 89 |
+
"q": 87,
|
| 90 |
+
"r": 88,
|
| 91 |
+
"s": 89,
|
| 92 |
+
"t": 90,
|
| 93 |
+
"u": 91,
|
| 94 |
+
"v": 92,
|
| 95 |
+
"w": 93,
|
| 96 |
+
"x": 94,
|
| 97 |
+
"y": 95,
|
| 98 |
+
"z": 96,
|
| 99 |
+
"{": 97,
|
| 100 |
+
"|": 98,
|
| 101 |
+
"}": 99,
|
| 102 |
+
"~": 100,
|
| 103 |
+
"¡": 101,
|
| 104 |
+
"¢": 102,
|
| 105 |
+
"£": 103,
|
| 106 |
+
"¤": 104,
|
| 107 |
+
"¥": 105,
|
| 108 |
+
"¦": 106,
|
| 109 |
+
"§": 107,
|
| 110 |
+
"¨": 108,
|
| 111 |
+
"©": 109,
|
| 112 |
+
"ª": 110,
|
| 113 |
+
"«": 111,
|
| 114 |
+
"¬": 112,
|
| 115 |
+
"®": 113,
|
| 116 |
+
"¯": 114,
|
| 117 |
+
"°": 115,
|
| 118 |
+
"±": 116,
|
| 119 |
+
"²": 117,
|
| 120 |
+
"³": 118,
|
| 121 |
+
"´": 119,
|
| 122 |
+
"µ": 120,
|
| 123 |
+
"¶": 121,
|
| 124 |
+
"·": 122,
|
| 125 |
+
"¸": 123,
|
| 126 |
+
"¹": 124,
|
| 127 |
+
"º": 125,
|
| 128 |
+
"»": 126,
|
| 129 |
+
"¼": 127,
|
| 130 |
+
"½": 128,
|
| 131 |
+
"¾": 129,
|
| 132 |
+
"¿": 130,
|
| 133 |
+
"À": 131,
|
| 134 |
+
"Á": 132,
|
| 135 |
+
"Â": 133,
|
| 136 |
+
"Ã": 134,
|
| 137 |
+
"Ä": 135,
|
| 138 |
+
"Å": 136,
|
| 139 |
+
"Æ": 137,
|
| 140 |
+
"Ç": 138,
|
| 141 |
+
"È": 139,
|
| 142 |
+
"É": 140,
|
| 143 |
+
"Ê": 141,
|
| 144 |
+
"Ë": 142,
|
| 145 |
+
"Ì": 143,
|
| 146 |
+
"Í": 144,
|
| 147 |
+
"Î": 145,
|
| 148 |
+
"Ï": 146,
|
| 149 |
+
"Ð": 147,
|
| 150 |
+
"Ñ": 148,
|
| 151 |
+
"Ò": 149,
|
| 152 |
+
"Ó": 150,
|
| 153 |
+
"Ô": 151,
|
| 154 |
+
"Õ": 152,
|
| 155 |
+
"Ö": 153,
|
| 156 |
+
"×": 154,
|
| 157 |
+
"Ø": 155,
|
| 158 |
+
"Ù": 156,
|
| 159 |
+
"Ú": 157,
|
| 160 |
+
"Û": 158,
|
| 161 |
+
"Ü": 159,
|
| 162 |
+
"Ý": 160,
|
| 163 |
+
"Þ": 161,
|
| 164 |
+
"ß": 162,
|
| 165 |
+
"à": 163,
|
| 166 |
+
"á": 164,
|
| 167 |
+
"â": 165,
|
| 168 |
+
"ã": 166,
|
| 169 |
+
"ä": 167,
|
| 170 |
+
"å": 168,
|
| 171 |
+
"æ": 169,
|
| 172 |
+
"ç": 170,
|
| 173 |
+
"è": 171,
|
| 174 |
+
"é": 172,
|
| 175 |
+
"ê": 173,
|
| 176 |
+
"ë": 174,
|
| 177 |
+
"ì": 175,
|
| 178 |
+
"í": 176,
|
| 179 |
+
"î": 177,
|
| 180 |
+
"ï": 178,
|
| 181 |
+
"ð": 179,
|
| 182 |
+
"ñ": 180,
|
| 183 |
+
"ò": 181,
|
| 184 |
+
"ó": 182,
|
| 185 |
+
"ô": 183,
|
| 186 |
+
"õ": 184,
|
| 187 |
+
"ö": 185,
|
| 188 |
+
"÷": 186,
|
| 189 |
+
"ø": 187,
|
| 190 |
+
"ù": 188,
|
| 191 |
+
"ú": 189,
|
| 192 |
+
"û": 190,
|
| 193 |
+
"ü": 191,
|
| 194 |
+
"ý": 192,
|
| 195 |
+
"þ": 193,
|
| 196 |
+
"ÿ": 194,
|
| 197 |
+
"Ā": 195,
|
| 198 |
+
"ā": 196,
|
| 199 |
+
"Ă": 197,
|
| 200 |
+
"ă": 198,
|
| 201 |
+
"Ą": 199,
|
| 202 |
+
"ą": 200,
|
| 203 |
+
"Ć": 201,
|
| 204 |
+
"ć": 202,
|
| 205 |
+
"Ĉ": 203,
|
| 206 |
+
"ĉ": 204,
|
| 207 |
+
"Ċ": 205,
|
| 208 |
+
"ċ": 206,
|
| 209 |
+
"Č": 207,
|
| 210 |
+
"č": 208,
|
| 211 |
+
"Ď": 209,
|
| 212 |
+
"ď": 210,
|
| 213 |
+
"Đ": 211,
|
| 214 |
+
"đ": 212,
|
| 215 |
+
"Ē": 213,
|
| 216 |
+
"ē": 214,
|
| 217 |
+
"Ĕ": 215,
|
| 218 |
+
"ĕ": 216,
|
| 219 |
+
"Ė": 217,
|
| 220 |
+
"ė": 218,
|
| 221 |
+
"Ę": 219,
|
| 222 |
+
"ę": 220,
|
| 223 |
+
"Ě": 221,
|
| 224 |
+
"ě": 222,
|
| 225 |
+
"Ĝ": 223,
|
| 226 |
+
"ĝ": 224,
|
| 227 |
+
"Ğ": 225,
|
| 228 |
+
"ğ": 226,
|
| 229 |
+
"Ġ": 227,
|
| 230 |
+
"ġ": 228,
|
| 231 |
+
"Ģ": 229,
|
| 232 |
+
"ģ": 230,
|
| 233 |
+
"Ĥ": 231,
|
| 234 |
+
"ĥ": 232,
|
| 235 |
+
"Ħ": 233,
|
| 236 |
+
"ħ": 234,
|
| 237 |
+
"Ĩ": 235,
|
| 238 |
+
"ĩ": 236,
|
| 239 |
+
"Ī": 237,
|
| 240 |
+
"ī": 238,
|
| 241 |
+
"Ĭ": 239,
|
| 242 |
+
"ĭ": 240,
|
| 243 |
+
"Į": 241,
|
| 244 |
+
"į": 242,
|
| 245 |
+
"İ": 243,
|
| 246 |
+
"ı": 244,
|
| 247 |
+
"IJ": 245,
|
| 248 |
+
"ij": 246,
|
| 249 |
+
"Ĵ": 247,
|
| 250 |
+
"ĵ": 248,
|
| 251 |
+
"Ķ": 249,
|
| 252 |
+
"ķ": 250,
|
| 253 |
+
"ĸ": 251,
|
| 254 |
+
"Ĺ": 252,
|
| 255 |
+
"ĺ": 253,
|
| 256 |
+
"Ļ": 254,
|
| 257 |
+
"ļ": 255,
|
| 258 |
+
"Ľ": 256,
|
| 259 |
+
"ľ": 257,
|
| 260 |
+
"Ŀ": 258,
|
| 261 |
+
"ŀ": 259,
|
| 262 |
+
"Ł": 260,
|
| 263 |
+
"ł": 261,
|
| 264 |
+
"Ń": 262,
|
| 265 |
+
"es": 263,
|
| 266 |
+
"en": 264,
|
| 267 |
+
"th": 265,
|
| 268 |
+
"the": 266,
|
| 269 |
+
"at": 267,
|
| 270 |
+
"or": 268,
|
| 271 |
+
"de": 269,
|
| 272 |
+
"ates": 270,
|
| 273 |
+
"ut": 271,
|
| 274 |
+
"co": 272,
|
| 275 |
+
"ra": 273,
|
| 276 |
+
"di": 274,
|
| 277 |
+
"Ġp": 275,
|
| 278 |
+
"Ġt": 276,
|
| 279 |
+
"ns": 277,
|
| 280 |
+
"ent": 278,
|
| 281 |
+
"st": 279,
|
| 282 |
+
"Ġpr": 280,
|
| 283 |
+
"Ġa": 281,
|
| 284 |
+
"io": 282,
|
| 285 |
+
"ts": 283,
|
| 286 |
+
"Ġde": 284,
|
| 287 |
+
"Ġdeco": 285,
|
| 288 |
+
"li": 286,
|
| 289 |
+
"wor": 287,
|
| 290 |
+
"work": 288,
|
| 291 |
+
"Ġf": 289,
|
| 292 |
+
"ne": 290,
|
| 293 |
+
"Ġpro": 291,
|
| 294 |
+
"Ġg": 292,
|
| 295 |
+
"des": 293,
|
| 296 |
+
"Ġe": 294,
|
| 297 |
+
"er": 295,
|
| 298 |
+
"put": 296,
|
| 299 |
+
"al": 297,
|
| 300 |
+
"der": 298,
|
| 301 |
+
"ces": 299,
|
| 302 |
+
"for": 300,
|
| 303 |
+
"rans": 301,
|
| 304 |
+
"Ġtrans": 302,
|
| 305 |
+
"form": 303,
|
| 306 |
+
"Ġtransform": 304,
|
| 307 |
+
"Ġs": 305,
|
| 308 |
+
"Ġo": 306,
|
| 309 |
+
"zes": 307,
|
| 310 |
+
"ions": 308,
|
| 311 |
+
"Ġen": 309,
|
| 312 |
+
"Ġenco": 310,
|
| 313 |
+
"re": 311,
|
| 314 |
+
"Ġdecodes": 312,
|
| 315 |
+
"ab": 313,
|
| 316 |
+
"but": 314,
|
| 317 |
+
"bab": 315,
|
| 318 |
+
"ili": 316,
|
| 319 |
+
"ibut": 317,
|
| 320 |
+
"ribut": 318,
|
| 321 |
+
"ty": 319,
|
| 322 |
+
"Ġdi": 320,
|
| 323 |
+
"stribut": 321,
|
| 324 |
+
"Ġprobab": 322,
|
| 325 |
+
"ility": 323,
|
| 326 |
+
"Ġdistribut": 324,
|
| 327 |
+
"Ġprobability": 325,
|
| 328 |
+
"Ġdistributions": 326,
|
| 329 |
+
"dd": 327,
|
| 330 |
+
"hi": 328,
|
| 331 |
+
"Ġst": 329,
|
| 332 |
+
"Ġhi": 330,
|
| 333 |
+
"dden": 331,
|
| 334 |
+
"Ġstates": 332,
|
| 335 |
+
"Ġhidden": 333,
|
| 336 |
+
"ener": 334,
|
| 337 |
+
"Ġgener": 335,
|
| 338 |
+
"Ġgenerates": 336,
|
| 339 |
+
"ework": 337,
|
| 340 |
+
"mework": 338,
|
| 341 |
+
"ramework": 339,
|
| 342 |
+
"Ġframework": 340,
|
| 343 |
+
"as": 341,
|
| 344 |
+
"cl": 342,
|
| 345 |
+
"fi": 343,
|
| 346 |
+
"ifi": 344,
|
| 347 |
+
"sifi": 345,
|
| 348 |
+
"Ġcl": 346,
|
| 349 |
+
"assifi": 347,
|
| 350 |
+
"Ġclassifi": 348,
|
| 351 |
+
"Ġclassifies": 349,
|
| 352 |
+
"be": 350,
|
| 353 |
+
"ddi": 351,
|
| 354 |
+
"gs": 352,
|
| 355 |
+
"mbe": 353,
|
| 356 |
+
"ngs": 354,
|
| 357 |
+
"Ġembe": 355,
|
| 358 |
+
"ddings": 356,
|
| 359 |
+
"Ġembeddings": 357,
|
| 360 |
+
"twork": 358,
|
| 361 |
+
"Ġne": 359,
|
| 362 |
+
"Ġnetwork": 360,
|
| 363 |
+
"eli": 361,
|
| 364 |
+
"ip": 362,
|
| 365 |
+
"Ġpip": 363,
|
| 366 |
+
"eline": 364,
|
| 367 |
+
"Ġpipeline": 365,
|
| 368 |
+
"Ġdecoder": 366,
|
| 369 |
+
"ct": 367,
|
| 370 |
+
"eat": 368,
|
| 371 |
+
"ect": 369,
|
| 372 |
+
"ure": 370,
|
| 373 |
+
"vect": 371,
|
| 374 |
+
"Ġvect": 372,
|
| 375 |
+
"ors": 373,
|
| 376 |
+
"Ġfeat": 374,
|
| 377 |
+
"Ġvectors": 375,
|
| 378 |
+
"Ġfeature": 376,
|
| 379 |
+
"an": 377,
|
| 380 |
+
"gent": 378,
|
| 381 |
+
"Ġagent": 379,
|
| 382 |
+
"mo": 380,
|
| 383 |
+
"Ġmo": 381,
|
| 384 |
+
"del": 382,
|
| 385 |
+
"Ġmodel": 383,
|
| 386 |
+
"in": 384,
|
| 387 |
+
"ken": 385,
|
| 388 |
+
"oken": 386,
|
| 389 |
+
"Ġin": 387,
|
| 390 |
+
"Ġtoken": 388,
|
| 391 |
+
"Ġinput": 389,
|
| 392 |
+
"Ġtokens": 390,
|
| 393 |
+
"gi": 391,
|
| 394 |
+
"lo": 392,
|
| 395 |
+
"Ġlo": 393,
|
| 396 |
+
"utput": 394,
|
| 397 |
+
"Ġoutput": 395,
|
| 398 |
+
"gits": 396,
|
| 399 |
+
"Ġlogits": 397,
|
| 400 |
+
"uates": 398,
|
| 401 |
+
"val": 399,
|
| 402 |
+
"Ġeval": 400,
|
| 403 |
+
"Ġtransforms": 401,
|
| 404 |
+
"Ġevaluates": 402,
|
| 405 |
+
"ses": 403,
|
| 406 |
+
"Ġproces": 404,
|
| 407 |
+
"Ġprocesses": 405,
|
| 408 |
+
"dates": 406,
|
| 409 |
+
"pdates": 407,
|
| 410 |
+
"updates": 408,
|
| 411 |
+
"Ġupdates": 409,
|
| 412 |
+
"radi": 410,
|
| 413 |
+
"Ġgradi": 411,
|
| 414 |
+
"Ġgradient": 412,
|
| 415 |
+
"nal": 413,
|
| 416 |
+
"yzes": 414,
|
| 417 |
+
"Ġanal": 415,
|
| 418 |
+
"Ġanalyzes": 416,
|
| 419 |
+
"eq": 417,
|
| 420 |
+
"ex": 418,
|
| 421 |
+
"uen": 419,
|
| 422 |
+
"Ġtex": 420,
|
| 423 |
+
"Ġseq": 421,
|
| 424 |
+
"uences": 422,
|
| 425 |
+
"Ġtext": 423,
|
| 426 |
+
"Ġsequences": 424,
|
| 427 |
+
"em": 425,
|
| 428 |
+
"yst": 426,
|
| 429 |
+
"Ġsyst": 427,
|
| 430 |
+
"Ġsystem": 428,
|
| 431 |
+
"Ġtransformer": 429,
|
| 432 |
+
"Ġencodes": 430,
|
| 433 |
+
"im": 431,
|
| 434 |
+
"izes": 432,
|
| 435 |
+
"pt": 433,
|
| 436 |
+
"Ġopt": 434,
|
| 437 |
+
"imizes": 435,
|
| 438 |
+
"Ġoptimizes": 436,
|
| 439 |
+
"Ġencoder": 437,
|
| 440 |
+
"ei": 438,
|
| 441 |
+
"gh": 439,
|
| 442 |
+
"tent": 440,
|
| 443 |
+
"wei": 441,
|
| 444 |
+
"Ġat": 442,
|
| 445 |
+
"Ġwei": 443,
|
| 446 |
+
"ion": 444,
|
| 447 |
+
"ghts": 445,
|
| 448 |
+
"tention": 446,
|
| 449 |
+
"Ġattention": 447,
|
| 450 |
+
"Ġweights": 448,
|
| 451 |
+
"gor": 449,
|
| 452 |
+
"ith": 450,
|
| 453 |
+
"lgor": 451,
|
| 454 |
+
"Ġalgor": 452,
|
| 455 |
+
"ithm": 453,
|
| 456 |
+
"Ġalgorithm": 454,
|
| 457 |
+
"cts": 455,
|
| 458 |
+
"edi": 456,
|
| 459 |
+
"Ġpredi": 457,
|
| 460 |
+
"Ġpredicts": 458,
|
| 461 |
+
"pr": 459,
|
| 462 |
+
"Ġre": 460,
|
| 463 |
+
"esent": 461,
|
| 464 |
+
"ations": 462,
|
| 465 |
+
"present": 463,
|
| 466 |
+
"Ġrepresent": 464,
|
| 467 |
+
"Ġrepresentations": 465
|
| 468 |
+
}
|