Instructions to use tensorblock/test-model-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/test-model-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/test-model-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/test-model-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/test-model-GGUF", filename="test-model-Q2_K.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/test-model-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/test-model-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/test-model-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/test-model-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/test-model-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/test-model-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/test-model-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/test-model-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/test-model-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/test-model-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/test-model-GGUF with Ollama:
ollama run hf.co/tensorblock/test-model-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/test-model-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/test-model-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/test-model-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/test-model-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/test-model-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/test-model-GGUF:Q2_K
- Lemonade
How to use tensorblock/test-model-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/test-model-GGUF:Q2_K
Run and chat with the model
lemonade run user.test-model-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- test-model-Q3_K_L.gguf +0 -3
- test-model-Q3_K_M.gguf +0 -3
- test-model-Q3_K_S.gguf +0 -3
- test-model-Q4_0.gguf +0 -3
- test-model-Q4_K_M.gguf +0 -3
- test-model-Q4_K_S.gguf +0 -3
- test-model-Q5_0.gguf +0 -3
- test-model-Q5_K_M.gguf +0 -3
- test-model-Q5_K_S.gguf +0 -3
- test-model-Q6_K.gguf +0 -3
- test-model-Q8_0.gguf +0 -3
test-model-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d0be692fadfff4277240c1df5aeb67e71af7405b55073db112456c8e49700d11
|
| 3 |
-
size 4321956032
|
|
|
|
|
|
|
|
|
|
|
|
test-model-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e30c3176979e2c33c7228772242a1d41ddfd7bd116f3666a26505e60d3c1c3ed
|
| 3 |
-
size 4018917568
|
|
|
|
|
|
|
|
|
|
|
|
test-model-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:1a76e6fad6964f449cefa1d61cdb4ee1988e3ab5219d644af00c4fe94bfd5d70
|
| 3 |
-
size 3664498880
|
|
|
|
|
|
|
|
|
|
|
|
test-model-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7518bbbe17afc5b80b23c2db47ac7d5371820568a018a9b21a86f9fee93d41d5
|
| 3 |
-
size 4661211328
|
|
|
|
|
|
|
|
|
|
|
|
test-model-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4fca398f6901d6b9aa6d3f467e51c7469dc3627bfd12ae645bae9694d342df94
|
| 3 |
-
size 4920733888
|
|
|
|
|
|
|
|
|
|
|
|
test-model-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:793dea3f32e4a1e6239e9f97afc34dd702c8959e14ca8f84efcb67429dab2136
|
| 3 |
-
size 4692668608
|
|
|
|
|
|
|
|
|
|
|
|
test-model-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:87e849d2fb3637ca22188da9bb8496f7f2db45260a8dd0eedbca0f09e87ac8f3
|
| 3 |
-
size 5599293632
|
|
|
|
|
|
|
|
|
|
|
|
test-model-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:68b426cf4e2a093cde89e08dfad391e303afc07fa8214a0a135af0bb5c03921f
|
| 3 |
-
size 5732987072
|
|
|
|
|
|
|
|
|
|
|
|
test-model-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:70c233d6b76b93f0ce53bd9eba5bcb5d037518a09377c5f6369b2560fd127596
|
| 3 |
-
size 5599293632
|
|
|
|
|
|
|
|
|
|
|
|
test-model-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:35f730eebede1b1b930b59e3e0a8f52c6d52c3e482694ab33ca0f5882f4d0552
|
| 3 |
-
size 6596006080
|
|
|
|
|
|
|
|
|
|
|
|
test-model-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a7462078273694bc0536ab04f6a881ce184c5ea6c2f44025fe4a7d976619e3be
|
| 3 |
-
size 8540770496
|
|
|
|
|
|
|
|
|
|
|
|