chigozienri
/
xwin-mlewd-13b-v0-2
- Public
- 370 runs
Run chigozienri/xwin-mlewd-13b-v0-2 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
|
|
grammar |
string
|
Grammar in GBNF format. Use either grammar or jsonschema.
|
|
jsonschema |
string
|
JSON schema for the generated output. Use either grammar or jsonschema. You can use the jsonschema in the prompt by using the special string '{jsonschema}'
|
|
max_tokens |
integer
|
500
|
Max number of tokens to return
|
temperature |
number
|
0.8
|
Temperature
|
top_p |
number
|
0.95
|
Top P
|
top_k |
integer
|
10
|
Top K
|
frequency_penalty |
number
|
0
Max: 2 |
Frequency penalty
|
presence_penalty |
number
|
0
Max: 2 |
Presence
|
repeat_penalty |
number
|
1.1
Max: 2 |
Repetition penalty
|
mirostat_mode |
string
(enum)
|
Disabled
Options: Disabled, Mirostat, Mirostat 2.0 |
Mirostat sampling mode
|
mirostat_learning_rate |
number
|
0.1
Max: 1 |
Mirostat learning rate, if mirostat_mode is not Disabled
|
mirostat_entropy |
number
|
5
Max: 10 |
Mirostat target entropy
|
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"top_k": {
"type": "integer",
"title": "Top K",
"default": 10,
"x-order": 6,
"description": "Top K"
},
"top_p": {
"type": "number",
"title": "Top P",
"default": 0.95,
"x-order": 5,
"description": "Top P"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Prompt"
},
"grammar": {
"type": "string",
"title": "Grammar",
"x-order": 1,
"description": "Grammar in GBNF format. Use either grammar or jsonschema."
},
"jsonschema": {
"type": "string",
"title": "Jsonschema",
"x-order": 2,
"description": "JSON schema for the generated output. Use either grammar or jsonschema. You can use the jsonschema in the prompt by using the special string '{jsonschema}'"
},
"max_tokens": {
"type": "integer",
"title": "Max Tokens",
"default": 500,
"x-order": 3,
"description": "Max number of tokens to return"
},
"temperature": {
"type": "number",
"title": "Temperature",
"default": 0.8,
"x-order": 4,
"description": "Temperature"
},
"mirostat_mode": {
"enum": [
"Disabled",
"Mirostat",
"Mirostat 2.0"
],
"type": "string",
"title": "mirostat_mode",
"description": "Mirostat sampling mode",
"default": "Disabled",
"x-order": 10
},
"repeat_penalty": {
"type": "number",
"title": "Repeat Penalty",
"default": 1.1,
"maximum": 2,
"minimum": 0,
"x-order": 9,
"description": "Repetition penalty"
},
"mirostat_entropy": {
"type": "number",
"title": "Mirostat Entropy",
"default": 5,
"maximum": 10,
"minimum": 0,
"x-order": 12,
"description": "Mirostat target entropy"
},
"presence_penalty": {
"type": "number",
"title": "Presence Penalty",
"default": 0,
"maximum": 2,
"minimum": 0,
"x-order": 8,
"description": "Presence "
},
"frequency_penalty": {
"type": "number",
"title": "Frequency Penalty",
"default": 0,
"maximum": 2,
"minimum": 0,
"x-order": 7,
"description": "Frequency penalty"
},
"mirostat_learning_rate": {
"type": "number",
"title": "Mirostat Learning Rate",
"default": 0.1,
"maximum": 1,
"minimum": 0,
"x-order": 11,
"description": "Mirostat learning rate, if mirostat_mode is not Disabled"
}
}
}
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"
}