Edit model card

Use function calling prompt as fallows:

<|system|>
You are a helpful assistant with access to the following functions. Use them if required 
- {
    "name": "calculate_discount",
    "description": "Calculate the discounted price based on original price and percentage",
    "parameters": {
      "type": "object",
      "properties": {
        "original_price": {
          "type": "number",
          "description": "The original price of the item"
        },
        "discount_percentage": {
          "type": "number",
          "description": "The percentage of discount to apply"
        }
      },
    "required": ["original_price","discount_percentage"]
    }
  }
<|user|>
Hi, I saw a dress in a store that costs $200. They are offering a 20% discount. Can you tell me how much it will cost after the discount?
<|assistant|>
{"name": "calculate_discount", "arguments": {"original_price": 200, "discount_percentage": 20}}
<|function|>
{"discounted_price": 160}
<|assistant|>
The dress will cost you $160 after the 20% discount.
<|user|>
That's great! Thank you for the help.
<|assistant|>
You're welcome! If you have any other questions, feel free to ask.
Downloads last month
12
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Datasets used to train jacobbao/openbuddy-zephyr-7b-v14.1-code-orca-function-calling