meepo-pro-player
/
silencer
- Public
- 58.6K runs
Run meepo-pro-player/silencer 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 |
---|---|---|---|
prompt |
string
|
Prompt to send to mPLUG-Owl.
|
|
image |
string
|
Image to send to mPLUG-Owl.
|
|
max_length |
integer
|
512
Min: 1 |
Maximum number of tokens to generate. A word is generally 2-3 tokens
|
temperature |
number
|
0.75
Min: 0.01 Max: 5 |
Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic, 0.75 is a good starting value.
|
top_p |
number
|
1
Min: 0.01 Max: 1 |
When decoding text, samples from the top p percentage of most likely tokens; lower to ignore less likely tokens
|
top_k |
integer
|
1
Min: 1 Max: 500 |
When decoding text, samples from the top k most likely tokens; lower to ignore less likely tokens. Defaults to 0 (no top-k sampling).
|
penalty_alpha |
number
|
0
Max: 1 |
When > 0 and top_k > 1, penalizes new tokens based on their similarity to previous tokens. Can help minimize repitition while maintaining semantic coherence. Set to 0 to disable.
|
repetition_penalty |
number
|
1
Min: 0.01 Max: 5 |
Penalty for repeated words in generated text; 1 is no penalty, values greater than 1 discourage repetition, less than 1 encourage it.
|
length_penalty |
number
|
1
Min: 0.01 Max: 5 |
Increasing the length_penalty parameter above 1.0 will cause the model to favor longer sequences, while decreasing it below 1.0 will cause the model to favor shorter sequences.
|
no_repeat_ngram_size |
integer
|
0
|
If set to int > 0, all ngrams of size no_repeat_ngram_size can only occur once.
|
seed |
integer
|
-1
Min: -1 |
Set seed for reproducible outputs. Set to -1 for random seed.
|
{
"type": "object",
"title": "Input",
"required": [
"prompt",
"image"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": -1,
"minimum": -1,
"x-order": 10,
"description": "Set seed for reproducible outputs. Set to -1 for random seed."
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 1,
"description": "Image to send to mPLUG-Owl."
},
"top_k": {
"type": "integer",
"title": "Top K",
"default": 1,
"maximum": 500,
"minimum": 1,
"x-order": 5,
"description": "When decoding text, samples from the top k most likely tokens; lower to ignore less likely tokens. Defaults to 0 (no top-k sampling)."
},
"top_p": {
"type": "number",
"title": "Top P",
"default": 1,
"maximum": 1,
"minimum": 0.01,
"x-order": 4,
"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": 0,
"description": "Prompt to send to mPLUG-Owl."
},
"max_length": {
"type": "integer",
"title": "Max Length",
"default": 512,
"minimum": 1,
"x-order": 2,
"description": "Maximum number of tokens to generate. A word is generally 2-3 tokens"
},
"temperature": {
"type": "number",
"title": "Temperature",
"default": 0.75,
"maximum": 5,
"minimum": 0.01,
"x-order": 3,
"description": "Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic, 0.75 is a good starting value."
},
"penalty_alpha": {
"type": "number",
"title": "Penalty Alpha",
"default": 0,
"maximum": 1,
"minimum": 0,
"x-order": 6,
"description": "When > 0 and top_k > 1, penalizes new tokens based on their similarity to previous tokens. Can help minimize repitition while maintaining semantic coherence. Set to 0 to disable."
},
"length_penalty": {
"type": "number",
"title": "Length Penalty",
"default": 1,
"maximum": 5,
"minimum": 0.01,
"x-order": 8,
"description": "Increasing the length_penalty parameter above 1.0 will cause the model to favor longer sequences, while decreasing it below 1.0 will cause the model to favor shorter sequences."
},
"repetition_penalty": {
"type": "number",
"title": "Repetition Penalty",
"default": 1,
"maximum": 5,
"minimum": 0.01,
"x-order": 7,
"description": "Penalty for repeated words in generated text; 1 is no penalty, values greater than 1 discourage repetition, less than 1 encourage it."
},
"no_repeat_ngram_size": {
"type": "integer",
"title": "No Repeat Ngram Size",
"default": 0,
"minimum": 0,
"x-order": 9,
"description": "If set to int > 0, all ngrams of size no_repeat_ngram_size can only occur once."
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "string",
"title": "Output"
}