Instructions to use tensorblock/NT34-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/NT34-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/NT34-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/NT34-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/NT34-GGUF", filename="NT34-Q2_K.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/NT34-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/NT34-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/NT34-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/NT34-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/NT34-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/NT34-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/NT34-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/NT34-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/NT34-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/NT34-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/NT34-GGUF with Ollama:
ollama run hf.co/tensorblock/NT34-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/NT34-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/NT34-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/NT34-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/NT34-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/NT34-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/NT34-GGUF:Q2_K
- Lemonade
How to use tensorblock/NT34-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/NT34-GGUF:Q2_K
Run and chat with the model
lemonade run user.NT34-GGUF-Q2_K
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- NT34-Q2_K.gguf +3 -0
- NT34-Q3_K_L.gguf +3 -0
- NT34-Q3_K_M.gguf +3 -0
- NT34-Q3_K_S.gguf +3 -0
- NT34-Q4_0.gguf +3 -0
- NT34-Q4_K_M.gguf +3 -0
- NT34-Q4_K_S.gguf +3 -0
- NT34-Q5_0.gguf +3 -0
- NT34-Q5_K_M.gguf +3 -0
- NT34-Q5_K_S.gguf +3 -0
- NT34-Q6_K.gguf +3 -0
- NT34-Q8_0.gguf +3 -0
- README.md +80 -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 |
+
NT34-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
NT34-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
NT34-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
NT34-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
NT34-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
NT34-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
NT34-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
NT34-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
NT34-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
NT34-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
NT34-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
NT34-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
NT34-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:39c331b9e0135b81a4ea0d70647f1fa00f9caad72079330139e723fe70f14d30
|
| 3 |
+
size 3090367680
|
NT34-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:72a702cd6ad14ebbc8c907fa56056c2fed680c6456226d49f5b9adad367d9857
|
| 3 |
+
size 4171754688
|
NT34-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:17c7cbb79493556959e810216e05a159e17c204737ff385910f0f9fc801fe7e5
|
| 3 |
+
size 3880381632
|
NT34-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd626f04c12bc45496ac3f34d22cb3832832ca2007cc92d4b1d7930b434fa52f
|
| 3 |
+
size 3551029440
|
NT34-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cff78f9bceff253efb89f1386940ffffd2fa602d59e60e13047068fc1d95777f
|
| 3 |
+
size 4497171648
|
NT34-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b9fdd3c94f0175b0ab8455a19b83c2eebb8b1b90e2ff402dfdecca66082e079
|
| 3 |
+
size 4736368320
|
NT34-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c00632e4cbfde37ea1a70d384b6b1d673bc395c206a8689d47089229ee3050d4
|
| 3 |
+
size 4524598464
|
NT34-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:93a72046585692e80a253d2cdd9157000854f478ac63db246167610d116bb247
|
| 3 |
+
size 5387658432
|
NT34-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87a1e1a89ae07e6f67c771633d5d1df2eee6b05db77ae4acad18461a955a1977
|
| 3 |
+
size 5510880960
|
NT34-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ddc27768cc8162de35b5ca78b30f3367eed14aefec81c76481fd060aed3d3e3e
|
| 3 |
+
size 5387658432
|
NT34-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fbfc819e1984bdc113ced75665dedc6b4a3af6f0803737bdf9ad3480cf03be1f
|
| 3 |
+
size 6333800640
|
NT34-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a9d3ca3e901f13849015226b83ae865485002f90429367977bd779a530ff81e5
|
| 3 |
+
size 8202252480
|
README.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
tags:
|
| 4 |
+
- TensorBlock
|
| 5 |
+
- GGUF
|
| 6 |
+
base_model: memevis/NT34
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
| 10 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 11 |
+
</div>
|
| 12 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
| 13 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
| 14 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
| 15 |
+
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>
|
| 16 |
+
</p>
|
| 17 |
+
</div>
|
| 18 |
+
</div>
|
| 19 |
+
|
| 20 |
+
## memevis/NT34 - GGUF
|
| 21 |
+
|
| 22 |
+
This repo contains GGUF format model files for [memevis/NT34](https://huggingface.co/memevis/NT34).
|
| 23 |
+
|
| 24 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4882](https://github.com/ggml-org/llama.cpp/commit/be7c3034108473beda214fd1d7c98fd6a7a3bdf5).
|
| 25 |
+
|
| 26 |
+
<div style="text-align: left; margin: 20px 0;">
|
| 27 |
+
<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;">
|
| 28 |
+
Run them on the TensorBlock client using your local machine ↗
|
| 29 |
+
</a>
|
| 30 |
+
</div>
|
| 31 |
+
|
| 32 |
+
## Prompt template
|
| 33 |
+
|
| 34 |
+
```
|
| 35 |
+
<|im_start|>system
|
| 36 |
+
{system_prompt}<|im_end|>
|
| 37 |
+
<|im_start|>user
|
| 38 |
+
{prompt}<|im_end|>
|
| 39 |
+
<|im_start|>assistant
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
+
## Model file specification
|
| 43 |
+
|
| 44 |
+
| Filename | Quant type | File Size | Description |
|
| 45 |
+
| -------- | ---------- | --------- | ----------- |
|
| 46 |
+
| [NT34-Q2_K.gguf](https://huggingface.co/tensorblock/NT34-GGUF/blob/main/NT34-Q2_K.gguf) | Q2_K | 3.090 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 47 |
+
| [NT34-Q3_K_S.gguf](https://huggingface.co/tensorblock/NT34-GGUF/blob/main/NT34-Q3_K_S.gguf) | Q3_K_S | 3.551 GB | very small, high quality loss |
|
| 48 |
+
| [NT34-Q3_K_M.gguf](https://huggingface.co/tensorblock/NT34-GGUF/blob/main/NT34-Q3_K_M.gguf) | Q3_K_M | 3.880 GB | very small, high quality loss |
|
| 49 |
+
| [NT34-Q3_K_L.gguf](https://huggingface.co/tensorblock/NT34-GGUF/blob/main/NT34-Q3_K_L.gguf) | Q3_K_L | 4.172 GB | small, substantial quality loss |
|
| 50 |
+
| [NT34-Q4_0.gguf](https://huggingface.co/tensorblock/NT34-GGUF/blob/main/NT34-Q4_0.gguf) | Q4_0 | 4.497 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 51 |
+
| [NT34-Q4_K_S.gguf](https://huggingface.co/tensorblock/NT34-GGUF/blob/main/NT34-Q4_K_S.gguf) | Q4_K_S | 4.525 GB | small, greater quality loss |
|
| 52 |
+
| [NT34-Q4_K_M.gguf](https://huggingface.co/tensorblock/NT34-GGUF/blob/main/NT34-Q4_K_M.gguf) | Q4_K_M | 4.736 GB | medium, balanced quality - recommended |
|
| 53 |
+
| [NT34-Q5_0.gguf](https://huggingface.co/tensorblock/NT34-GGUF/blob/main/NT34-Q5_0.gguf) | Q5_0 | 5.388 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 54 |
+
| [NT34-Q5_K_S.gguf](https://huggingface.co/tensorblock/NT34-GGUF/blob/main/NT34-Q5_K_S.gguf) | Q5_K_S | 5.388 GB | large, low quality loss - recommended |
|
| 55 |
+
| [NT34-Q5_K_M.gguf](https://huggingface.co/tensorblock/NT34-GGUF/blob/main/NT34-Q5_K_M.gguf) | Q5_K_M | 5.511 GB | large, very low quality loss - recommended |
|
| 56 |
+
| [NT34-Q6_K.gguf](https://huggingface.co/tensorblock/NT34-GGUF/blob/main/NT34-Q6_K.gguf) | Q6_K | 6.334 GB | very large, extremely low quality loss |
|
| 57 |
+
| [NT34-Q8_0.gguf](https://huggingface.co/tensorblock/NT34-GGUF/blob/main/NT34-Q8_0.gguf) | Q8_0 | 8.202 GB | very large, extremely low quality loss - not recommended |
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
## Downloading instruction
|
| 61 |
+
|
| 62 |
+
### Command line
|
| 63 |
+
|
| 64 |
+
Firstly, install Huggingface Client
|
| 65 |
+
|
| 66 |
+
```shell
|
| 67 |
+
pip install -U "huggingface_hub[cli]"
|
| 68 |
+
```
|
| 69 |
+
|
| 70 |
+
Then, downoad the individual model file the a local directory
|
| 71 |
+
|
| 72 |
+
```shell
|
| 73 |
+
huggingface-cli download tensorblock/NT34-GGUF --include "NT34-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
| 74 |
+
```
|
| 75 |
+
|
| 76 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
| 77 |
+
|
| 78 |
+
```shell
|
| 79 |
+
huggingface-cli download tensorblock/NT34-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 80 |
+
```
|