You're looking at a specific version of this model. Jump to the model overview.

cjwbw /distilgpt2-stable-diffusion-v2:d53a494f

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
prompt
string
a cat sitting
The beginning of the prompt
top_k
integer
50
Number of tokens to sample from at each step with top_k sampling
max_length
integer
80
Maximum number of tokens for the output of the model
temperature
number
0.9
A higher temperature will produce more diverse results, but with a higher risk of less coherent text
repitition_penalty
number
1.2
Penalty value for each repetition of a token
num_return_sequences
integer
5
Number of results to generate

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'title': 'Output', 'type': 'string'}