conda env create -f TAL.yml -n TALconda activate TALCreate the vocabulary
python core/createdictionnary.py data/don_quichotte.txt
Train the glove model
python core/train_glove.py data/don_quichotte.txt data/vocab.json --dim 100 --epochs 10
Explore the results
- Tests :
python tests/test_glove.py - Visualization :
python visualization/visualize_glove.py - Word neighbors: `python visualization/neighbors_glove.py
Create the vocabulary
python core/createdictionnary.py data/don_quichotte.txt
Train the word2vec model
python core/train.py data/don_quichotte.txt data/vocab.json --dim 100 --epochs 10
Explore the results
- Tests :
python tests/test_mots.py - Visualization :
python visualization/plot_embeddings.py - Word neighbors:
python visualization/visualize_neighbors.py