diff --git a/.gitattributes b/.gitattributes index a6344aa..490a4d0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -33,3 +33,15 @@ saved_model/**/* 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 +TinyLlama-1.1B-32k-Instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text +TinyLlama-1.1B-32k-Instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text +TinyLlama-1.1B-32k-Instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text +TinyLlama-1.1B-32k-Instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text +TinyLlama-1.1B-32k-Instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text +TinyLlama-1.1B-32k-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text +TinyLlama-1.1B-32k-Instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text +TinyLlama-1.1B-32k-Instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text +TinyLlama-1.1B-32k-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text +TinyLlama-1.1B-32k-Instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text +TinyLlama-1.1B-32k-Instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text +TinyLlama-1.1B-32k-Instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text diff --git a/README.md b/README.md new file mode 100644 index 0000000..b22587b --- /dev/null +++ b/README.md @@ -0,0 +1,96 @@ +--- +inference: false +language: +- en +library_name: transformers +pipeline_tag: text-generation +tags: +- llama +- TensorBlock +- GGUF +datasets: +- LDJnr/Capybara +- jondurbin/airoboros-3.2 +- unalignment/toxic-dpo-v0.1 +- LDJnr/Verified-Camel +- HuggingFaceH4/no_robots +- Doctor-Shotgun/no-robots-sharegpt +- Doctor-Shotgun/capybara-sharegpt +base_model: Doctor-Shotgun/TinyLlama-1.1B-32k-Instruct +--- + +
+TensorBlock +
+
+
+

+ Feedback and support: TensorBlock's Twitter/X, Telegram Group and Discord server +

+
+
+ +## Doctor-Shotgun/TinyLlama-1.1B-32k-Instruct - GGUF + +This repo contains GGUF format model files for [Doctor-Shotgun/TinyLlama-1.1B-32k-Instruct](https://huggingface.co/Doctor-Shotgun/TinyLlama-1.1B-32k-Instruct). + +The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4011](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d). + +
+ + Run them on the TensorBlock client using your local machine ↗ + +
+ +## Prompt template + +``` + +### Instruction: +{system_prompt} + +### Input: +{prompt} + +### Response: +``` + +## Model file specification + +| Filename | Quant type | File Size | Description | +| -------- | ---------- | --------- | ----------- | +| [TinyLlama-1.1B-32k-Instruct-Q2_K.gguf](https://huggingface.co/tensorblock/TinyLlama-1.1B-32k-Instruct-GGUF/blob/main/TinyLlama-1.1B-32k-Instruct-Q2_K.gguf) | Q2_K | 0.402 GB | smallest, significant quality loss - not recommended for most purposes | +| [TinyLlama-1.1B-32k-Instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/TinyLlama-1.1B-32k-Instruct-GGUF/blob/main/TinyLlama-1.1B-32k-Instruct-Q3_K_S.gguf) | Q3_K_S | 0.465 GB | very small, high quality loss | +| [TinyLlama-1.1B-32k-Instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/TinyLlama-1.1B-32k-Instruct-GGUF/blob/main/TinyLlama-1.1B-32k-Instruct-Q3_K_M.gguf) | Q3_K_M | 0.511 GB | very small, high quality loss | +| [TinyLlama-1.1B-32k-Instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/TinyLlama-1.1B-32k-Instruct-GGUF/blob/main/TinyLlama-1.1B-32k-Instruct-Q3_K_L.gguf) | Q3_K_L | 0.551 GB | small, substantial quality loss | +| [TinyLlama-1.1B-32k-Instruct-Q4_0.gguf](https://huggingface.co/tensorblock/TinyLlama-1.1B-32k-Instruct-GGUF/blob/main/TinyLlama-1.1B-32k-Instruct-Q4_0.gguf) | Q4_0 | 0.593 GB | legacy; small, very high quality loss - prefer using Q3_K_M | +| [TinyLlama-1.1B-32k-Instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/TinyLlama-1.1B-32k-Instruct-GGUF/blob/main/TinyLlama-1.1B-32k-Instruct-Q4_K_S.gguf) | Q4_K_S | 0.596 GB | small, greater quality loss | +| [TinyLlama-1.1B-32k-Instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/TinyLlama-1.1B-32k-Instruct-GGUF/blob/main/TinyLlama-1.1B-32k-Instruct-Q4_K_M.gguf) | Q4_K_M | 0.622 GB | medium, balanced quality - recommended | +| [TinyLlama-1.1B-32k-Instruct-Q5_0.gguf](https://huggingface.co/tensorblock/TinyLlama-1.1B-32k-Instruct-GGUF/blob/main/TinyLlama-1.1B-32k-Instruct-Q5_0.gguf) | Q5_0 | 0.713 GB | legacy; medium, balanced quality - prefer using Q4_K_M | +| [TinyLlama-1.1B-32k-Instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/TinyLlama-1.1B-32k-Instruct-GGUF/blob/main/TinyLlama-1.1B-32k-Instruct-Q5_K_S.gguf) | Q5_K_S | 0.713 GB | large, low quality loss - recommended | +| [TinyLlama-1.1B-32k-Instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/TinyLlama-1.1B-32k-Instruct-GGUF/blob/main/TinyLlama-1.1B-32k-Instruct-Q5_K_M.gguf) | Q5_K_M | 0.728 GB | large, very low quality loss - recommended | +| [TinyLlama-1.1B-32k-Instruct-Q6_K.gguf](https://huggingface.co/tensorblock/TinyLlama-1.1B-32k-Instruct-GGUF/blob/main/TinyLlama-1.1B-32k-Instruct-Q6_K.gguf) | Q6_K | 0.841 GB | very large, extremely low quality loss | +| [TinyLlama-1.1B-32k-Instruct-Q8_0.gguf](https://huggingface.co/tensorblock/TinyLlama-1.1B-32k-Instruct-GGUF/blob/main/TinyLlama-1.1B-32k-Instruct-Q8_0.gguf) | Q8_0 | 1.089 GB | very large, extremely low quality loss - not recommended | + + +## Downloading instruction + +### Command line + +Firstly, install Huggingface Client + +```shell +pip install -U "huggingface_hub[cli]" +``` + +Then, downoad the individual model file the a local directory + +```shell +huggingface-cli download tensorblock/TinyLlama-1.1B-32k-Instruct-GGUF --include "TinyLlama-1.1B-32k-Instruct-Q2_K.gguf" --local-dir MY_LOCAL_DIR +``` + +If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try: + +```shell +huggingface-cli download tensorblock/TinyLlama-1.1B-32k-Instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf' +``` diff --git a/TinyLlama-1.1B-32k-Instruct-Q2_K.gguf b/TinyLlama-1.1B-32k-Instruct-Q2_K.gguf new file mode 100644 index 0000000..744a776 --- /dev/null +++ b/TinyLlama-1.1B-32k-Instruct-Q2_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3626789d7e25d7f638eccff804f6613d2b46f5ab5a3d0c530a961a22b1997932 +size 432132000 diff --git a/TinyLlama-1.1B-32k-Instruct-Q3_K_L.gguf b/TinyLlama-1.1B-32k-Instruct-Q3_K_L.gguf new file mode 100644 index 0000000..deece79 --- /dev/null +++ b/TinyLlama-1.1B-32k-Instruct-Q3_K_L.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ecabf3c38879822e4c944e330180633e91ffc953bacc20d4fe02efdfd925363b +size 591527840 diff --git a/TinyLlama-1.1B-32k-Instruct-Q3_K_M.gguf b/TinyLlama-1.1B-32k-Instruct-Q3_K_M.gguf new file mode 100644 index 0000000..ac96a3e --- /dev/null +++ b/TinyLlama-1.1B-32k-Instruct-Q3_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61407070a72f39106cdc8710f575043040fd019034c3f85491705dc980431ca2 +size 548405152 diff --git a/TinyLlama-1.1B-32k-Instruct-Q3_K_S.gguf b/TinyLlama-1.1B-32k-Instruct-Q3_K_S.gguf new file mode 100644 index 0000000..052388f --- /dev/null +++ b/TinyLlama-1.1B-32k-Instruct-Q3_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:59dbabd0cf03d6f90953519153271ce3b49301933166677aede0fa2d7bdf8ceb +size 499343264 diff --git a/TinyLlama-1.1B-32k-Instruct-Q4_0.gguf b/TinyLlama-1.1B-32k-Instruct-Q4_0.gguf new file mode 100644 index 0000000..261245b --- /dev/null +++ b/TinyLlama-1.1B-32k-Instruct-Q4_0.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0420ff74d2fd5c1b9c5b4e7a6441949de2ba5554b33c590ef5abe25814ff945 +size 636727200 diff --git a/TinyLlama-1.1B-32k-Instruct-Q4_K_M.gguf b/TinyLlama-1.1B-32k-Instruct-Q4_K_M.gguf new file mode 100644 index 0000000..3d7519a --- /dev/null +++ b/TinyLlama-1.1B-32k-Instruct-Q4_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:daf093e50613691e2c1938a64c3c1121757330326c4e044643c95034a2dfb189 +size 667815840 diff --git a/TinyLlama-1.1B-32k-Instruct-Q4_K_S.gguf b/TinyLlama-1.1B-32k-Instruct-Q4_K_S.gguf new file mode 100644 index 0000000..5ce27b3 --- /dev/null +++ b/TinyLlama-1.1B-32k-Instruct-Q4_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ac9b1407a5fe2836fecd8c2930a58d13456818d8ede178020ce9769a1741827 +size 639872928 diff --git a/TinyLlama-1.1B-32k-Instruct-Q5_0.gguf b/TinyLlama-1.1B-32k-Instruct-Q5_0.gguf new file mode 100644 index 0000000..eabc114 --- /dev/null +++ b/TinyLlama-1.1B-32k-Instruct-Q5_0.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8662b0f32380515251c6ebff7220edfc74c818a0a881d7d7806edb14765aa917 +size 766029728 diff --git a/TinyLlama-1.1B-32k-Instruct-Q5_K_M.gguf b/TinyLlama-1.1B-32k-Instruct-Q5_K_M.gguf new file mode 100644 index 0000000..889914e --- /dev/null +++ b/TinyLlama-1.1B-32k-Instruct-Q5_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a2413538597ef576d819bcb899e7fa7ddf89331ff6f0ed2b6d7855148526321 +size 782045088 diff --git a/TinyLlama-1.1B-32k-Instruct-Q5_K_S.gguf b/TinyLlama-1.1B-32k-Instruct-Q5_K_S.gguf new file mode 100644 index 0000000..c0ea193 --- /dev/null +++ b/TinyLlama-1.1B-32k-Instruct-Q5_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4ef942bcf42cc777ed948a48d67ae6bc821ae291031f00527fde2d14f42429c +size 766029728 diff --git a/TinyLlama-1.1B-32k-Instruct-Q6_K.gguf b/TinyLlama-1.1B-32k-Instruct-Q6_K.gguf new file mode 100644 index 0000000..64f63c2 --- /dev/null +++ b/TinyLlama-1.1B-32k-Instruct-Q6_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5c1136843668f3da6c23b2bd8b841e97c393d241c771aa3e6ed3de0b7fbbeb6 +size 903413664 diff --git a/TinyLlama-1.1B-32k-Instruct-Q8_0.gguf b/TinyLlama-1.1B-32k-Instruct-Q8_0.gguf new file mode 100644 index 0000000..b003784 --- /dev/null +++ b/TinyLlama-1.1B-32k-Instruct-Q8_0.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b570e230aa0eee39b82249b1c2c35173a3885e0b4d5c1d4a783c8be3e1698361 +size 1169809312