Unigram Agent

Baseline model which predicts the $n$ most common unigrams regardless of input.

Basic Examples

Training the unigram model on convai2:

python -m parlai.scripts.train_model -m unigram -mf unigram.model -t convai2 -eps 1 --num-words 15

UnigramAgent Options

optional arguments

--num-words

Number of unigrams to output.

Default: 10.