Model card: short introduction, chart and demo link
Browse files
README.md
CHANGED
|
@@ -14,7 +14,11 @@ tags:
|
|
| 14 |
|
| 15 |
# TACT: a 2.39 MB function-calling language model, more accurate than open models up to 700 times its size
|
| 16 |
|
| 17 |
-
TACT (Ternary Action-Calling Transformer) reads a request in
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
```
|
| 20 |
request lock the garage and switch off the bedroom light
|
|
@@ -24,9 +28,7 @@ output [{"name": "lock_door", "arguments": {"door": "garage", "locked": tru
|
|
| 24 |
{"name": "set_light", "arguments": {"room": "bedroom", "state": "off"}}]
|
| 25 |
```
|
| 26 |
|
| 27 |
-
The function list is given at run time
|
| 28 |
-
|
| 29 |
-
Code: [github.com/Glimmer-X/TACT-tiny-function-calling-model](https://github.com/Glimmer-X/TACT-tiny-function-calling-model)
|
| 30 |
|
| 31 |
## Use
|
| 32 |
|
|
@@ -77,7 +79,7 @@ Accuracy on four device-control test sets, in percent. A request counts as corre
|
|
| 77 |
| TACT, mean of three training runs | 76.5 | 82.8 | 83.1 | 78.9 | 80.3 |
|
| 78 |
| These weights | 75.1 | 83.3 | 85.4 | 78.9 | 80.7 |
|
| 79 |
|
| 80 |
-
The test sets, the evaluation script and
|
| 81 |
|
| 82 |
## Training data
|
| 83 |
|
|
|
|
| 14 |
|
| 15 |
# TACT: a 2.39 MB function-calling language model, more accurate than open models up to 700 times its size
|
| 16 |
|
| 17 |
+
TACT (Ternary Action-Calling Transformer) reads a request in plain language together with the list of functions a device offers and returns the function calls that carry the request out. It has 7.4 million parameters and its weights occupy 2.39 MB. On device-control tests it is more accurate than open models up to 700 times its size.
|
| 18 |
+
|
| 19 |
+
**[Demo in the browser](https://huggingface.co/spaces/Glimmer-X/TACT-demo)** 路 [Paper](https://doi.org/10.5281/zenodo.24529121) 路 [Code on GitHub](https://github.com/Glimmer-X/TACT-tiny-function-calling-model) 路 [Project page](https://glimmer-x.github.io/TACT-tiny-function-calling-model/)
|
| 20 |
+
|
| 21 |
+

|
| 22 |
|
| 23 |
```
|
| 24 |
request lock the garage and switch off the bedroom light
|
|
|
|
| 28 |
{"name": "set_light", "arguments": {"room": "bedroom", "state": "off"}}]
|
| 29 |
```
|
| 30 |
|
| 31 |
+
The function list is given at run time, so a new device only needs its own list.
|
|
|
|
|
|
|
| 32 |
|
| 33 |
## Use
|
| 34 |
|
|
|
|
| 79 |
| TACT, mean of three training runs | 76.5 | 82.8 | 83.1 | 78.9 | 80.3 |
|
| 80 |
| These weights | 75.1 | 83.3 | 85.4 | 78.9 | 80.7 |
|
| 81 |
|
| 82 |
+
The test sets, the evaluation script and the numbers of the other nine models are in the [code repository](https://github.com/Glimmer-X/TACT-tiny-function-calling-model).
|
| 83 |
|
| 84 |
## Training data
|
| 85 |
|
chart.svg
ADDED
|
|