Skip to content

Instantly share code, notes, and snippets.

@allanbatista
Last active March 6, 2020 18:48
Show Gist options
  • Save allanbatista/dea00feb9d3ef0f140a4ac221edfea23 to your computer and use it in GitHub Desktop.
Save allanbatista/dea00feb9d3ef0f140a4ac221edfea23 to your computer and use it in GitHub Desktop.
Build FastText
fasttext skipgram \
-thread $(grep ^cpu\\scores /proc/cpuinfo | uniq | awk '{print $4}' )\
-minCount 2 \
-wordNgrams 1 \
-minn 2 \
-maxn 7 \
-epoch 10 \
-dim 64 \
-input train.txt \
-output $(date +'model-%Y-%m-%dT%H-%M-%S')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment