Instructions to use tensorblock/SmallThinker-3B-Preview-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/SmallThinker-3B-Preview-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/SmallThinker-3B-Preview-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/SmallThinker-3B-Preview-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/SmallThinker-3B-Preview-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/SmallThinker-3B-Preview-GGUF:Q2_K
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf tensorblock/SmallThinker-3B-Preview-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama cli -hf tensorblock/SmallThinker-3B-Preview-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/SmallThinker-3B-Preview-GGUF:Q2_K
- Llama new
- LM Studio
- Jan
- Ollama
How to use tensorblock/SmallThinker-3B-Preview-GGUF with Ollama:
ollama run hf.co/tensorblock/SmallThinker-3B-Preview-GGUF:Q2_K
- Unsloth Desktop
- Docker Model Runner
How to use tensorblock/SmallThinker-3B-Preview-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/SmallThinker-3B-Preview-GGUF:Q2_K
- Lemonade
How to use tensorblock/SmallThinker-3B-Preview-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/SmallThinker-3B-Preview-GGUF:Q2_K
Run and chat with the model
lemonade run user.SmallThinker-3B-Preview-GGUF-Q2_K
List all available models
lemonade list
- Atomic Chat
Upload folder using huggingface_hub
Browse filesFiles changed (14)
- .gitattributes+12
- README.mdAdded+82
- SmallThinker-3B-Preview-Q2_K.ggufAdded+3
- SmallThinker-3B-Preview-Q3_K_L.ggufAdded+3
- SmallThinker-3B-Preview-Q3_K_M.ggufAdded+3
- SmallThinker-3B-Preview-Q3_K_S.ggufAdded+3
- SmallThinker-3B-Preview-Q4_0.ggufAdded+3
- SmallThinker-3B-Preview-Q4_K_M.ggufAdded+3
- SmallThinker-3B-Preview-Q4_K_S.ggufAdded+3
- SmallThinker-3B-Preview-Q5_0.ggufAdded+3
- SmallThinker-3B-Preview-Q5_K_M.ggufAdded+3
- SmallThinker-3B-Preview-Q5_K_S.ggufAdded+3
- SmallThinker-3B-Preview-Q6_K.ggufAdded+3
- SmallThinker-3B-Preview-Q8_0.ggufAdded+3
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines33343536373839404142434445464732 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textSmallThinker-3B-Preview-Q2_K.gguf filter=lfs diff=lfs merge=lfs -textSmallThinker-3B-Preview-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -textSmallThinker-3B-Preview-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -textSmallThinker-3B-Preview-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -textSmallThinker-3B-Preview-Q4_0.gguf filter=lfs diff=lfs merge=lfs -textSmallThinker-3B-Preview-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -textSmallThinker-3B-Preview-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -textSmallThinker-3B-Preview-Q5_0.gguf filter=lfs diff=lfs merge=lfs -textSmallThinker-3B-Preview-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -textSmallThinker-3B-Preview-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -textSmallThinker-3B-Preview-Q6_K.gguf filter=lfs diff=lfs merge=lfs -textSmallThinker-3B-Preview-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182---datasets:- PowerInfer/QWQ-LONGCOT-500K- PowerInfer/LONGCOT-Refine-500Kbase_model: PowerInfer/SmallThinker-3B-Previewtags:- TensorBlock- GGUF---
<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>
## PowerInfer/SmallThinker-3B-Preview - GGUF
This repo contains GGUF format model files for [PowerInfer/SmallThinker-3B-Preview](https://huggingface.co/PowerInfer/SmallThinker-3B-Preview).
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4391](https://github.com/ggerganov/llama.cpp/commit/9ba399dfa7f115effc63d48e6860a94c9faa31b2).
<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
```<|im_start|>system{system_prompt}<|im_end|><|im_start|>user{prompt}<|im_end|><|im_start|>assistant```
## Model file specification
| Filename | Quant type | File Size | Description || -------- | ---------- | --------- | ----------- || [SmallThinker-3B-Preview-Q2_K.gguf](https://huggingface.co/tensorblock/SmallThinker-3B-Preview-GGUF/blob/main/SmallThinker-3B-Preview-Q2_K.gguf) | Q2_K | 1.377 GB | smallest, significant quality loss - not recommended for most purposes || [SmallThinker-3B-Preview-Q3_K_S.gguf](https://huggingface.co/tensorblock/SmallThinker-3B-Preview-GGUF/blob/main/SmallThinker-3B-Preview-Q3_K_S.gguf) | Q3_K_S | 1.588 GB | very small, high quality loss || [SmallThinker-3B-Preview-Q3_K_M.gguf](https://huggingface.co/tensorblock/SmallThinker-3B-Preview-GGUF/blob/main/SmallThinker-3B-Preview-Q3_K_M.gguf) | Q3_K_M | 1.724 GB | very small, high quality loss || [SmallThinker-3B-Preview-Q3_K_L.gguf](https://huggingface.co/tensorblock/SmallThinker-3B-Preview-GGUF/blob/main/SmallThinker-3B-Preview-Q3_K_L.gguf) | Q3_K_L | 1.841 GB | small, substantial quality loss || [SmallThinker-3B-Preview-Q4_0.gguf](https://huggingface.co/tensorblock/SmallThinker-3B-Preview-GGUF/blob/main/SmallThinker-3B-Preview-Q4_0.gguf) | Q4_0 | 1.998 GB | legacy; small, very high quality loss - prefer using Q3_K_M || [SmallThinker-3B-Preview-Q4_K_S.gguf](https://huggingface.co/tensorblock/SmallThinker-3B-Preview-GGUF/blob/main/SmallThinker-3B-Preview-Q4_K_S.gguf) | Q4_K_S | 2.009 GB | small, greater quality loss || [SmallThinker-3B-Preview-Q4_K_M.gguf](https://huggingface.co/tensorblock/SmallThinker-3B-Preview-GGUF/blob/main/SmallThinker-3B-Preview-Q4_K_M.gguf) | Q4_K_M | 2.105 GB | medium, balanced quality - recommended || [SmallThinker-3B-Preview-Q5_0.gguf](https://huggingface.co/tensorblock/SmallThinker-3B-Preview-GGUF/blob/main/SmallThinker-3B-Preview-Q5_0.gguf) | Q5_0 | 2.384 GB | legacy; medium, balanced quality - prefer using Q4_K_M || [SmallThinker-3B-Preview-Q5_K_S.gguf](https://huggingface.co/tensorblock/SmallThinker-3B-Preview-GGUF/blob/main/SmallThinker-3B-Preview-Q5_K_S.gguf) | Q5_K_S | 2.384 GB | large, low quality loss - recommended || [SmallThinker-3B-Preview-Q5_K_M.gguf](https://huggingface.co/tensorblock/SmallThinker-3B-Preview-GGUF/blob/main/SmallThinker-3B-Preview-Q5_K_M.gguf) | Q5_K_M | 2.439 GB | large, very low quality loss - recommended || [SmallThinker-3B-Preview-Q6_K.gguf](https://huggingface.co/tensorblock/SmallThinker-3B-Preview-GGUF/blob/main/SmallThinker-3B-Preview-Q6_K.gguf) | Q6_K | 2.793 GB | very large, extremely low quality loss || [SmallThinker-3B-Preview-Q8_0.gguf](https://huggingface.co/tensorblock/SmallThinker-3B-Preview-GGUF/blob/main/SmallThinker-3B-Preview-Q8_0.gguf) | Q8_0 | 3.616 GB | very large, extremely low quality loss - not recommended |
## Downloading instruction
### Command line
Firstly, install Huggingface Client
```shellpip install -U "huggingface_hub[cli]"```
Then, downoad the individual model file the a local directory
```shellhuggingface-cli download tensorblock/SmallThinker-3B-Preview-GGUF --include "SmallThinker-3B-Preview-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:
```shellhuggingface-cli download tensorblock/SmallThinker-3B-Preview-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'```123version https://git-lfs.github.com/spec/v1oid sha256:fab3a3eb8c3090e172cdcc8fc89ff67c495db8f2949e7f645b0ee7a1b3964d3dsize 1376855360123version https://git-lfs.github.com/spec/v1oid sha256:e7538c3731ef7d093a973a081f366a71b6736e3421939cbf7aa85b94d4dadc80size 1841093952123version https://git-lfs.github.com/spec/v1oid sha256:9fc3a10d495c0c819af97022d62dd18d2771641a836cd419e3f0347ec3b9d459size 1724177728123version https://git-lfs.github.com/spec/v1oid sha256:8431b08aa47d1b6c203adb68ca57389877c7b9b8c6d5a82bcad9a05b7042c867size 1588059456123version https://git-lfs.github.com/spec/v1oid sha256:c08ff09a531aec5995dc12f0fbb5fe3329d76a4b6fb329a0111a6a1bd73e26bbsize 1997878592123version https://git-lfs.github.com/spec/v1oid sha256:c3bb4dc33f3e6cd8aaa3dd30ea07acd09caefaff3b1eb1109a7b0ec911a1eb8esize 2104931648123version https://git-lfs.github.com/spec/v1oid sha256:a15f70c0066cafb8f965a697be99e15c1f4372dd5ee6f25849f622747f2ac9fesize 2009412928123version https://git-lfs.github.com/spec/v1oid sha256:9093981c1cfede39841a266a68761bc3f585881fc4dccc35902b231d74e4712esize 2383590720123version https://git-lfs.github.com/spec/v1oid sha256:07a2b1e45e4774fa607d0d7d7d8c64a7bd7bcfd23e9137ab1883f5032f32766fsize 2438739264123version https://git-lfs.github.com/spec/v1oid sha256:8568370152daeb8ea6ad05714de075df26bbfdd733eafd7eabf4bea21e933057size 2383590720123version https://git-lfs.github.com/spec/v1oid sha256:b78d083848938fd360bbefe532f7a9212641f92369cb2451bcc3415cecdf2942size 2793409856123version https://git-lfs.github.com/spec/v1oid sha256:5a9e3ac6c23b98270a84f7f617ea9c6d5866a19057ef68124c5f5364bd4b7062size 3616087360.gitattributes+12
README.mdAdded+82
SmallThinker-3B-Preview-Q2_K.ggufAdded+3
SmallThinker-3B-Preview-Q3_K_L.ggufAdded+3
SmallThinker-3B-Preview-Q3_K_M.ggufAdded+3
SmallThinker-3B-Preview-Q3_K_S.ggufAdded+3
SmallThinker-3B-Preview-Q4_0.ggufAdded+3
SmallThinker-3B-Preview-Q4_K_M.ggufAdded+3
SmallThinker-3B-Preview-Q4_K_S.ggufAdded+3
SmallThinker-3B-Preview-Q5_0.ggufAdded+3
SmallThinker-3B-Preview-Q5_K_M.ggufAdded+3
SmallThinker-3B-Preview-Q5_K_S.ggufAdded+3
SmallThinker-3B-Preview-Q6_K.ggufAdded+3
SmallThinker-3B-Preview-Q8_0.ggufAdded+3