mozeal / seallm-7b-v2
- Public
- 112 runs
Run mozeal/seallm-7b-v2 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 the model.
|
system_prompt |
string
|
You are helful assistant.
|
System prompt to send to the model. This is prepended to the prompt and helps guide system behavior. Should not be blank.
|
max_new_tokens |
integer
|
512
Min: 1 |
Maximum number of tokens to generate. A word is generally 2-3 tokens
|
min_new_tokens |
integer
|
-1
Min: -1 |
Minimum number of tokens to generate. To disable, set to -1. 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
|
0.95
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 |
When decoding text, samples from the top k most likely tokens; lower to ignore less likely tokens
|
debug |
boolean
|
False
|
provide debugging output in logs
|
{
"type": "object",
"title": "Input",
"properties": {
"debug": {
"type": "boolean",
"title": "Debug",
"default": false,
"x-order": 7,
"description": "provide debugging output in logs"
},
"top_k": {
"type": "integer",
"title": "Top K",
"default": 1,
"minimum": 1,
"x-order": 6,
"description": "When decoding text, samples from the top k most likely tokens; lower to ignore less likely tokens"
},
"top_p": {
"type": "number",
"title": "Top P",
"default": 0.95,
"maximum": 1,
"minimum": 0,
"x-order": 5,
"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",
"default": "\u0e40\u0e25\u0e48\u0e32\u0e19\u0e34\u0e17\u0e32\u0e19\u0e01\u0e48\u0e2d\u0e19\u0e19\u0e2d\u0e19\u0e40\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e25\u0e39\u0e01\u0e2b\u0e21\u0e39\u0e19\u0e49\u0e2d\u0e22\u0e1c\u0e08\u0e0d\u0e20\u0e31\u0e22",
"x-order": 0,
"description": "Prompt to send to the model."
},
"temperature": {
"type": "number",
"title": "Temperature",
"default": 0.75,
"maximum": 5,
"minimum": 0.01,
"x-order": 4,
"description": "Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic, 0.75 is a good starting value."
},
"system_prompt": {
"type": "string",
"title": "System Prompt",
"default": "You are helful assistant.",
"x-order": 1,
"description": "System prompt to send to the model. This is prepended to the prompt and helps guide system behavior. Should not be blank."
},
"max_new_tokens": {
"type": "integer",
"title": "Max New Tokens",
"default": 512,
"minimum": 1,
"x-order": 2,
"description": "Maximum number of tokens to generate. A word is generally 2-3 tokens"
},
"min_new_tokens": {
"type": "integer",
"title": "Min New Tokens",
"default": -1,
"minimum": -1,
"x-order": 3,
"description": "Minimum number of tokens to generate. To disable, set to -1. A word is generally 2-3 tokens."
}
}
}
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"
}