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

貢獻者指南