Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Reduce number of ngram buckets to 1000 due to OOM
Browse files Browse the repository at this point in the history
  • Loading branch information
leezu committed Aug 28, 2018
1 parent 0ff68c5 commit dc486b4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/tests/test_scripts.py
Expand Up @@ -29,8 +29,10 @@ def test_toy():

@pytest.mark.serial
def test_embedding():
process = subprocess.check_call(['python', './scripts/word_embeddings/train_fasttext.py',
'--gpu', '0', '--epochs', '1', '--optimizer', 'sgd'])
process = subprocess.check_call([
'python', './scripts/word_embeddings/train_fasttext.py', '--gpu', '0',
'--epochs', '1', '--optimizer', 'sgd', '--ngram-buckets', '1000'
])


@pytest.mark.serial
Expand Down

0 comments on commit dc486b4

Please sign in to comment.