RonanMcGovern commited on
Commit
24bb2c4
1 Parent(s): 7013579

add training set argument types to readme

Browse files
Files changed (1) hide show
  1. README.md +14 -2
README.md CHANGED
@@ -104,7 +104,7 @@ Example with a system message:
104
  ```
105
  Notice that the function block is placed at the very start of the sequence, before 'B_INST'.
106
 
107
- ## Function Metadata Template
108
 
109
  functionMetadata should be a string representation of a JSON object, like this:
110
 
@@ -138,7 +138,7 @@ It is recommended to handle cases where:
138
  - There is no json object in the response
139
  - The response contains text in addition to the json response
140
 
141
- ## Sample functionList
142
 
143
  ```
144
  {
@@ -166,6 +166,18 @@ It is recommended to handle cases where:
166
  }
167
  ```
168
 
 
 
 
 
 
 
 
 
 
 
 
 
169
  ~
170
 
171
  Below follows information on the original Llama 2 model...
 
104
  ```
105
  Notice that the function block is placed at the very start of the sequence, before 'B_INST'.
106
 
107
+ ### Function Metadata Template
108
 
109
  functionMetadata should be a string representation of a JSON object, like this:
110
 
 
138
  - There is no json object in the response
139
  - The response contains text in addition to the json response
140
 
141
+ ### Sample functionList
142
 
143
  ```
144
  {
 
166
  }
167
  ```
168
 
169
+ ### Training Set Argument Types
170
+ Models were fine-tuned on argument types including strings, numbers and arrays. The training set includes function calls with 0, 1, 2 or 3 arguments. The larger the model the better it will generalise beyond these types.
171
+
172
+ Here is a function call with an array:
173
+ ```
174
+ { "function": "delete_file", "arguments": { "fileNames": [ "Dissecting Transformer Length Extrapolation via The Lens of Receptive Field Analysis", "Luna- Linear Unified Nested Attention", "Substack_Inc_2021_2020_GAAP_Audited_Financials" ] } }
175
+ ```
176
+ Here is a function call with three arguments:
177
+ ```
178
+ { "function": "save_chat", "arguments": { "fileName": "KiteDiscussion", "fileDescription": "Notes on one and two stringed kites", "fileContent": "--- **Types of Kite** There are one and two string kites. The two string ones are easier to control, although you can get the cords tangled. The one-stringed ones are sometimes used for kite fights, and you lose the kite and have to run after it if the string breaks. ---" } }
179
+ ```
180
+
181
  ~
182
 
183
  Below follows information on the original Llama 2 model...