facebookresearch/ParlAI

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

オープン

#3,013 opened on 2020/08/26

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Python (2,089 件のフォーク)batch import
Help WantedMinornever-stale

Repository metrics

Stars
 (10,371 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド