facebookresearch/ParlAI

"maxlen" in parlai.core.torch_agent.History actually does nothing

Open

#3,013 opened on Aug 26, 2020

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Python (10,371 stars) (2,089 forks)batch import
Help WantedMinornever-stale

Description

https://github.com/facebookresearch/ParlAI/blob/c7f4b64df1a706464c053f036fe2ff38600f4558/parlai/core/torch_agent.py#L209

I think the description

  • maxlen – sets the maximum number of tunrs

should be changed to

  • size – sets the maximum number of tunrs

Contributor guide