Instructions to use tensorblock/Qwen2-7B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/Qwen2-7B-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/Qwen2-7B-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/Qwen2-7B-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/Qwen2-7B-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/Qwen2-7B-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/Qwen2-7B-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/Qwen2-7B-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/Qwen2-7B-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/Qwen2-7B-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/Qwen2-7B-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/Qwen2-7B-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/Qwen2-7B-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/Qwen2-7B-GGUF with Ollama:
ollama run hf.co/tensorblock/Qwen2-7B-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/Qwen2-7B-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/Qwen2-7B-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/Qwen2-7B-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/Qwen2-7B-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/Qwen2-7B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/Qwen2-7B-GGUF:Q2_K
- Lemonade
How to use tensorblock/Qwen2-7B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/Qwen2-7B-GGUF:Q2_K
Run and chat with the model
lemonade run user.Qwen2-7B-GGUF-Q2_K
List all available models
lemonade list
- Atomic Chat
Remove .gguf files (keep Q2_K.gguf)
Browse files- Qwen2-7B-Q3_K_L.gguf +0 -3
- Qwen2-7B-Q3_K_M.gguf +0 -3
- Qwen2-7B-Q3_K_S.gguf +0 -3
- Qwen2-7B-Q4_0.gguf +0 -3
- Qwen2-7B-Q4_K_M.gguf +0 -3
- Qwen2-7B-Q4_K_S.gguf +0 -3
- Qwen2-7B-Q5_0.gguf +0 -3
- Qwen2-7B-Q5_K_M.gguf +0 -3
- Qwen2-7B-Q5_K_S.gguf +0 -3
- Qwen2-7B-Q6_K.gguf +0 -3
- Qwen2-7B-Q8_0.gguf +0 -3
Qwen2-7B-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:542e032e9b23db1044299f243cfd3891eba7ed825f1781d5a3879b8816e6f9ce
|
| 3 |
-
size 4088457056
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2-7B-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:361dd15e4236b83c95d5e20373aed4d7a4a766232392262f59be39e8bf5ef212
|
| 3 |
-
size 3808388960
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2-7B-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9c147b9bf54b49469b3b7a1f1f43938bbb79d3f67b18a1ae4c6ca54a0b97f915
|
| 3 |
-
size 3492366176
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2-7B-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:6ba9941946b531abf9549f3371d6ece20b4517e5100385cc1a25402f33f4ae27
|
| 3 |
-
size 4431388512
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2-7B-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:132a932cb17bcf12c12f3944e95ad4ad9de33593b0420a131132293fedcc6ad5
|
| 3 |
-
size 4683071328
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2-7B-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:effde84cb67e9af23d7b3d05cbc01e8ca23fa0e4264ccf86a833dd1cba82b4ff
|
| 3 |
-
size 4457766752
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2-7B-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:8c19111787d7fd07abe9422b5cccdc2a671928ad778c06c275b284d0c1bbf48b
|
| 3 |
-
size 5315174240
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2-7B-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f303afff12c2b282d54b691343ad3e77398ee911bf485955116b0b52b177abfa
|
| 3 |
-
size 5444829024
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2-7B-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:fe8022d8bca9da426ef4ffef3b66c2510e67653d9ea33653aa9f70a8c133a8b8
|
| 3 |
-
size 5315174240
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2-7B-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:3d62025e24a04d98d18306c5ed6f8017dfb6e853c42c5158dcc570ac1528659a
|
| 3 |
-
size 6254196576
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2-7B-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:019f847f7360f5dd4a8be404cfa34348abbb33e2892575ba2768b2c59eeef67b
|
| 3 |
-
size 8098522976
|
|
|
|
|
|
|
|
|
|
|
|