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

ulissemini /gpt2-xl-actadd:602c6985

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_batch
array
The prompts to generate from
coeff
number
0
The coefficient for the activation addition
layer
integer
The layer to apply the actadd to
prompt_add
string
The positive part of the actadd
prompt_sub
string
The negative part of the actadd
max_new_tokens
integer
50
The maximum number of new tokens to generate
seed
integer
Random seed for reproducibility
temperature
number
1
Temperature for generation
top_p
number
0.3
Top-p for generation
freq_penalty
number
1
Frequency penalty for generation

Output schema

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

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