Instructions to use tensorblock/model_6hs-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/model_6hs-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/model_6hs-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/model_6hs-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/model_6hs-GGUF", filename="model_6hs-Q2_K.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/model_6hs-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/model_6hs-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/model_6hs-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/model_6hs-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/model_6hs-GGUF:Q2_K
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf tensorblock/model_6hs-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/model_6hs-GGUF:Q2_K
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf tensorblock/model_6hs-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/model_6hs-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/model_6hs-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/model_6hs-GGUF with Ollama:
ollama run hf.co/tensorblock/model_6hs-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/model_6hs-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/model_6hs-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/model_6hs-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/model_6hs-GGUF to start chatting
- Pi
How to use tensorblock/model_6hs-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf tensorblock/model_6hs-GGUF:Q2_K
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "tensorblock/model_6hs-GGUF:Q2_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use tensorblock/model_6hs-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf tensorblock/model_6hs-GGUF:Q2_K
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default tensorblock/model_6hs-GGUF:Q2_K
Run Hermes
hermes
- Docker Model Runner
How to use tensorblock/model_6hs-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/model_6hs-GGUF:Q2_K
- Lemonade
How to use tensorblock/model_6hs-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/model_6hs-GGUF:Q2_K
Run and chat with the model
lemonade run user.model_6hs-GGUF-Q2_K
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +87 -0
- model_6hs-Q2_K.gguf +3 -0
- model_6hs-Q3_K_L.gguf +3 -0
- model_6hs-Q3_K_M.gguf +3 -0
- model_6hs-Q3_K_S.gguf +3 -0
- model_6hs-Q4_0.gguf +3 -0
- model_6hs-Q4_K_M.gguf +3 -0
- model_6hs-Q4_K_S.gguf +3 -0
- model_6hs-Q5_0.gguf +3 -0
- model_6hs-Q5_K_M.gguf +3 -0
- model_6hs-Q5_K_S.gguf +3 -0
- model_6hs-Q6_K.gguf +3 -0
- model_6hs-Q8_0.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
model_6hs-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
model_6hs-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
model_6hs-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
model_6hs-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
model_6hs-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
model_6hs-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
model_6hs-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
model_6hs-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
model_6hs-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
model_6hs-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
model_6hs-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
model_6hs-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
library_name: transformers
|
| 5 |
+
license: apache-2.0
|
| 6 |
+
tags:
|
| 7 |
+
- transformers
|
| 8 |
+
- TensorBlock
|
| 9 |
+
- GGUF
|
| 10 |
+
base_model: lucifer-ms/model_6hs
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
| 14 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 15 |
+
</div>
|
| 16 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
| 17 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
| 18 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
| 19 |
+
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>
|
| 20 |
+
</p>
|
| 21 |
+
</div>
|
| 22 |
+
</div>
|
| 23 |
+
|
| 24 |
+
## lucifer-ms/model_6hs - GGUF
|
| 25 |
+
|
| 26 |
+
This repo contains GGUF format model files for [lucifer-ms/model_6hs](https://huggingface.co/lucifer-ms/model_6hs).
|
| 27 |
+
|
| 28 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4242](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d).
|
| 29 |
+
|
| 30 |
+
<div style="text-align: left; margin: 20px 0;">
|
| 31 |
+
<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;">
|
| 32 |
+
Run them on the TensorBlock client using your local machine ↗
|
| 33 |
+
</a>
|
| 34 |
+
</div>
|
| 35 |
+
|
| 36 |
+
## Prompt template
|
| 37 |
+
|
| 38 |
+
```
|
| 39 |
+
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
|
| 40 |
+
|
| 41 |
+
Cutting Knowledge Date: December 2023
|
| 42 |
+
Today Date: 26 Jul 2024
|
| 43 |
+
|
| 44 |
+
{system_prompt}<|eot_id|><|start_header_id|>user<|end_header_id|>
|
| 45 |
+
|
| 46 |
+
{prompt}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
+
## Model file specification
|
| 50 |
+
|
| 51 |
+
| Filename | Quant type | File Size | Description |
|
| 52 |
+
| -------- | ---------- | --------- | ----------- |
|
| 53 |
+
| [model_6hs-Q2_K.gguf](https://huggingface.co/tensorblock/model_6hs-GGUF/blob/main/model_6hs-Q2_K.gguf) | Q2_K | 3.179 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 54 |
+
| [model_6hs-Q3_K_S.gguf](https://huggingface.co/tensorblock/model_6hs-GGUF/blob/main/model_6hs-Q3_K_S.gguf) | Q3_K_S | 3.665 GB | very small, high quality loss |
|
| 55 |
+
| [model_6hs-Q3_K_M.gguf](https://huggingface.co/tensorblock/model_6hs-GGUF/blob/main/model_6hs-Q3_K_M.gguf) | Q3_K_M | 4.019 GB | very small, high quality loss |
|
| 56 |
+
| [model_6hs-Q3_K_L.gguf](https://huggingface.co/tensorblock/model_6hs-GGUF/blob/main/model_6hs-Q3_K_L.gguf) | Q3_K_L | 4.322 GB | small, substantial quality loss |
|
| 57 |
+
| [model_6hs-Q4_0.gguf](https://huggingface.co/tensorblock/model_6hs-GGUF/blob/main/model_6hs-Q4_0.gguf) | Q4_0 | 4.661 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 58 |
+
| [model_6hs-Q4_K_S.gguf](https://huggingface.co/tensorblock/model_6hs-GGUF/blob/main/model_6hs-Q4_K_S.gguf) | Q4_K_S | 4.693 GB | small, greater quality loss |
|
| 59 |
+
| [model_6hs-Q4_K_M.gguf](https://huggingface.co/tensorblock/model_6hs-GGUF/blob/main/model_6hs-Q4_K_M.gguf) | Q4_K_M | 4.921 GB | medium, balanced quality - recommended |
|
| 60 |
+
| [model_6hs-Q5_0.gguf](https://huggingface.co/tensorblock/model_6hs-GGUF/blob/main/model_6hs-Q5_0.gguf) | Q5_0 | 5.599 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 61 |
+
| [model_6hs-Q5_K_S.gguf](https://huggingface.co/tensorblock/model_6hs-GGUF/blob/main/model_6hs-Q5_K_S.gguf) | Q5_K_S | 5.599 GB | large, low quality loss - recommended |
|
| 62 |
+
| [model_6hs-Q5_K_M.gguf](https://huggingface.co/tensorblock/model_6hs-GGUF/blob/main/model_6hs-Q5_K_M.gguf) | Q5_K_M | 5.733 GB | large, very low quality loss - recommended |
|
| 63 |
+
| [model_6hs-Q6_K.gguf](https://huggingface.co/tensorblock/model_6hs-GGUF/blob/main/model_6hs-Q6_K.gguf) | Q6_K | 6.596 GB | very large, extremely low quality loss |
|
| 64 |
+
| [model_6hs-Q8_0.gguf](https://huggingface.co/tensorblock/model_6hs-GGUF/blob/main/model_6hs-Q8_0.gguf) | Q8_0 | 8.541 GB | very large, extremely low quality loss - not recommended |
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
## Downloading instruction
|
| 68 |
+
|
| 69 |
+
### Command line
|
| 70 |
+
|
| 71 |
+
Firstly, install Huggingface Client
|
| 72 |
+
|
| 73 |
+
```shell
|
| 74 |
+
pip install -U "huggingface_hub[cli]"
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
Then, downoad the individual model file the a local directory
|
| 78 |
+
|
| 79 |
+
```shell
|
| 80 |
+
huggingface-cli download tensorblock/model_6hs-GGUF --include "model_6hs-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
| 84 |
+
|
| 85 |
+
```shell
|
| 86 |
+
huggingface-cli download tensorblock/model_6hs-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 87 |
+
```
|
model_6hs-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aead1eda44adc22bf9eb7ffd094f1de7211741cf673ef0895153f0ab054d7b1a
|
| 3 |
+
size 3179136192
|
model_6hs-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:528e6f370e2899b5d1e190e69972d8eb0572fb099e33f1dba74096784fca04b7
|
| 3 |
+
size 4321961152
|
model_6hs-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dce3892bf91115ed89f8dacfa826414bc1008cbe31f3910777d73721f456b61c
|
| 3 |
+
size 4018922688
|
model_6hs-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f6941196d05e57cd5e540d87e2813bbfbe2827f33d3f88e365c82974a59e2ba
|
| 3 |
+
size 3664504000
|
model_6hs-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:661cedccf9caf9e2bbb7ced37f70b7e974506bb2e14c85d6747e1b9f29a36bcb
|
| 3 |
+
size 4661216448
|
model_6hs-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e4ce807e872974a3600892d854ba79b86db1a14554c78cd99a5a5f511b15bea
|
| 3 |
+
size 4920739008
|
model_6hs-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4dfb69154b6f0ab93401460bea76731bf16bf5363ad40c16d85a988fed940b49
|
| 3 |
+
size 4692673728
|
model_6hs-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0092f72ecb4769a5210f9e3b0812ab9910d38597bc2ebe0cd1d8c64033954820
|
| 3 |
+
size 5599298752
|
model_6hs-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e74a837a5318bb05789b60f0a6f012cfb78840d2cd01f135068264aff6f39d5
|
| 3 |
+
size 5732992192
|
model_6hs-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:605bedd2d0f2678a932b7cc369870efdc06adb34d8125a7b5ccc3dd205b30b1c
|
| 3 |
+
size 5599298752
|
model_6hs-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dd3298f5f9e317019d276869a60a0b08188a5f00c81fdfb4a8af97a6eaaa0c2d
|
| 3 |
+
size 6596011200
|
model_6hs-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c1453c77b4fa8823802388562e6ccdda7d35a47e0f2e457ee393bd80231ff73
|
| 3 |
+
size 8540775616
|