ComfyUI Node
Text Generation
A ComfyUI node in Transformers/NLP/TextGeneration with 4 inputs and 1 output.
Text Generation
- generated_text
◄prompt►
◄model_namegpt2►
◄max_new_tokens50►
◄temperature1.00►
CategoryTransformers/NLP/TextGeneration
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | — | |
| model_name | STRING | gpt2 | — |
| max_new_tokens | INT | 501–2048 | — |
| temperature | FLOAT | 1.000.01–2 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| generated_text | STRING | — |