Instructions to use tensorblock/TinyLLama-v0-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/TinyLLama-v0-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/TinyLLama-v0-GGUF", filename="TinyLLama-v0-Q2_K.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/TinyLLama-v0-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/TinyLLama-v0-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/TinyLLama-v0-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/TinyLLama-v0-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/TinyLLama-v0-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/TinyLLama-v0-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/TinyLLama-v0-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/TinyLLama-v0-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/TinyLLama-v0-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/TinyLLama-v0-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/TinyLLama-v0-GGUF with Ollama:
ollama run hf.co/tensorblock/TinyLLama-v0-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/TinyLLama-v0-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/TinyLLama-v0-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/TinyLLama-v0-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/TinyLLama-v0-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use tensorblock/TinyLLama-v0-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/TinyLLama-v0-GGUF:Q2_K
- Lemonade
How to use tensorblock/TinyLLama-v0-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/TinyLLama-v0-GGUF:Q2_K
Run and chat with the model
lemonade run user.TinyLLama-v0-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- TinyLLama-v0-Q3_K_L.gguf +0 -3
- TinyLLama-v0-Q3_K_M.gguf +0 -3
- TinyLLama-v0-Q3_K_S.gguf +0 -3
- TinyLLama-v0-Q4_0.gguf +0 -3
- TinyLLama-v0-Q4_K_M.gguf +0 -3
- TinyLLama-v0-Q4_K_S.gguf +0 -3
- TinyLLama-v0-Q5_0.gguf +0 -3
- TinyLLama-v0-Q5_K_M.gguf +0 -3
- TinyLLama-v0-Q5_K_S.gguf +0 -3
- TinyLLama-v0-Q6_K.gguf +0 -3
- TinyLLama-v0-Q8_0.gguf +0 -3
TinyLLama-v0-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:2aa6cd28b4cbd403894ab9d65ba3f2a5e5892ca109d546f6067be673d1069b82
|
| 3 |
-
size 4418912
|
|
|
|
|
|
|
|
|
|
|
|
TinyLLama-v0-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:321010790c643cf6f3b2e99e0e5514cbc8a95188288bd9294038e5670335a4b5
|
| 3 |
-
size 4398944
|
|
|
|
|
|
|
|
|
|
|
|
TinyLLama-v0-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f83288cf767828ba11d675d3cf06581611d82e987376feb7c399119e84d7d5b4
|
| 3 |
-
size 4372832
|
|
|
|
|
|
|
|
|
|
|
|
TinyLLama-v0-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5b9ea45aafe3d5145e4f160bae9d86885c2cadbdc8f09e8c489955e50f5d8588
|
| 3 |
-
size 4390240
|
|
|
|
|
|
|
|
|
|
|
|
TinyLLama-v0-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a29a7668bae80af190242c50525ca75ac17b673bf1e1c6aabf6a0f6c526dea99
|
| 3 |
-
size 4718432
|
|
|
|
|
|
|
|
|
|
|
|
TinyLLama-v0-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:39d3ee129592c1f995a5e3ba85fcc29d05610ef82ab1b7710e4ec8303c509ca1
|
| 3 |
-
size 4698464
|
|
|
|
|
|
|
|
|
|
|
|
TinyLLama-v0-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b47e3475293cf1ed44ffb481c44b3a9116669cbc215e3d33708253f21a97d42b
|
| 3 |
-
size 4711776
|
|
|
|
|
|
|
|
|
|
|
|
TinyLLama-v0-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:39ac73499eca155292987ae6de1adb8e9e43d7ddc3551040b8068c7ebbad7a0f
|
| 3 |
-
size 4878176
|
|
|
|
|
|
|
|
|
|
|
|
TinyLLama-v0-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d6951be5590118f711358d685b564e6a301f288b7389b681413ec6fd8453194e
|
| 3 |
-
size 4864352
|
|
|
|
|
|
|
|
|
|
|
|
TinyLLama-v0-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:2d487d7860f5f62fe668e49f9a33218d5eff927d443756113b2d4e02016100b7
|
| 3 |
-
size 5644640
|
|
|
|
|
|
|
|
|
|
|
|
TinyLLama-v0-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d4f4f3624288615989241dee332afbb4335190acff5836a98f97ea2d8af2d352
|
| 3 |
-
size 5676384
|
|
|
|
|
|
|
|
|
|
|
|