Skip to content

Instantly share code, notes, and snippets.

@mbednarski
Created November 8, 2018 18:46
Show Gist options
  • Save mbednarski/576ed496810c9d9fe084623099519c81 to your computer and use it in GitHub Desktop.
Save mbednarski/576ed496810c9d9fe084623099519c81 to your computer and use it in GitHub Desktop.
"""MLP - machine-learning-production
Usage:
mlp.py train <dataset-dir> <model-file> [--vocab-size=<vocab-size>]
mlp.py ask <model-file> <question>
mlp.py (-h | --help)
Arguments:
<dataset-dir> Directory with dataset.
<model-file> Serialized model file.
<question> Text to be classified.
Options:
--vocab-size=<vocab-size> Vocabulary size. [default: 10000]
-h --help Show this screen.
"""
from docopt import docopt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment