CoolFace
Modelpublic

LocalWisdom/PurpleCBoW

sourceHugging Facewtfplupdated 2mo agoView on Hugging Face
0likes8downloads
README.md27 linesDownload Raw Back to root
1---2tags:3- model_hub_mixin4- pytorch_model_hub_mixin5license: wtfpl6datasets:7- jakartaresearch/cerpen-corpus8language:9- id10base_model:11- LocalWisdom/PurpleBoW12pipeline_tag: feature-extraction13---14 15# PurpleCBoW16 17A very simple implementation of Continuous Bag-of-Words for those learning about Natural Language Processing.18 19## What's The Difference With Skip-Gram and Word2Vec?20 21Well, Word2Vec is the concept of using a shallow neural network to turn a word into vector.22Meanwhile, Skip-Gram is just another variant of CBOW. Skip-Gram and CBOW *is* Word2Vec.23 24## Usage25 26Download the `train.ipynb` file and execute every cell.27At the bottom of the notebook, we have the "inference" part where we can test with whatever word is in the model vocabulary.