cfahlgren1 commited on
Commit
8dac8b4
1 Parent(s): fdff570

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +73 -1
README.md CHANGED
@@ -5,6 +5,78 @@ datasets:
5
  - glaiveai/glaive-function-calling-v2
6
  - LDJnr/Capybara
7
  ---
8
- # Mistral-Functions-7B
9
 
10
  Mistral-7B finetuned for Function Calling
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  - glaiveai/glaive-function-calling-v2
6
  - LDJnr/Capybara
7
  ---
8
+ # NaturalFunctions-7B
9
 
10
  Mistral-7B finetuned for Function Calling
11
+
12
+ # Examples
13
+
14
+ ## **System Prompt**
15
+
16
+ You are a helpful assistant with access to the following functions.
17
+ Use them if required -
18
+ ```json
19
+ {
20
+ "name": "create_event",
21
+ "description": "Create a new event in the calendar",
22
+ "parameters": {
23
+ "type": "object",
24
+ "properties": {
25
+ "title": {
26
+ "type": "string",
27
+ "description": "The title of the event"
28
+ },
29
+ "date": {
30
+ "type": "string",
31
+ "format": "date",
32
+ "description": "The date of the event"
33
+ },
34
+ "time": {
35
+ "type": "string",
36
+ "format": "time",
37
+ "description": "The time of the event"
38
+ },
39
+ "location": {
40
+ "type": "string",
41
+ "description": "The location of the event (optional)"
42
+ }
43
+ },
44
+ "required": [
45
+ "title",
46
+ "date",
47
+ "time"
48
+ ]
49
+ }
50
+ }
51
+ ```
52
+
53
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a374f00f7a3374ee64b99/A0d_hsWpnSoynXcpZoupm.png)
54
+
55
+ ## **System Prompt**
56
+
57
+ You are a helpful assistant with access to the following functions. Use them if required
58
+ ```json
59
+ {
60
+ "name": "calculate_shipping_cost",
61
+ "description": "Calculate the shipping cost for a package",
62
+ "parameters": {
63
+ "type": "object",
64
+ "properties": {
65
+ "weight": {
66
+ "type": "number",
67
+ "description": "The weight of the package in kilograms"
68
+ },
69
+ "destination": {
70
+ "type": "string",
71
+ "description": "The destination address"
72
+ }
73
+ },
74
+ "required": [
75
+ "weight",
76
+ "destination"
77
+ ]
78
+ }
79
+ }
80
+ ```
81
+
82
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a374f00f7a3374ee64b99/3_tPYiGFrBAYG_uOQKvn1.png)