edit

tools/embeddings.lua

embeddings.lua options:

  • -h
    This help.
  • -md
    Dump help in Markdown format.
  • -config <string>
    Load options from this file.
  • -save_config <string>
    Save options to this file.

Data options

  • -dict_file <string>
    Path to outputted dict file from preprocess.lua.
  • -embed_file <string>
    Path to the embedding file. Ignored if -lang is used.
  • -save_data <string>
    Output file path/label.

Embedding options

  • -lang <string>
    Wikipedia Language Code to autoload embeddings.
  • -embed_type <string> (accepted: word2vec, glove; default: word2vec)
    Embeddings file origin. Ignored if -lang is used.
  • -normalize <number> (default: 1)
    Boolean to normalize the word vectors, or not.
  • -report_every <number> (default: 100000)
    Print stats every this many lines read from embedding file.