Instructions to use tensorblock/NuExtract-tiny-v1.5-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/NuExtract-tiny-v1.5-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/NuExtract-tiny-v1.5-GGUF", filename="NuExtract-tiny-v1.5-Q2_K.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/NuExtract-tiny-v1.5-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/NuExtract-tiny-v1.5-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/NuExtract-tiny-v1.5-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/NuExtract-tiny-v1.5-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/NuExtract-tiny-v1.5-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/NuExtract-tiny-v1.5-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/NuExtract-tiny-v1.5-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/NuExtract-tiny-v1.5-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/NuExtract-tiny-v1.5-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/NuExtract-tiny-v1.5-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/NuExtract-tiny-v1.5-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/NuExtract-tiny-v1.5-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/NuExtract-tiny-v1.5-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tensorblock/NuExtract-tiny-v1.5-GGUF:Q2_K
- Ollama
How to use tensorblock/NuExtract-tiny-v1.5-GGUF with Ollama:
ollama run hf.co/tensorblock/NuExtract-tiny-v1.5-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/NuExtract-tiny-v1.5-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/NuExtract-tiny-v1.5-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/NuExtract-tiny-v1.5-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/NuExtract-tiny-v1.5-GGUF to start chatting
- Pi new
How to use tensorblock/NuExtract-tiny-v1.5-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/NuExtract-tiny-v1.5-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/NuExtract-tiny-v1.5-GGUF:Q2_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use tensorblock/NuExtract-tiny-v1.5-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/NuExtract-tiny-v1.5-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/NuExtract-tiny-v1.5-GGUF:Q2_K
Run Hermes
hermes
- Docker Model Runner
How to use tensorblock/NuExtract-tiny-v1.5-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/NuExtract-tiny-v1.5-GGUF:Q2_K
- Lemonade
How to use tensorblock/NuExtract-tiny-v1.5-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/NuExtract-tiny-v1.5-GGUF:Q2_K
Run and chat with the model
lemonade run user.NuExtract-tiny-v1.5-GGUF-Q2_K
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- NuExtract-tiny-v1.5-Q2_K.gguf +3 -0
- NuExtract-tiny-v1.5-Q3_K_L.gguf +3 -0
- NuExtract-tiny-v1.5-Q3_K_M.gguf +3 -0
- NuExtract-tiny-v1.5-Q3_K_S.gguf +3 -0
- NuExtract-tiny-v1.5-Q4_0.gguf +3 -0
- NuExtract-tiny-v1.5-Q4_K_M.gguf +3 -0
- NuExtract-tiny-v1.5-Q4_K_S.gguf +3 -0
- NuExtract-tiny-v1.5-Q5_0.gguf +3 -0
- NuExtract-tiny-v1.5-Q5_K_M.gguf +3 -0
- NuExtract-tiny-v1.5-Q5_K_S.gguf +3 -0
- NuExtract-tiny-v1.5-Q6_K.gguf +3 -0
- NuExtract-tiny-v1.5-Q8_0.gguf +3 -0
- README.md +84 -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 |
+
NuExtract-tiny-v1.5-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
NuExtract-tiny-v1.5-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
NuExtract-tiny-v1.5-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
NuExtract-tiny-v1.5-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
NuExtract-tiny-v1.5-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
NuExtract-tiny-v1.5-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
NuExtract-tiny-v1.5-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
NuExtract-tiny-v1.5-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
NuExtract-tiny-v1.5-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
NuExtract-tiny-v1.5-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
NuExtract-tiny-v1.5-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
NuExtract-tiny-v1.5-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
NuExtract-tiny-v1.5-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ee7f3e6ae2a1edd50544e7282c7753651731b3aa9dc981d8d2e8efa206a53d0
|
| 3 |
+
size 338607264
|
NuExtract-tiny-v1.5-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6fbd618f8bf0f19d0dfb7d66938cf660f90eb334219940eeebf9270fc1ef3f81
|
| 3 |
+
size 369357984
|
NuExtract-tiny-v1.5-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e399b813cd7c2448aca035c54ebe557ceacd171160ebc0bf253362a0429fd27b
|
| 3 |
+
size 355466400
|
NuExtract-tiny-v1.5-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c84a9cc8102c39894548b321861bbc8e73f256e95ee2b9c13419aa486d8aa6c3
|
| 3 |
+
size 338263200
|
NuExtract-tiny-v1.5-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e99bc02e3a97efb8228990d82cd1f7e73b856824f46a6ff4dd97894b132deeb
|
| 3 |
+
size 352154784
|
NuExtract-tiny-v1.5-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:22fbf67aac7f73699ff10781ce4582a339df2240e2793a545a16f5dbbb72edec
|
| 3 |
+
size 397807776
|
NuExtract-tiny-v1.5-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a6a8fac9e8d11b440331c85ad6a3a8c7cd6d9542330e78d44ebb5981cea77812
|
| 3 |
+
size 385471648
|
NuExtract-tiny-v1.5-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6eb61fe2decbc4a3b6612cbc9be9867624a8a13caed3ab281cfdab00887c1ee6
|
| 3 |
+
size 396883104
|
NuExtract-tiny-v1.5-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1e84b439e46b6e0288c968af94a6097d0a909c8e5d58d75b5a39758d08248188
|
| 3 |
+
size 420085920
|
NuExtract-tiny-v1.5-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8118a0e33508cd492604c89689d30dcbb093424445f6f36a3da5647580faf26b
|
| 3 |
+
size 412710048
|
NuExtract-tiny-v1.5-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9b3388936c3f7aad55755da2f6aafcfa5bd72336107c1762353da056ce1486a
|
| 3 |
+
size 505736352
|
NuExtract-tiny-v1.5-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b01501b4be47259fe6c88c9e8f5415e70ed1eedd794fa8e1a78d97b782fde28a
|
| 3 |
+
size 531068064
|
README.md
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- multilingual
|
| 5 |
+
tags:
|
| 6 |
+
- nlp
|
| 7 |
+
- TensorBlock
|
| 8 |
+
- GGUF
|
| 9 |
+
base_model: numind/NuExtract-tiny-v1.5
|
| 10 |
+
pipeline_tag: text-generation
|
| 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 |
+
## numind/NuExtract-tiny-v1.5 - GGUF
|
| 25 |
+
|
| 26 |
+
This repo contains GGUF format model files for [numind/NuExtract-tiny-v1.5](https://huggingface.co/numind/NuExtract-tiny-v1.5).
|
| 27 |
+
|
| 28 |
+
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).
|
| 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 |
+
<|im_start|>system
|
| 40 |
+
{system_prompt}<|im_end|>
|
| 41 |
+
<|im_start|>user
|
| 42 |
+
{prompt}<|im_end|>
|
| 43 |
+
<|im_start|>assistant
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
## Model file specification
|
| 47 |
+
|
| 48 |
+
| Filename | Quant type | File Size | Description |
|
| 49 |
+
| -------- | ---------- | --------- | ----------- |
|
| 50 |
+
| [NuExtract-tiny-v1.5-Q2_K.gguf](https://huggingface.co/tensorblock/NuExtract-tiny-v1.5-GGUF/blob/main/NuExtract-tiny-v1.5-Q2_K.gguf) | Q2_K | 0.339 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 51 |
+
| [NuExtract-tiny-v1.5-Q3_K_S.gguf](https://huggingface.co/tensorblock/NuExtract-tiny-v1.5-GGUF/blob/main/NuExtract-tiny-v1.5-Q3_K_S.gguf) | Q3_K_S | 0.338 GB | very small, high quality loss |
|
| 52 |
+
| [NuExtract-tiny-v1.5-Q3_K_M.gguf](https://huggingface.co/tensorblock/NuExtract-tiny-v1.5-GGUF/blob/main/NuExtract-tiny-v1.5-Q3_K_M.gguf) | Q3_K_M | 0.355 GB | very small, high quality loss |
|
| 53 |
+
| [NuExtract-tiny-v1.5-Q3_K_L.gguf](https://huggingface.co/tensorblock/NuExtract-tiny-v1.5-GGUF/blob/main/NuExtract-tiny-v1.5-Q3_K_L.gguf) | Q3_K_L | 0.369 GB | small, substantial quality loss |
|
| 54 |
+
| [NuExtract-tiny-v1.5-Q4_0.gguf](https://huggingface.co/tensorblock/NuExtract-tiny-v1.5-GGUF/blob/main/NuExtract-tiny-v1.5-Q4_0.gguf) | Q4_0 | 0.352 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 55 |
+
| [NuExtract-tiny-v1.5-Q4_K_S.gguf](https://huggingface.co/tensorblock/NuExtract-tiny-v1.5-GGUF/blob/main/NuExtract-tiny-v1.5-Q4_K_S.gguf) | Q4_K_S | 0.385 GB | small, greater quality loss |
|
| 56 |
+
| [NuExtract-tiny-v1.5-Q4_K_M.gguf](https://huggingface.co/tensorblock/NuExtract-tiny-v1.5-GGUF/blob/main/NuExtract-tiny-v1.5-Q4_K_M.gguf) | Q4_K_M | 0.398 GB | medium, balanced quality - recommended |
|
| 57 |
+
| [NuExtract-tiny-v1.5-Q5_0.gguf](https://huggingface.co/tensorblock/NuExtract-tiny-v1.5-GGUF/blob/main/NuExtract-tiny-v1.5-Q5_0.gguf) | Q5_0 | 0.397 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 58 |
+
| [NuExtract-tiny-v1.5-Q5_K_S.gguf](https://huggingface.co/tensorblock/NuExtract-tiny-v1.5-GGUF/blob/main/NuExtract-tiny-v1.5-Q5_K_S.gguf) | Q5_K_S | 0.413 GB | large, low quality loss - recommended |
|
| 59 |
+
| [NuExtract-tiny-v1.5-Q5_K_M.gguf](https://huggingface.co/tensorblock/NuExtract-tiny-v1.5-GGUF/blob/main/NuExtract-tiny-v1.5-Q5_K_M.gguf) | Q5_K_M | 0.420 GB | large, very low quality loss - recommended |
|
| 60 |
+
| [NuExtract-tiny-v1.5-Q6_K.gguf](https://huggingface.co/tensorblock/NuExtract-tiny-v1.5-GGUF/blob/main/NuExtract-tiny-v1.5-Q6_K.gguf) | Q6_K | 0.506 GB | very large, extremely low quality loss |
|
| 61 |
+
| [NuExtract-tiny-v1.5-Q8_0.gguf](https://huggingface.co/tensorblock/NuExtract-tiny-v1.5-GGUF/blob/main/NuExtract-tiny-v1.5-Q8_0.gguf) | Q8_0 | 0.531 GB | very large, extremely low quality loss - not recommended |
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
## Downloading instruction
|
| 65 |
+
|
| 66 |
+
### Command line
|
| 67 |
+
|
| 68 |
+
Firstly, install Huggingface Client
|
| 69 |
+
|
| 70 |
+
```shell
|
| 71 |
+
pip install -U "huggingface_hub[cli]"
|
| 72 |
+
```
|
| 73 |
+
|
| 74 |
+
Then, downoad the individual model file the a local directory
|
| 75 |
+
|
| 76 |
+
```shell
|
| 77 |
+
huggingface-cli download tensorblock/NuExtract-tiny-v1.5-GGUF --include "NuExtract-tiny-v1.5-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
| 81 |
+
|
| 82 |
+
```shell
|
| 83 |
+
huggingface-cli download tensorblock/NuExtract-tiny-v1.5-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 84 |
+
```
|