Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#3013·ParlAI

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

Author: ReveyerCreated Aug 26, 2020Updated Nov 11, 2022
LabelsHelp 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

Source: facebookresearch/ParlAI

View original on GitHubView discussion on GitHub