nateraw
/
functionary-7b-v1
- Public
- 2 runs
Run nateraw/functionary-7b-v1 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 |
---|---|---|---|
message |
string
|
None
|
|
system_prompt |
string
|
You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature.
If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.
|
System prompt (for chat models). Leave blank if not applicable.
|
max_new_tokens |
integer
|
1024
|
None
|
temperature |
number
|
0.8
|
None
|
top_p |
number
|
0.95
|
None
|
top_k |
integer
|
50
|
None
|
{
"type": "object",
"title": "Input",
"required": [
"message"
],
"properties": {
"top_k": {
"type": "integer",
"title": "Top K",
"default": 50,
"x-order": 5
},
"top_p": {
"type": "number",
"title": "Top P",
"default": 0.95,
"x-order": 4
},
"message": {
"type": "string",
"title": "Message",
"x-order": 0
},
"temperature": {
"type": "number",
"title": "Temperature",
"default": 0.8,
"x-order": 3
},
"system_prompt": {
"type": "string",
"title": "System Prompt",
"default": "You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature.\n\nIf a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.",
"x-order": 1,
"description": "System prompt (for chat models). Leave blank if not applicable."
},
"max_new_tokens": {
"type": "integer",
"title": "Max New Tokens",
"default": 1024,
"x-order": 2
}
}
}
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"
}