facebookresearch/ParlAI

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

Open

#3 013 ouverte le 26 août 2020

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)Python (2 089 forks)batch import
Help WantedMinornever-stale

Métriques du dépôt

Stars
 (10 371 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur