facebookresearch/ParlAI

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

Open

#3013 aperta il 26 ago 2020

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Python (2089 fork)batch import
Help WantedMinornever-stale

Metriche repository

Star
 (10.371 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor