ravi-teja-konda
/
llava_finetune
- Public
- 27 runs
- Fine-tune
Run ravi-teja-konda/llava_finetune with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
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
|
|
prompt |
string
|
Prompt to use for text generation
|
|
top_p |
number
|
1
Max: 1 |
When decoding text, samples from the top p percentage of most likely tokens; lower to ignore less likely tokens
|
temperature |
number
|
0.2
|
Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic
|
max_tokens |
integer
|
1024
|
Maximum number of tokens to generate. A word is generally 2-3 tokens
|
{
"type": "object",
"title": "Input",
"required": [
"image",
"prompt"
],
"properties": {
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image"
},
"top_p": {
"type": "number",
"title": "Top P",
"default": 1,
"maximum": 1,
"minimum": 0,
"x-order": 2,
"description": "When decoding text, samples from the top p percentage of most likely tokens; lower to ignore less likely tokens"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 1,
"description": "Prompt to use for text generation"
},
"max_tokens": {
"type": "integer",
"title": "Max Tokens",
"default": 1024,
"minimum": 0,
"x-order": 4,
"description": "Maximum number of tokens to generate. A word is generally 2-3 tokens"
},
"temperature": {
"type": "number",
"title": "Temperature",
"default": 0.2,
"minimum": 0,
"x-order": 3,
"description": "Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "string"
},
"title": "Output",
"x-cog-array-type": "iterator",
"x-cog-array-display": "concatenate"
}