← Back to all generators
daanelson/minigpt-4
OfficialView on Replicate →
A model which generates text in response to an input image and prompt.
Capabilities
Reference ImagesMax TokensTop-P
Cost
Community model (estimated from hardware time)
Input Parameters
| Name | Type | Description | Default | Constraints |
|---|---|---|---|---|
image* | string(uri) | Image to discuss | — | — |
prompt* | string | Prompt for mini-gpt4 regarding input image | — | — |
max_length | integer | Total length of prompt and output in tokens | 4000 | min: 1 |
max_new_tokens | integer | Maximum number of new tokens to generate | 3000 | min: 1 |
num_beams | integer | Number of beams for beam search decoding | 3 | min: 1, max: 10 |
repetition_penalty | number | Penalty for repeated words in generated text; 1 is no penalty, values greater than 1 discourage repetition, less than 1 encourage it. | 1 | min: 0.01, max: 5 |
temperature | number | Temperature for generating tokens, lower = more predictable results | 1 | min: 0.01, max: 2 |
top_p | number | Sample from the top p percent most likely tokens | 0.9 | min: 0, max: 1 |
imagerequiredstringImage to discuss
promptrequiredstringPrompt for mini-gpt4 regarding input image
max_lengthintegerTotal length of prompt and output in tokens
Default:
4000min: 1max_new_tokensintegerMaximum number of new tokens to generate
Default:
3000min: 1num_beamsintegerNumber of beams for beam search decoding
Default:
3min: 1, max: 10repetition_penaltynumberPenalty for repeated words in generated text; 1 is no penalty, values greater than 1 discourage repetition, less than 1 encourage it.
Default:
1min: 0.01, max: 5temperaturenumberTemperature for generating tokens, lower = more predictable results
Default:
1min: 0.01, max: 2top_pnumberSample from the top p percent most likely tokens
Default:
0.9min: 0, max: 1Version:
e447a8583cffUpdated: 7/25/20261.8M runs
cinemasetfree.com