Tips and Tricks

Here we list other miscellaneous useful tips of things you can do in ParlAI not listed elsewhere.

Multi-tasking with weighted tasks

If you want to train/eval/display with multiple tasks you can just use for example:

python examples/ -t personachat,squad -dt train

However, this will sample episodes equally from the two tasks (personachat and squad). To sample squad 10x more often you can do:

python examples/ -t personachat,squad --multitask_weights 1,10 -dt train