salesforce / ctrl

Conditional Transformer Language Model for Controllable Generation

Home Page:https://arxiv.org/abs/1909.05858

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

using pytorch_generation.py: setting --temperature argument to any value causes a failure

tanselmi opened this issue · comments

Works just fine without defining a temperature argument.

error comes out as the following:

pytorchtemperror

Should be fixed in 9a365ed

Owing to the argument order, PyTorch assumed probs when I meant them to be logits.

Closing for now, reopen as necessary.

will check it out, thanks!