This is a Mixtral-8x7b-Instruct model fine-tuned for function calling. The function metadata format is the same as used for OpenAI. The model is suitable for commercial use.

Updated 8 months ago

No models have been pushed.

Readme

aura-8x7b-funcall

This is a Mixtral-8x7b-Instruct model version fine-tuned for function calling. The function metadata format is the same as used for OpenAI. The model is suitable for commercial use.

Prompt Format

B_FUNC, E_FUNC = "You have access to the following functions. Use them if required:\n\n", "\n\n"
B_INST, E_INST = " [INST] ", " [/INST]" #Llama/Mistral style
prompt = f"{B_INST}{B_FUNC}{functionList.strip()}{E_FUNC}{user_prompt.strip()}{E_INST}\n\n"

Example

[INST] You have access to the following functions. Use them if required:
[
    {
        "type": "function",
        "function": {
            "name": "get_big_stocks",
            "description": "Get the names of the largest N stocks by market cap",
            "parameters": {
                "type": "object",
                "properties": {
                    "number": {
                        "type": "integer",
                        "description": "The number of largest stocks to get the names of, e.g. 25"
                    },
                    "region": {
                        "type": "string",
                        "description": "The region to consider, can be \"Canada\" or \"Brazil\"."
                    }
                },
                "required": [
                    "number"
                ]
            }
        }
    },
    {
        "type": "function",
        "function": {
            "name": "get_stock_price",
            "description": "Get the stock price of an array of stocks",
            "parameters": {
                "type": "object",
                "properties": {
                    "names": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "description": "An array of stocks"
                    }
                },
                "required": [
                    "names"
                ]
            }
        }
    }
]

[INST] Get the names of the five largest stocks in the Canada by market cap [/INST]

{
    "name": "get_big_stocks",
    "arguments": {
        "number": 5,
        "region": "CA"
    }
}</s>

License

This model cannot be used commercially for inference. Further fine-tuning and inference: this model CAN BE USED COMMERCIALLY FOR ANY PURPOSE.