Upload folder using huggingface_hub

This commit is contained in:
Morris Zhang
2024-11-18 23:26:36 +00:00
committed by system
parent 5f8ec24dd7
commit 768e18278e
14 changed files with 144 additions and 0 deletions

12
.gitattributes vendored
View File

@@ -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

96
README.md Normal file
View File

@@ -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
---
<div style="width: auto; margin-left: auto; margin-right: auto">
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
</div>
<div style="display: flex; justify-content: space-between; width: 100%;">
<div style="display: flex; flex-direction: column; align-items: flex-start;">
<p style="margin-top: 0.5em; margin-bottom: 0em;">
Feedback and support: TensorBlock's <a href="https://x.com/tensorblock_aoi">Twitter/X</a>, <a href="https://t.me/TensorBlock">Telegram Group</a> and <a href="https://x.com/tensorblock_aoi">Discord server</a>
</p>
</div>
</div>
## 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).
<div style="text-align: left; margin: 20px 0;">
<a href="https://tensorblock.co/waitlist/client" style="display: inline-block; padding: 10px 20px; background-color: #007bff; color: white; text-decoration: none; border-radius: 5px; font-weight: bold;">
Run them on the TensorBlock client using your local machine ↗
</a>
</div>
## Prompt template
```
<s>
### 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'
```

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3626789d7e25d7f638eccff804f6613d2b46f5ab5a3d0c530a961a22b1997932
size 432132000

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ecabf3c38879822e4c944e330180633e91ffc953bacc20d4fe02efdfd925363b
size 591527840

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:61407070a72f39106cdc8710f575043040fd019034c3f85491705dc980431ca2
size 548405152

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:59dbabd0cf03d6f90953519153271ce3b49301933166677aede0fa2d7bdf8ceb
size 499343264

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b0420ff74d2fd5c1b9c5b4e7a6441949de2ba5554b33c590ef5abe25814ff945
size 636727200

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:daf093e50613691e2c1938a64c3c1121757330326c4e044643c95034a2dfb189
size 667815840

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ac9b1407a5fe2836fecd8c2930a58d13456818d8ede178020ce9769a1741827
size 639872928

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8662b0f32380515251c6ebff7220edfc74c818a0a881d7d7806edb14765aa917
size 766029728

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5a2413538597ef576d819bcb899e7fa7ddf89331ff6f0ed2b6d7855148526321
size 782045088

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a4ef942bcf42cc777ed948a48d67ae6bc821ae291031f00527fde2d14f42429c
size 766029728

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e5c1136843668f3da6c23b2bd8b841e97c393d241c771aa3e6ed3de0b7fbbeb6
size 903413664

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b570e230aa0eee39b82249b1c2c35173a3885e0b4d5c1d4a783c8be3e1698361
size 1169809312