openai / gpt-2

Code for the paper "Language Models are Unsupervised Multitask Learners"
https://openai.com/blog/better-language-models/
Other
22.58k stars 5.53k forks source link

What is the maximum model prompt size for interactive samples? #192

Open kgorinson opened 5 years ago

kgorinson commented 5 years ago

./interactive_conditional_samples.py

Is there a maximum size that's recommended? I notice that if I feed it with very long prompts it'll write a few sentences, then devolve into a schizophrenic rant.

I was, was, was, was, was, like, was, like, was, like, like, was, was like, was, was like, like, was, like, like, I was,, went away, was, gone, was like, was, was, a, was, was, was,

What we ’ ’ ’ ’ ’ ’ ’

‵ ’ 
 ’ ’ ’ ’   ―

’ That ’ ’ ’ ’ ’ ’ ’ ’ ’

drizzt00s commented 4 years ago

do you know how to control the length of the generated text? for example, I want the generated text 5000 characters length