Open nahtoo opened 5 years ago
see this tutorial for loading text files: https://www.parl.ai/docs/tutorial_task.html (the top of it about the fromfile task)
Ok, from the fromfile task example I gathered that I should be using the whole path but that still doesn't work. Is this just a case of input error\giving the wrong path, or should I instead load new worlds into parlAI and generate bAbI-tasks from there?
What is the syntax for using world:load(filename) to add new worlds?
Let's say the file I wanted to load was world.txt. I've tried
world:load(world.txt)
,world:load world.txt
, and other similar formats with varying spacing, but I only getsyntax error near unexpected token '('
orsyntax error near unexpected token 'world.txt'
.