We should generate embeddings in different vector lengths. E.g. 50, 150, 250, etc. Then we can use the different vector lengths to experiment with fitness and performance of models built on top of them.
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Halfak | T243451 Deploy ORES -- Late Jan 2020 | |||
Resolved | Halfak | T235181 Build WikiProject directory topic models for ar, cs, and kowiki | |||
Resolved | Halfak | T235183 Experiment with different vector lengths for ar, cs, en, and kowiki topic models. | |||
Resolved | Halfak | T235184 Generate word vectors for ar, cs, en, and ko using FastText | |||
Resolved | Isaac | T242013 Implement native NN model in revscoring | |||
Resolved | Isaac | T241270 Add wikidata features to topic models |
Event Timeline
Comment Actions
Copy-pasted from T235183:
I found https://fasttext.cc/docs/en/unsupervised-tutorial.html. It seems like a great tutorial for generating word vectors. I think we should start here with length 50 vectors and compare them to length 100 vectors.
We should set up a job on stat1007 or maybe even a hadoop job to clean up the text of XML dumps and then generate vectors from them.
I suggest starting with running the scripts from the tutorial on stat1007.
Comment Actions
@Halfak I used FastText to generate 50 and 100 cell vector models. Please find them on stat1007 under:
$ cd /home/kevinbazira/fasttext_word_representations/2__unsupervised-tutorial
You'll find the following files;
- For cbow dim 50
- enwiki_latest_pages_articles_result_cbow_50.bin
- enwiki_latest_pages_articles_result_cbow_50.vec
- For skipgram dim 50
- enwiki_latest_pages_articles_result_skipgram_50.bin
- enwiki_latest_pages_articles_result_skipgram_50.vec
- For skipgram dim 100 (PS: These are still generating, they'll be complete soon)
- enwiki_latest_pages_articles_result_skipgram_100.bin
- enwiki_latest_pages_articles_result_skipgram_100.vec
PS: .bin is the model binary file and .vec text file contains the word vectors.