Last active
November 8, 2018 19:02
-
-
Save mbednarski/3b6f877c22d6d33d61c4dd180da72c12 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def main(): | |
arguments = docopt(__doc__) | |
if arguments['train']: | |
train_model(arguments['<dataset-dir>'], | |
arguments['<model-file>'], | |
int(arguments['--vocab-size']) | |
) | |
elif arguments['ask']: | |
ask_model(arguments['<model-file>'], | |
arguments['<question>']) | |
if __name__ == '__main__': | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment