facebookresearch/ParlAI

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

Open

#3,013 建立於 2020年8月26日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)Python (2,089 fork)batch import
Help WantedMinornever-stale

倉庫指標

Star
 (10,371 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南