facebookresearch/ParlAI

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

Open

#3,013 创建于 2020年8月26日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Python (10,371 star) (2,089 fork)batch import
Help WantedMinornever-stale

描述

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

贡献者指南

"maxlen" in parlai.core.torch_agent.History actually does nothing · facebookresearch/ParlAI#3013 | Good First Issue