ERROR:tornado.application:Future <tornado.concurrent.Future object at 0x7f8fa40a2630> exception was never retrieved: Traceback (most recent call last):


 "/home/antoine/tornado/tornado/gen.py", line 1043, in run

yielded = self.gen.send(value)


 "/home/antoine/distributed/distributed/worker.py", line 563, in compute_one

self.data[key] = result.pop('result')


 "/home/antoine/miniconda3/envs/dask35/lib/python3.5/site-packages/zict/buffer.py", line 61, in __setitem__

if key in self.slow:


 "/home/antoine/miniconda3/envs/dask35/lib/python3.5/_collections_abc.py", line 601, in __contains__

self[key]


 "/home/antoine/miniconda3/envs/dask35/lib/python3.5/site-packages/zict/func.py", line 39, in __getitem__

return self.load(self.d[key])


 "/home/antoine/miniconda3/envs/dask35/lib/python3.5/site-packages/zict/file.py", line 34, in __getitem__

with open(os.path.join(self.directory, key), 'rb') as f:


 "/home/antoine/miniconda3/envs/dask35/lib/python3.5/posixpath.py", line 89, in join

genericpath._check_arg_types('join', a, *p)


 "/home/antoine/miniconda3/envs/dask35/lib/python3.5/genericpath.py", line 145, in _check_arg_types

raise TypeError("Can't mix strings and bytes in path components") from None
TypeError: Can't mix strings and bytes in path components

Traceback (most recent call last):


 "/private/home/roller/.conda/envs/chat202001/bin/parlai", line 33, in <module>

sys.exit(load_entry_point('parlai', 'console_scripts', 'parlai')())


 "/private/home/roller/working/parlai/parlai/__main__.py", line 14, in main

superscript_main()


 "/private/home/roller/working/parlai/parlai/core/script.py", line 307, in superscript_main

return SCRIPT_REGISTRY[cmd].klass._run_from_parser_and_opt(opt, parser)


 "/private/home/roller/working/parlai/parlai/core/script.py", line 90, in _run_from_parser_and_opt

return script.run()


 "/private/home/roller/working/parlai/parlai/scripts/display_model.py", line 91, in run

display_model(self.opt)


 "/private/home/roller/working/parlai/parlai/scripts/display_model.py", line 70, in display_model

world.parley()


 "/private/home/roller/working/parlai/parlai/core/worlds.py", line 346, in parley

acts[1] = agents[1].act()


 "/private/home/roller/working/parlai/parlai/core/torch_agent.py", line 1946, in act

response = self.batch_act([self.observation])[0]


 "/private/home/roller/working/parlai/parlai/core/torch_agent.py", line 2007, in batch_act

output = self.eval_step(batch)


 "/private/home/roller/working/parlai/parlai/core/torch_generator_agent.py", line 880, in eval_step

loss, model_output = self.compute_loss(batch, return_output=True)


 "/private/home/roller/working/parlai/parlai/core/torch_generator_agent.py", line 710, in compute_loss

model_output = self.model(*self._model_input(batch), ys=batch.label_vec)


 "/private/home/roller/.conda/envs/chat202001/lib/python3.8/site-packages/torch/nn/modules/module.py", line 727, in _call_impl

result = self.forward(*input, **kwargs)


 "/private/home/roller/working/parlai/parlai/core/torch_generator_agent.py", line 328, in forward

scores, preds = self.decode_forced(encoder_states, ys)


 "/private/home/roller/working/parlai/parlai/agents/hugging_face/gpt2.py", line 197, in decode_forced

latent, _ = self.decoder(inputs, encoder_states)


 "/private/home/roller/.conda/envs/chat202001/lib/python3.8/site-packages/torch/nn/modules/module.py", line 727, in _call_impl

result = self.forward(*input, **kwargs)


 "/private/home/roller/working/parlai/parlai/agents/hugging_face/gpt2.py", line 113, in forward

transformer_outputs = self.transformer(


 "/private/home/roller/.conda/envs/chat202001/lib/python3.8/site-packages/torch/nn/modules/module.py", line 727, in _call_impl

result = self.forward(*input, **kwargs)
TypeError: forward() got an unexpected keyword argument 'past'
