From 1bd56782793905817d42288f793b66175727062f Mon Sep 17 00:00:00 2001 From: ModelHub XC Date: Sat, 29 Aug 2026 08:42:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=EF=BC=8C=E7=94=B1ModelHub=20XC=E7=A4=BE=E5=8C=BA=E6=8F=90?= =?UTF-8?q?=E4=BE=9B=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Model: cfahlgren1/natural-functions-GGUF Source: Original Platform --- .gitattributes | 49 +++++++++++++++++++ README.md | 88 +++++++++++++++++++++++++++++++++++ natural-functions.Q2_K.gguf | 3 ++ natural-functions.Q3_K_L.gguf | 3 ++ natural-functions.Q3_K_M.gguf | 3 ++ natural-functions.Q3_K_S.gguf | 3 ++ natural-functions.Q4_0.gguf | 3 ++ natural-functions.Q4_1.gguf | 3 ++ natural-functions.Q4_K_M.gguf | 3 ++ natural-functions.Q4_K_S.gguf | 3 ++ natural-functions.Q5_0.gguf | 3 ++ natural-functions.Q5_1.gguf | 3 ++ natural-functions.Q5_K_M.gguf | 3 ++ natural-functions.Q5_K_S.gguf | 3 ++ natural-functions.Q6_K.gguf | 3 ++ natural-functions.Q8_0.gguf | 3 ++ 16 files changed, 179 insertions(+) create mode 100644 .gitattributes create mode 100644 README.md create mode 100644 natural-functions.Q2_K.gguf create mode 100644 natural-functions.Q3_K_L.gguf create mode 100644 natural-functions.Q3_K_M.gguf create mode 100644 natural-functions.Q3_K_S.gguf create mode 100644 natural-functions.Q4_0.gguf create mode 100644 natural-functions.Q4_1.gguf create mode 100644 natural-functions.Q4_K_M.gguf create mode 100644 natural-functions.Q4_K_S.gguf create mode 100644 natural-functions.Q5_0.gguf create mode 100644 natural-functions.Q5_1.gguf create mode 100644 natural-functions.Q5_K_M.gguf create mode 100644 natural-functions.Q5_K_S.gguf create mode 100644 natural-functions.Q6_K.gguf create mode 100644 natural-functions.Q8_0.gguf diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..922435b --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/README.md b/README.md new file mode 100644 index 0000000..d02bcd1 --- /dev/null +++ b/README.md @@ -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" + ] + } +} +``` + +![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a374f00f7a3374ee64b99/A0d_hsWpnSoynXcpZoupm.png) + +## **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" + ] + } +} +``` + +![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a374f00f7a3374ee64b99/3_tPYiGFrBAYG_uOQKvn1.png) diff --git a/natural-functions.Q2_K.gguf b/natural-functions.Q2_K.gguf new file mode 100644 index 0000000..11fbf54 --- /dev/null +++ b/natural-functions.Q2_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e2d51b49aa00eccda24fa63fa2117795676d8fa876d46d348c92f9318fd46329 +size 2719241920 diff --git a/natural-functions.Q3_K_L.gguf b/natural-functions.Q3_K_L.gguf new file mode 100644 index 0000000..1dc89e4 --- /dev/null +++ b/natural-functions.Q3_K_L.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e2fd2478db8ffd23839996a70920bdc3442842d356e5a526fe6f7a93e130ff2 +size 3822024384 diff --git a/natural-functions.Q3_K_M.gguf b/natural-functions.Q3_K_M.gguf new file mode 100644 index 0000000..ac5e33a --- /dev/null +++ b/natural-functions.Q3_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f1bcae7b4602837f0a2605bf5ddea101bccdca8dd9af27d8e9b8f074465a34fa +size 3518985920 diff --git a/natural-functions.Q3_K_S.gguf b/natural-functions.Q3_K_S.gguf new file mode 100644 index 0000000..918c04f --- /dev/null +++ b/natural-functions.Q3_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:350019a5c7efd2a53909e807914754aa92d3ab100ab4b43ac94d3106f9d8cd83 +size 3164567232 diff --git a/natural-functions.Q4_0.gguf b/natural-functions.Q4_0.gguf new file mode 100644 index 0000000..8c897dc --- /dev/null +++ b/natural-functions.Q4_0.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5eacc46e5b0ec08858572de8dc6fd8be34cc2246a13a756858b0abed6ea78fe4 +size 4108916416 diff --git a/natural-functions.Q4_1.gguf b/natural-functions.Q4_1.gguf new file mode 100644 index 0000000..95cf6b3 --- /dev/null +++ b/natural-functions.Q4_1.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c4287da83a2f4fa9acd1746b2b60a75f03aca45492f64f3393b19ab26ddcdec +size 4553316032 diff --git a/natural-functions.Q4_K_M.gguf b/natural-functions.Q4_K_M.gguf new file mode 100644 index 0000000..7eb6c3d --- /dev/null +++ b/natural-functions.Q4_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4311ace3c2e3ac4b46040fd723a88186174239e8ffc94caf2c20859a5b953ad5 +size 4368438976 diff --git a/natural-functions.Q4_K_S.gguf b/natural-functions.Q4_K_S.gguf new file mode 100644 index 0000000..f015d14 --- /dev/null +++ b/natural-functions.Q4_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:195d1bfe7704fefe49896e8897f7c2b805b5b9310a41f47c20d84ffad338173f +size 4140373696 diff --git a/natural-functions.Q5_0.gguf b/natural-functions.Q5_0.gguf new file mode 100644 index 0000000..ef7b4fb --- /dev/null +++ b/natural-functions.Q5_0.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ad7854d78a11856c2c876a4296c251ce49aab36d079e4085c01e86cde499346 +size 4997715648 diff --git a/natural-functions.Q5_1.gguf b/natural-functions.Q5_1.gguf new file mode 100644 index 0000000..51f18f3 --- /dev/null +++ b/natural-functions.Q5_1.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5616872283f87649f21ee16d4507397051e87c1ee3fb9c1f5ad8763c337bb33 +size 5442115264 diff --git a/natural-functions.Q5_K_M.gguf b/natural-functions.Q5_K_M.gguf new file mode 100644 index 0000000..92ce4be --- /dev/null +++ b/natural-functions.Q5_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:592f52d177fc4f52c40761d680b7dd3cb614230e30b82704dca536b42ea000f9 +size 5131409088 diff --git a/natural-functions.Q5_K_S.gguf b/natural-functions.Q5_K_S.gguf new file mode 100644 index 0000000..e15edf9 --- /dev/null +++ b/natural-functions.Q5_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:470057627da09111648716ddc64fed6541fb4d7a12777ce7c011d38e383cae18 +size 4997715648 diff --git a/natural-functions.Q6_K.gguf b/natural-functions.Q6_K.gguf new file mode 100644 index 0000000..33a61ca --- /dev/null +++ b/natural-functions.Q6_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ce81bbfa70cbab39579448b87b04e4d0ac32c3141aee4f8ca485a752166bdb6 +size 5942064832 diff --git a/natural-functions.Q8_0.gguf b/natural-functions.Q8_0.gguf new file mode 100644 index 0000000..ba951c5 --- /dev/null +++ b/natural-functions.Q8_0.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ebcbcfdaf9e9b885b27fcd4f055decc6c8bb5aa2a2686f149546fe9fd81b26a3 +size 7695857344