jasonqi146
/
dope_t5
- Public
- 26 runs
Run jasonqi146/dope_t5 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 |
---|---|---|---|
input_text |
string
|
Standard American English
|
|
max_gen_len |
integer
|
600
Max: 1000 |
Maximum length of generated sentence
|
temperature |
number
|
1
Max: 1 |
Temperature of generated sentence
|
top_k |
integer
|
5
Max: 10 |
Top k of generated sentence
|
top_p |
number
|
0.9
Max: 1 |
Top p of generated sentence
|
repetition_penalty |
number
|
1
Min: 1 Max: 1000 |
Repetition penalty of generated sentence
|
{
"type": "object",
"title": "Input",
"required": [
"input_text"
],
"properties": {
"top_k": {
"type": "integer",
"title": "Top K",
"default": 5,
"maximum": 10,
"minimum": 0,
"x-order": 3,
"description": "Top k of generated sentence"
},
"top_p": {
"type": "number",
"title": "Top P",
"default": 0.9,
"maximum": 1,
"minimum": 0,
"x-order": 4,
"description": "Top p of generated sentence"
},
"input_text": {
"type": "string",
"title": "Input Text",
"x-order": 0,
"description": "Standard American English"
},
"max_gen_len": {
"type": "integer",
"title": "Max Gen Len",
"default": 600,
"maximum": 1000,
"minimum": 0,
"x-order": 1,
"description": "Maximum length of generated sentence"
},
"temperature": {
"type": "number",
"title": "Temperature",
"default": 1,
"maximum": 1,
"minimum": 0,
"x-order": 2,
"description": "Temperature of generated sentence"
},
"repetition_penalty": {
"type": "number",
"title": "Repetition Penalty",
"default": 1,
"maximum": 1000,
"minimum": 1,
"x-order": 5,
"description": "Repetition penalty of generated sentence"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output"
}