-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hello,
Thanks a lot for making this available.
I have a question regarding possible values for top_p. From my understanding reading the paper "The curious case of neural text degeneration" (Holtzman et al., 2020), top_p should be a probability between 0 and 1. Yet when I check the code in 'model.R', you turn the value into an integer with as.integer() before providing it to Python.
I tried various values between 0 and 1 with the same seed, and as I expected from the code, the outputs are the same. I get different outputs with values greater than 1, but I can't figure out how things work exactly. Could you please provide some more explanations?
Thanks a lot in advance.
Best,
Christophe C.
Metadata
Metadata
Assignees
Labels
No labels