ДалееСледующее руководство
Сети автомобильных дорог и пропускные соединения
Технический
РУКОВОДСТВО ПО ЯЗЫКУ ИИ
Word2Vec is a family of shallow neural models that learns word vectors from local word contexts.
Прослушайте это руководствоОзвучено ИИ · ~2 min
The original papers describe CBOW and Skip-Gram objectives and evaluate the resulting vectors on syntactic and semantic relationships.
The original Word2Vec papers present CBOW and continuous Skip-Gram architectures for learning distributed word representations. CBOW uses context words to predict a target; Skip-Gram uses a target to predict surrounding context words. The later paper describes negative sampling, subsampling of frequent words, and phrase detection. The learned vectors are useful representations evaluated on specified similarity and relationship tasks; they are not context-sensitive and the papers do not establish particular commercial deployments. The learned input weight matrix supplies the word vectors used after training. The later paper reports subsampling frequent words as a way to speed training and obtain more regular representations. Mikolov and colleagues at Google introduced the architecture papers in 2013. Their vector-analogy example includes king − man + woman ≈ queen; this illustrates a reported geometric relationship, not a guarantee for every vocabulary.
Paper concept: CBOW predicts a center word from its surrounding context.
Paper concept: Skip-Gram predicts context words from a center word.
Paper method: negative sampling replaces a full-vocabulary softmax objective with sampled binary prediction.
Illustrative use: compare vectors for related words in a corpus, while checking the corpus and evaluation task.
For a current application, compare static vectors with contextual encoders on the target data and task. Report corpus, preprocessing, vocabulary coverage, and metric. The cited papers establish model designs and benchmark results, not adoption rates or present-day deployment patterns.
Бесплатная рассылка
Три проверенных AI-истории каждое утро буднего дня, написанные простым английским. Бесплатно навсегда, без рекламы.
Одно электронное письмо каждый будний день. Отписаться в один клик. Мы никогда не продаем и не передаем ваш адрес.
Проверьте себя
Мгновенная обратная связь по каждому ответу и общий сертификат с проверяемым идентификатором после прохождения курса.
Поддержите бесплатное образование в области искусственного интеллекта. AI Understanding — это некоммерческая организация 501(c)(3). Никакой рекламы и платного доступа. Сделать пожертвование
Word2Vec is a family of shallow neural models that learns word vectors from local word contexts. The original papers describe CBOW and Skip-Gram objectives and evaluate the resulting vectors on syntactic and semantic relationships.
Skip-Gram берет одно центральное слово и пытается предсказать каждое из окружающих его контекстных слов, в отличие от CBOW.
Задача прогнозирования — это всего лишь средство для достижения цели; целью является выученная весовая матрица, строки которой становятся плотными вложениями слов.
Отрицательная выборка переформулирует проблему как двоичную классификацию по нескольким случайным словам, избегая дорогостоящего softmax для десятков тысяч слов.
Mikolov et al. describe subsampling frequent words to speed training and learn more regular representations. The reported effect is scoped to the paper’s method and experiments.
Векторы Word2Vec кодируют отношения, поэтому семантические аналогии можно решить с помощью простого сложения и вычитания векторов.
Продолжайте учиться
Другие руководства, выбранные по этой теме
ДалееСледующее руководство
Сети автомобильных дорог и пропускные соединения
Технический