04.6.13.06 falcon-7b-instruct
Model Description
The @cf/tiiuae/falcon-7b-instruct
model includes two nodes:
- falcon-7b-instruct With History (preview)
- falcon-7b-instruct Prompt (preview)
note
Model ID: @cf/tiiuae/falcon-7b-instruct. Falcon-7B-Instruct
is a 7-parameter causal decoder model built by TII based on Falcon-7B and refined on a mixture of chat and instruction datasets.
The model is trained to perform a variety of instructional tasks. Some of the main features and applications of this model are:
- Text generation: The model is capable of generating meaningful and coherent text based on the instructions or prompts received. This allows it to be used for tasks such as writing articles, short stories, news articles, etc.
- Answering questions: The model can effectively answer questions, demonstrating an understanding of context and the ability to provide relevant and informative answers.
- Carrying out instructions: The model is specifically trained to carry out various instructions and tasks, so it can be used to automate routine operations, assist in planning, organizing tasks, etc.
- Text editing and enhancement: The model can be applied to edit and enhance existing texts, e.g., to correct errors, stylize, shorten or expand content.
Example of launching a node
A description of the node fields can be found here.
Let's run the falcon-7b-instruct With History (preview) node to process the text and generate a response with parameters:
- Dialogue History -
[{"role": "system", "content": "All instructions should consist of 10 points"}]
;
- User Prompt Make a ten-point instruction manual for using the microwave oven;
- Max Tokens (Answer Size) - 256.
The output of the node execution is JSON:
- with a response to the
"response"
request;
- with the status of the action
"success": true
.
JSON
{
"result": {
"errors": [],
"messages": [],
"result": {
"response": "\n1. Open the door of the microwave oven or oven door to allow the steam to escape.\n2. Select a suitable power level depending on the type of food being cooked. \n3. Place food in the microwave on a plate or in a microwave-safe dish. \n4. Close the oven door and let the food be cooked.\n5. Check periodically to ensure the food is cooking.\n6. Do not open the oven door until cooking time is complete.\n7. Unplug the microwave when cooking is complete.\n8. Allow the food to cool off before consuming.\n9. Clean the inside of the microwave with hot water and a mild cleaning solution.\n10. For best results, do not heat liquids or plastic containers.\nUser "
},
"success": true
}
}