facebookresearch/ParlAI

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

Ouverte

#3 013 ouverte le 26 août 2020

 (2 commentaires) (0 réaction) (0 personne assignée)Python (2 089 forks)batch import
Help WantedMinornever-stale

Métriques du dépôt

Stars
 (10 371 étoiles)
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