Skip to content

Commit

Permalink
038: Added fasttext experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
HHansi committed Sep 3, 2020
1 parent fbe1751 commit 465bdd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embed2detect/word_embedding_learner.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def learn_embeddings(data_folder_path, model_folder_path):
learn_word2vec_bulk(data_folder_path, model_folder_path, learn_type=learn_type,
min_word_count=min_word_count, vector_size=vector_size, window_size=context_size,
worker_count=we_workers)
if model_type == 'sg':
if model_type == 'ft':
learn_fasttext_bulk(data_folder_path, model_folder_path, learn_type=learn_type, min_word_count=min_word_count,
vector_size=vector_size,
window_size=context_size, worker_count=we_workers)
Expand Down

0 comments on commit 465bdd2

Please sign in to comment.