Actor picture

GPT-2 text generation

jirimoravcik/gpt2-text-generation

This actor uses the GPT-2 language model to generate text.

No credit card required

Author's avatarJiří Moravčík
  • Modified
  • Users16
  • Runs85
Actor picture
GPT-2 text generation

Initial prompt

prompt

Required

string

The initial prompt used as basis for text generation

Maximum sequence length

max_length

Required

integer

The maximum length of the generated sequence