Commit
·
f514b0a
1
Parent(s):
91fd71f
add info for tgi
Browse files
README.md
CHANGED
|
@@ -32,7 +32,7 @@ Available models:
|
|
| 32 |
|
| 33 |
Llama-7B with function calling is licensed according to the Meta Community license.
|
| 34 |
|
| 35 |
-
Llama-13B with function calling
|
| 36 |
- Commercial license per user.
|
| 37 |
- Licenses are not transferable to other users/entities.
|
| 38 |
|
|
@@ -42,6 +42,23 @@ Use of all Llama models with function calling is further subject to terms in the
|
|
| 42 |
|
| 43 |
The dataset used for training this model can be found at [Trelis Function Calling Extended Dataset](https://huggingface.co/datasets/Trelis/function_calling_extended).
|
| 44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
## Syntax
|
| 46 |
|
| 47 |
### Prompt Templates
|
|
@@ -140,19 +157,6 @@ It is recommended to handle cases where:
|
|
| 140 |
}
|
| 141 |
```
|
| 142 |
|
| 143 |
-
## Inference
|
| 144 |
-
|
| 145 |
-
**Quick Start in Google Colab**
|
| 146 |
-
Try out this notebook [fLlama_Inference notebook](https://colab.research.google.com/drive/1Ow5cQ0JNv-vXsT-apCceH6Na3b4L7JyW?usp=sharing)
|
| 147 |
-
|
| 148 |
-
**Commercial Applications**
|
| 149 |
-
Recommend running this model with [text-generation-interface](https://github.com/huggingface/text-generation-inference) and [chat-ui](https://github.com/huggingface/chat-ui)
|
| 150 |
-
|
| 151 |
-
*While the model runs with tgi, it does not respond to functions as expected. Please get in touch with ronan [at] trelis dot com if you are interested in this functionality.*
|
| 152 |
-
|
| 153 |
-
**Run on your laptop**
|
| 154 |
-
Run on your laptop [video and juypter notebook](https://youtu.be/nDJMHFsBU7M)
|
| 155 |
-
|
| 156 |
~
|
| 157 |
|
| 158 |
Below follows information on the original Llama 2 model...
|
|
|
|
| 32 |
|
| 33 |
Llama-7B with function calling is licensed according to the Meta Community license.
|
| 34 |
|
| 35 |
+
Llama-13B and Code-llama-34b with function calling are commercially licensed.
|
| 36 |
- Commercial license per user.
|
| 37 |
- Licenses are not transferable to other users/entities.
|
| 38 |
|
|
|
|
| 42 |
|
| 43 |
The dataset used for training this model can be found at [Trelis Function Calling Extended Dataset](https://huggingface.co/datasets/Trelis/function_calling_extended).
|
| 44 |
|
| 45 |
+
## Inference
|
| 46 |
+
|
| 47 |
+
**Quick Start in Google Colab**
|
| 48 |
+
Try out this notebook [fLlama_Inference notebook](https://colab.research.google.com/drive/1Ow5cQ0JNv-vXsT-apCceH6Na3b4L7JyW?usp=sharing)
|
| 49 |
+
|
| 50 |
+
**Commercial Applications**
|
| 51 |
+
You can this model with [text-generation-interface](https://github.com/huggingface/text-generation-inference) and [chat-ui](https://github.com/huggingface/chat-ui)
|
| 52 |
+
|
| 53 |
+
Here is the [github for setup](https://github.com/TrelisResearch/tgi-chat-ui-function-calling)
|
| 54 |
+
|
| 55 |
+
And here is a video showing it working with [llama-2-7b-chat-hf-function-calling-v2](https://huggingface.co/Trelis/Llama-2-7b-chat-hf-function-calling-v2) (note that we've now moved to v2)
|
| 56 |
+
|
| 57 |
+
Note that you'll still need to code the server-side handling of making the function calls (which obviously depends on what functions you want to use).
|
| 58 |
+
|
| 59 |
+
**Run on your laptop**
|
| 60 |
+
Run on your laptop [video and juypter notebook](https://youtu.be/nDJMHFsBU7M)
|
| 61 |
+
|
| 62 |
## Syntax
|
| 63 |
|
| 64 |
### Prompt Templates
|
|
|
|
| 157 |
}
|
| 158 |
```
|
| 159 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 160 |
~
|
| 161 |
|
| 162 |
Below follows information on the original Llama 2 model...
|