Instructions to use mradermacher/Qwen2-1.5B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/Qwen2-1.5B-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/Qwen2-1.5B-GGUF", dtype="auto") - llama-cpp-python
How to use mradermacher/Qwen2-1.5B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="mradermacher/Qwen2-1.5B-GGUF", filename="Qwen2-1.5B.IQ3_M.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use mradermacher/Qwen2-1.5B-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf mradermacher/Qwen2-1.5B-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf mradermacher/Qwen2-1.5B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf mradermacher/Qwen2-1.5B-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf mradermacher/Qwen2-1.5B-GGUF:Q4_K_M
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 mradermacher/Qwen2-1.5B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/Qwen2-1.5B-GGUF:Q4_K_M
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 mradermacher/Qwen2-1.5B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/Qwen2-1.5B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/Qwen2-1.5B-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/Qwen2-1.5B-GGUF with Ollama:
ollama run hf.co/mradermacher/Qwen2-1.5B-GGUF:Q4_K_M
- Unsloth Studio new
How to use mradermacher/Qwen2-1.5B-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 mradermacher/Qwen2-1.5B-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 mradermacher/Qwen2-1.5B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for mradermacher/Qwen2-1.5B-GGUF to start chatting
- Docker Model Runner
How to use mradermacher/Qwen2-1.5B-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/Qwen2-1.5B-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/Qwen2-1.5B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/Qwen2-1.5B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen2-1.5B-GGUF-Q4_K_M
List all available models
lemonade list
uploaded from rich1
Browse files- .gitattributes +12 -0
- qwen2-1.5b.IQ4_XS.gguf +3 -0
- qwen2-1.5b.Q2_K.gguf +3 -0
- qwen2-1.5b.Q3_K_L.gguf +3 -0
- qwen2-1.5b.Q3_K_M.gguf +3 -0
- qwen2-1.5b.Q3_K_S.gguf +3 -0
- qwen2-1.5b.Q4_K_M.gguf +3 -0
- qwen2-1.5b.Q4_K_S.gguf +3 -0
- qwen2-1.5b.Q5_K_M.gguf +3 -0
- qwen2-1.5b.Q5_K_S.gguf +3 -0
- qwen2-1.5b.Q6_K.gguf +3 -0
- qwen2-1.5b.Q8_0.gguf +3 -0
- qwen2-1.5b.f16.gguf +3 -0
.gitattributes
CHANGED
|
@@ -48,3 +48,15 @@ Qwen2-1.5B.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
|
| 48 |
Qwen2-1.5B.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
Qwen2-1.5B.IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 50 |
Qwen2-1.5B.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
Qwen2-1.5B.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
Qwen2-1.5B.IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 50 |
Qwen2-1.5B.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
qwen2-1.5b.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
qwen2-1.5b.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
qwen2-1.5b.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
qwen2-1.5b.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
qwen2-1.5b.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
qwen2-1.5b.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
qwen2-1.5b.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
qwen2-1.5b.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
qwen2-1.5b.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
qwen2-1.5b.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
qwen2-1.5b.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
qwen2-1.5b.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
qwen2-1.5b.IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:01803de70931d2295641824c7a0d9585808e93885f3cb0423fcc6d7c8e4f61bc
|
| 3 |
+
size 901808512
|
qwen2-1.5b.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:61fa61b3ad6f8a972793dd39c989c048a8b6a922cb4b616dcb59326630949b34
|
| 3 |
+
size 675930496
|
qwen2-1.5b.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:26e298609badb56edd08ab0f1319dfa63d15e77ef4431658c98d43d4d63c904f
|
| 3 |
+
size 879788416
|
qwen2-1.5b.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1fd9cfcc248b0f2e91a3a18d9e3e2fc9b245f53ef6f2a3b00582db16ff5a50fe
|
| 3 |
+
size 823804288
|
qwen2-1.5b.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a8a4b9cf65e72c464b46388490512901d50c1d687e4ed0e6bed85b9a4ff6ea8
|
| 3 |
+
size 760570240
|
qwen2-1.5b.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7dd7fa5547557f8577fc42f52bbd8add9bb59f480aa2f488e437e0b23ceae5e3
|
| 3 |
+
size 985674112
|
qwen2-1.5b.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce47cbc2a649f675092aeb1e6f2f470c0fa89817da6bc440e319183ce6e06970
|
| 3 |
+
size 939938176
|
qwen2-1.5b.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fffdb240a63df3636711aad33538323c715f21617a7c058135bbc388e1e050bd
|
| 3 |
+
size 1124675968
|
qwen2-1.5b.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8a0e4aa00093628556f1a459a95c9f266abbd98f2780574eb67ec12a5f31379f
|
| 3 |
+
size 1098355072
|
qwen2-1.5b.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:59f15b6694348081744d66fd3731ba775ef268149852b3be6155f723a3f89812
|
| 3 |
+
size 1272365440
|
qwen2-1.5b.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aba57facc869eaa2e24df72de60d2220b18cb79bb628ea0820391c6803fbd9ba
|
| 3 |
+
size 1646090752
|
qwen2-1.5b.f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc10e6701b34eaafc6b4d348b9d94a0e43a95b3dbdeef26fc137d07412f79e57
|
| 3 |
+
size 3092769472
|