Locutusque/UltraTextbooks-2.0
Viewer β’ Updated β’ 3.22M β’ 356 β’ 51
How to use tensorblock/tau-0.5B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/tau-0.5B-GGUF", filename="tau-0.5B-Q2_K.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
How to use tensorblock/tau-0.5B-GGUF with llama.cpp:
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/tau-0.5B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/tau-0.5B-GGUF:Q2_K
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/tau-0.5B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/tau-0.5B-GGUF:Q2_K
# 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/tau-0.5B-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/tau-0.5B-GGUF:Q2_K
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/tau-0.5B-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/tau-0.5B-GGUF:Q2_K
docker model run hf.co/tensorblock/tau-0.5B-GGUF:Q2_K
How to use tensorblock/tau-0.5B-GGUF with Ollama:
ollama run hf.co/tensorblock/tau-0.5B-GGUF:Q2_K
How to use tensorblock/tau-0.5B-GGUF with Unsloth Studio:
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/tau-0.5B-GGUF to start chatting
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/tau-0.5B-GGUF to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/tau-0.5B-GGUF to start chatting
How to use tensorblock/tau-0.5B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/tau-0.5B-GGUF:Q2_K
How to use tensorblock/tau-0.5B-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/tau-0.5B-GGUF:Q2_K
lemonade run user.tau-0.5B-GGUF-Q2_K
lemonade list
This repo contains GGUF format model files for M4-ai/tau-0.5B.
The files were quantized using machines provided by TensorBlock, and they are compatible with llama.cpp as of commit b4242.
| Forge | |
|---|---|
|
|
| An OpenAI-compatible multi-provider routing layer. | |
| π Try it now! π | |
| Awesome MCP Servers | TensorBlock Studio |
![]() |
![]() |
| A comprehensive collection of Model Context Protocol (MCP) servers. | A lightweight, open, and extensible multi-LLM interaction studio. |
| π See what we built π | π See what we built π |
<|im_start|>system
{system_prompt}<|im_end|>
<|im_start|>user
{prompt}<|im_end|>
<|im_start|>assistant
| Filename | Quant type | File Size | Description |
|---|---|---|---|
| tau-0.5B-Q2_K.gguf | Q2_K | 0.247 GB | smallest, significant quality loss - not recommended for most purposes |
| tau-0.5B-Q3_K_S.gguf | Q3_K_S | 0.267 GB | very small, high quality loss |
| tau-0.5B-Q3_K_M.gguf | Q3_K_M | 0.283 GB | very small, high quality loss |
| tau-0.5B-Q3_K_L.gguf | Q3_K_L | 0.297 GB | small, substantial quality loss |
| tau-0.5B-Q4_0.gguf | Q4_0 | 0.307 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
| tau-0.5B-Q4_K_S.gguf | Q4_K_S | 0.309 GB | small, greater quality loss |
| tau-0.5B-Q4_K_M.gguf | Q4_K_M | 0.320 GB | medium, balanced quality - recommended |
| tau-0.5B-Q5_0.gguf | Q5_0 | 0.346 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
| tau-0.5B-Q5_K_S.gguf | Q5_K_S | 0.346 GB | large, low quality loss - recommended |
| tau-0.5B-Q5_K_M.gguf | Q5_K_M | 0.352 GB | large, very low quality loss - recommended |
| tau-0.5B-Q6_K.gguf | Q6_K | 0.387 GB | very large, extremely low quality loss |
| tau-0.5B-Q8_0.gguf | Q8_0 | 0.499 GB | very large, extremely low quality loss - not recommended |
Firstly, install Huggingface Client
pip install -U "huggingface_hub[cli]"
Then, downoad the individual model file the a local directory
huggingface-cli download tensorblock/tau-0.5B-GGUF --include "tau-0.5B-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:
huggingface-cli download tensorblock/tau-0.5B-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
2-bit
3-bit
Base model
M4-ai/tau-0.5B