creatorrr
/
parrot_paraphraser_on_t5
- Public
- 72 runs
Run creatorrr/parrot_paraphraser_on_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 |
string
|
Text input
|
|
n |
integer
|
3
Min: 1 Max: 10 |
Iterations
|
diverse |
boolean
|
False
|
Increase diversity
|
max_length |
integer
|
128
Min: 1 Max: 256 |
Max length of generated output
|
fluency_threshold |
number
|
0.9
Max: 1 |
Fluency threshold
|
adequacy_threshold |
number
|
0.9
Max: 1 |
Adequacy threshold
|
{
"type": "object",
"title": "Input",
"required": [
"input"
],
"properties": {
"n": {
"type": "integer",
"title": "N",
"default": 3,
"maximum": 10,
"minimum": 1,
"x-order": 1,
"description": "Iterations"
},
"input": {
"type": "string",
"title": "Input",
"x-order": 0,
"description": "Text input"
},
"diverse": {
"type": "boolean",
"title": "Diverse",
"default": false,
"x-order": 2,
"description": "Increase diversity"
},
"max_length": {
"type": "integer",
"title": "Max Length",
"default": 128,
"maximum": 256,
"minimum": 1,
"x-order": 3,
"description": "Max length of generated output"
},
"fluency_threshold": {
"type": "number",
"title": "Fluency Threshold",
"default": 0.9,
"maximum": 1,
"minimum": 0,
"x-order": 4,
"description": "Fluency threshold"
},
"adequacy_threshold": {
"type": "number",
"title": "Adequacy Threshold",
"default": 0.9,
"maximum": 1,
"minimum": 0,
"x-order": 5,
"description": "Adequacy threshold"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "object"
},
"title": "Output"
}