gpt2client
gpt2client copied to clipboard
Unable to specify length of output?
Not much to be said.
When attempting to call the length parameter of gpt-2 generate function, the functioncall fails with "TypeError: generate() got an unexpected keyword argument 'length'"
Is changing the length of the output not supported?
Hello there,
I apologise for the sudden errors. I'm in the process of writing a patch over the generate
function to allow for more flexibility when generating text.
It should be out in the next release. I appreciate your patience!
@rish-16 Hello Did you finish adding that feature? or maybe just put that code as gist. Will be helpful for me.