You're looking at a specific version of this model. Jump to the model overview.
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 |
---|---|---|---|
image |
string
|
Input image
|
|
text |
string
|
Text prompt or question about the image
|
|
top_k |
integer
|
50
Min: 1 Max: 100 |
Number of highest probability vocabulary tokens to keep for top-k-filtering
|
top_p |
number
|
1
Max: 1 |
Cumulative probability for top-p-filtering
|
max_new_tokens |
integer
|
200
Min: 1 Max: 1000 |
Maximum number of new tokens to generate
|
temperature |
number
|
1
Min: 0.1 Max: 2 |
Randomness in token selection (higher values increase randomness)
|
length_penalty |
number
|
1
Min: 0.1 Max: 2 |
Exponential penalty to the length (values < 1.0 encourage shorter outputs, > 1.0 encourage longer outputs)
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'title': 'Output', 'type': 'string'}