Skip to content

mickr777/GPT2RandomPromptMaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GPT2RandomPromptMaker

A node for InvokeAI utilizes the GPT-2 language model to generate random prompts based on a provided seed and context.

Fields:

Fields Description
seed The initial seed for the prompt generation.
context The context to provide additional information for the prompt.
max_length The maximum length of the generated text.
temperature Controls the randomness of predictions.
repetition_penalty Penalty for repeated content in the generated text.
model_name Hugging Face gpt2 model name to use.

Info:

  • on first use it should download the needed files.

Example:

Generated Prompt: An enchanted weapon will be usable by any character regardless of their alignment.

9acf5aef-7254-40dd-95b3-8eac431dfab0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages