All language subtitles for 014基于单词的标记器

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified) Download
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

Let's take a look at word-based tokenization. Word-based tokenization is the idea of splitting

the raw text into words, by splitting on spaces or other specific rules like punctuation. In this

algorithm, each word has a specific number, an "ID", attributed to it. In this example, "Let's"

has the ID 250, do has ID 861, and tokenization followed by an exclamation point has the ID 345.

This approach is interesting, as the model has representations that are based on entire words.

The information held in a single number is high

as a word contains a lot of contextual and semantic information in a sentence.

However, this approach does have its limits. For example, the word dog and the word

dogs are very similar, and their meaning is close. However, the word-based tokenization

will attribute entirely different IDs to these two words, and the model will therefore learn

different meanings for these two words. This is unfortunate, as we would like the model

to understand that these words are indeed related and that dogs is the plural form of the word dog.

Another issue with this approach is that there are a lot of different words in a language.

If we want our model to understand all possible sentences in that language,

then we will need to have an ID for each different word, and the total number of words,

which is also known as the vocabulary size, can quickly become very large.

This is an issue because each ID is mapped to a large vector that represents the word's meaning,

and keeping track of these mappings requires an enormous number of weights when the vocabulary

size is large. If we want our models to stay lean, we can opt for our tokenizer to ignore

certain words that we don't necessarily need. For example, when training our tokenizer on a text,

we might want to take the 10,000 most frequent words in that text

to create our basic vocabulary, instead of taking all of that language's words.

The tokenizer will know how to convert those 10,000 words into numbers,

but any other word will be converted to the out-of-vocabulary word, or the "unknown" word.

This can rapidly become an issue: the model will have the exact same representation

for all words that it doesn't know, which will result in a lot of lost information.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.