Skip to content

Commit

Permalink
doc varying minCount default per command
Browse files Browse the repository at this point in the history
  • Loading branch information
gojomo committed Aug 8, 2016
1 parent f26bea7 commit 9d5f284
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,12 @@ In order to reproduce results from the paper [2], run `classification-results.sh

## Full documentation

Invoke a command without arguments to list available arguments and their default values:

```
$ ./fasttext supervised
Empty input or output path.
The following arguments are mandatory:
-input training file path
-output output file path
Expand All @@ -113,7 +118,7 @@ The following arguments are optional:
-dim size of word vectors [100]
-ws size of the context window [5]
-epoch number of epochs [5]
-minCount minimal number of word occurences [5]
-minCount minimal number of word occurences [1]
-neg number of negatives sampled [5]
-wordNgrams max length of word ngram [1]
-loss loss function {ns, hs, softmax} [ns]
Expand All @@ -126,6 +131,8 @@ The following arguments are optional:
-label labels prefix [__label__]
```

Defaults may vary by mode. (Word-representation modes `skipgram` and `cbow` use a default `-minCount` of 5.)

## References

Please cite [1] if using this code for learning word representations or [2] if using for text classification.
Expand Down

0 comments on commit 9d5f284

Please sign in to comment.