Unigram Agent¶
Baseline model which predicts the $n$ most common unigrams regardless of input.
Basic Examples¶
Training the unigram model on convai2:
parlai train_model -m unigram -mf unigram.model -t convai2 -eps 1 --num-words 15
DictionaryAgent Options¶
BPEHelper Arguments
Argument |
Description |
---|---|
|
Path to pre-trained tokenizer vocab |
|
Path to pre-trained tokenizer merge |
|
Use BPE dropout during training. |
UnigramAgent Options¶
optional arguments
Argument |
Description |
---|---|
|
Number of unigrams to output. |
BPEHelper Arguments
Argument |
Description |
---|---|
|
Path to pre-trained tokenizer vocab |
|
Path to pre-trained tokenizer merge |
|
Use BPE dropout during training. |