Mai departeUrmătorul ghid
Reprezentare matrioșca înglobate
AI limbaj
GHID AI limbaj
FastText extends Skip-Gram word representations with character n-gram features.
Ascultă acest ghidNarativ AI · ~2 min
The subword representation allows a vector to be composed for a token absent from the training vocabulary when its character pieces are available.
Bojanowski et al. describe a Skip-Gram model in which a word is represented as the sum of vectors for its character n-grams, including the whole word. N-grams are hashed to a bucket table. Shared subword parameters allow the model to construct a representation for a word not observed as a whole token, subject to its available character pieces. The paper evaluates the approach on named tasks and languages; its results do not imply that every unknown word receives a reliable meaning. The official fastText repository also documents a supervised classifier, a distinct feature from the paper’s word-vector model.
Paper concept: represent a word using its character n-grams plus the whole word.
Paper concept: hash n-grams into a fixed bucket table and sum their learned vectors.
Paper evaluation: subword information helps on the authors’ reported rare-word and morphology-sensitive tasks.
Official fastText project: provides separate word-vector and supervised text-classification functionality.
When evaluating subword representations, test rare and morphologically complex words from the target domain, and measure errors as well as coverage. Treat FastText, BPE, and WordPiece as distinct methods with their own papers and implementations; avoid inferring a lineage or current deployment prevalence from shared use of subword units.
Buletin gratuit
Trei povești AI verificate în fiecare dimineață de zi lucrătoare, scrise în engleză simplă. Gratuit pentru totdeauna, fără reclame.
Un e-mail în fiecare zi lucrătoare. Dezabonare cu un singur clic. Nu vindem niciodată și nu împărtășim adresa ta.
Testează-te
Feedback instantaneu la fiecare răspuns și un certificat partajabil cu un ID verificabil după ce parcurgi un curs.
Susține educația AI gratuită. AI Understanding este o organizație nonprofit 501(c)(3) — fără reclame, fără barieră de plată, pentru totdeauna. Fă o donație
FastText extends Skip-Gram word representations with character n-gram features. The subword representation allows a vector to be composed for a token absent from the training vocabulary when its character pieces are available.
FastText descompune fiecare cuvânt în caractere n-grame și însumează vectorii acestora pentru a forma reprezentarea cuvântului.
Deoarece FastText compune vectori din bucăți de subcuvinte, poate construi o reprezentare pentru cuvinte pe care nu le-a văzut niciodată la antrenament.
„unde” produce trigrame precum <wh, whe, her, ere, re>, plus simbolul cuvântului complet; „whe” este unul dintre ele.
FastText extinde Skip-Gram cu obiectiv de eșantionare negativ, adăugând vectori de n-grame de subcuvânt.
Limbile bogate din punct de vedere morfologic produc multe forme de cuvinte; partajarea vectorilor subcuvinte permite FastText să le relaționeze în mod natural.
Continuați să învățați
Mai multe ghiduri alese pentru acest subiect
Mai departeUrmătorul ghid
Reprezentare matrioșca înglobate
AI limbaj