All language subtitles for 016基于子词的标记器

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 subword-based tokenization. Understanding why subword-based tokenization

is interesting requires understanding the flaws of word-based and character-based tokenization.

If you haven't seen the first videos on word-based and character-based tokenization,

we recommend you check them out before looking at this video.

Subword-tokenization lies in between character-based and word-based tokenization

algorithms. The idea is to find a middle ground between very large vocabularies, large quantity of

out-of-vocabulary tokens, loss of meaning across very similar words, for word-based tokenizers,

and very long sequences, less meaningful individual tokens for character-based tokenizers.

These algorithms rely on the following principle: frequently used words should not

be split into smaller subwords, but rare words should be decomposed into meaningful subwords.

An example is the word dog: we would like to have our tokenizer to have a single ID for the word

dog, rather than splitting it into characters: d, o, and g. However, when encountering the word

dogs, we would like our tokenizer to understand that at the root, this is still the word dog,

with an added s while slightly changes the meaning while keeping the original idea. Another example

is a complex word like tokenization, which can be split into meaningful subwords. The root of

the word is token, and ization completes the root to give it a slightly different meaning.

It makes sense to split the word into two: token, as the root of the word (labeled as the "start" of

the word). ization as additional information (labeled as a "completion" of the word).

In turn, the model will now be able to make sense of token in different situations.

It will understand that the words token, tokens, tokenizing, and tokenization are linked and have

a similar meaning. It will also understand that tokenization, modernization, and immunization,

which all have the same suffixes, are probably used in the same syntactic situations.

Subword-based tokenizers generally have a way to identify which tokens are start of words, and

which tokens complete start of words: token as the start of a word. ##ization as completing a word.

Here the ## prefix indicates that ization is part of a word rather than the beginning of it.

The ## comes from the BERT tokenizer, based on the WordPiece algorithm. Other tokenizers use other

prefixes, which can be placed to indicate part of words like seen here, or start of words instead!

There are a lot of different algorithms that can be used for subword tokenization, and most models

obtaining state-of-the-art results in English today use some kind of subword-tokenization

algorithm. These approaches help in reducing the vocabulary sizes by sharing information

across different words, having the ability to have prefixes and suffixes understood as such.

They keep meaning across very similar words, by recognizing similar tokens making them up.

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