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
|
|
query |
string
|
Query about the image
|
|
max_new_tokens |
integer
|
768
Min: 1 Max: 2048 |
Maximum number of new tokens to generate
|
num_beams |
integer
|
1
Min: 1 Max: 10 |
Number of beams for beam search
|
top_p |
number
|
Max: 1 |
Nucleus sampling probability threshold
|
do_sample |
boolean
|
False
|
Whether to use sampling or not
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'title': 'Output', 'type': 'string'}