初始化项目,由ModelHub XC社区提供模型
Model: cfahlgren1/natural-functions-GGUF Source: Original Platform
This commit is contained in:
49
.gitattributes
vendored
Normal file
49
.gitattributes
vendored
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.model filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||||
|
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
natural-functions.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
natural-functions.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
natural-functions.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
natural-functions.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
natural-functions.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
natural-functions.Q4_1.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
natural-functions.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
natural-functions.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
natural-functions.Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
natural-functions.Q5_1.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
natural-functions.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
natural-functions.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
natural-functions.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
natural-functions.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
88
README.md
Normal file
88
README.md
Normal file
@@ -0,0 +1,88 @@
|
|||||||
|
---
|
||||||
|
library_name: transformers
|
||||||
|
license: apache-2.0
|
||||||
|
datasets:
|
||||||
|
- glaiveai/glaive-function-calling-v2
|
||||||
|
- LDJnr/Capybara
|
||||||
|
---
|
||||||
|
# NaturalFunctions-7B
|
||||||
|
|
||||||
|
Mistral-7B finetuned for Function Calling
|
||||||
|
|
||||||
|
[Try on Ollama](https://ollama.ai/calebfahlgren/natural-functions)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ollama run calebfahlgren/natural-functions
|
||||||
|
```
|
||||||
|
|
||||||
|
# Examples
|
||||||
|
|
||||||
|
## **System Prompt**
|
||||||
|
|
||||||
|
You are a helpful assistant with access to the following functions.
|
||||||
|
Use them if required -
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"name": "create_event",
|
||||||
|
"description": "Create a new event in the calendar",
|
||||||
|
"parameters": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"title": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The title of the event"
|
||||||
|
},
|
||||||
|
"date": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "date",
|
||||||
|
"description": "The date of the event"
|
||||||
|
},
|
||||||
|
"time": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "time",
|
||||||
|
"description": "The time of the event"
|
||||||
|
},
|
||||||
|
"location": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The location of the event (optional)"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"title",
|
||||||
|
"date",
|
||||||
|
"time"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## **System Prompt**
|
||||||
|
|
||||||
|
You are a helpful assistant with access to the following functions. Use them if required
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"name": "calculate_shipping_cost",
|
||||||
|
"description": "Calculate the shipping cost for a package",
|
||||||
|
"parameters": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"weight": {
|
||||||
|
"type": "number",
|
||||||
|
"description": "The weight of the package in kilograms"
|
||||||
|
},
|
||||||
|
"destination": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The destination address"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"weight",
|
||||||
|
"destination"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|

|
||||||
3
natural-functions.Q2_K.gguf
Normal file
3
natural-functions.Q2_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e2d51b49aa00eccda24fa63fa2117795676d8fa876d46d348c92f9318fd46329
|
||||||
|
size 2719241920
|
||||||
3
natural-functions.Q3_K_L.gguf
Normal file
3
natural-functions.Q3_K_L.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6e2fd2478db8ffd23839996a70920bdc3442842d356e5a526fe6f7a93e130ff2
|
||||||
|
size 3822024384
|
||||||
3
natural-functions.Q3_K_M.gguf
Normal file
3
natural-functions.Q3_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f1bcae7b4602837f0a2605bf5ddea101bccdca8dd9af27d8e9b8f074465a34fa
|
||||||
|
size 3518985920
|
||||||
3
natural-functions.Q3_K_S.gguf
Normal file
3
natural-functions.Q3_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:350019a5c7efd2a53909e807914754aa92d3ab100ab4b43ac94d3106f9d8cd83
|
||||||
|
size 3164567232
|
||||||
3
natural-functions.Q4_0.gguf
Normal file
3
natural-functions.Q4_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5eacc46e5b0ec08858572de8dc6fd8be34cc2246a13a756858b0abed6ea78fe4
|
||||||
|
size 4108916416
|
||||||
3
natural-functions.Q4_1.gguf
Normal file
3
natural-functions.Q4_1.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8c4287da83a2f4fa9acd1746b2b60a75f03aca45492f64f3393b19ab26ddcdec
|
||||||
|
size 4553316032
|
||||||
3
natural-functions.Q4_K_M.gguf
Normal file
3
natural-functions.Q4_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4311ace3c2e3ac4b46040fd723a88186174239e8ffc94caf2c20859a5b953ad5
|
||||||
|
size 4368438976
|
||||||
3
natural-functions.Q4_K_S.gguf
Normal file
3
natural-functions.Q4_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:195d1bfe7704fefe49896e8897f7c2b805b5b9310a41f47c20d84ffad338173f
|
||||||
|
size 4140373696
|
||||||
3
natural-functions.Q5_0.gguf
Normal file
3
natural-functions.Q5_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2ad7854d78a11856c2c876a4296c251ce49aab36d079e4085c01e86cde499346
|
||||||
|
size 4997715648
|
||||||
3
natural-functions.Q5_1.gguf
Normal file
3
natural-functions.Q5_1.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f5616872283f87649f21ee16d4507397051e87c1ee3fb9c1f5ad8763c337bb33
|
||||||
|
size 5442115264
|
||||||
3
natural-functions.Q5_K_M.gguf
Normal file
3
natural-functions.Q5_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:592f52d177fc4f52c40761d680b7dd3cb614230e30b82704dca536b42ea000f9
|
||||||
|
size 5131409088
|
||||||
3
natural-functions.Q5_K_S.gguf
Normal file
3
natural-functions.Q5_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:470057627da09111648716ddc64fed6541fb4d7a12777ce7c011d38e383cae18
|
||||||
|
size 4997715648
|
||||||
3
natural-functions.Q6_K.gguf
Normal file
3
natural-functions.Q6_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8ce81bbfa70cbab39579448b87b04e4d0ac32c3141aee4f8ca485a752166bdb6
|
||||||
|
size 5942064832
|
||||||
3
natural-functions.Q8_0.gguf
Normal file
3
natural-functions.Q8_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ebcbcfdaf9e9b885b27fcd4f055decc6c8bb5aa2a2686f149546fe9fd81b26a3
|
||||||
|
size 7695857344
|
||||||
Reference in New Issue
Block a user