Text Generation
GGUF
English
pretrained
quantized
GGUF
imatrix
quantization
imat
static
16bit
8bit
6bit
5bit
4bit
3bit
2bit
1bit
conversational
Instructions to use legraphista/Qwen2-7B-IMat-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use legraphista/Qwen2-7B-IMat-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 legraphista/Qwen2-7B-IMat-GGUF:Q4_K_S # Run inference directly in the terminal: llama cli -hf legraphista/Qwen2-7B-IMat-GGUF:Q4_K_S
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf legraphista/Qwen2-7B-IMat-GGUF:Q4_K_S # Run inference directly in the terminal: llama cli -hf legraphista/Qwen2-7B-IMat-GGUF:Q4_K_S
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 legraphista/Qwen2-7B-IMat-GGUF:Q4_K_S # Run inference directly in the terminal: ./llama-cli -hf legraphista/Qwen2-7B-IMat-GGUF:Q4_K_S
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 legraphista/Qwen2-7B-IMat-GGUF:Q4_K_S # Run inference directly in the terminal: ./build/bin/llama-cli -hf legraphista/Qwen2-7B-IMat-GGUF:Q4_K_S
Use Docker
docker model run hf.co/legraphista/Qwen2-7B-IMat-GGUF:Q4_K_S
- LM Studio
- Jan
- vLLM
How to use legraphista/Qwen2-7B-IMat-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "legraphista/Qwen2-7B-IMat-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "legraphista/Qwen2-7B-IMat-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/legraphista/Qwen2-7B-IMat-GGUF:Q4_K_S
- Ollama
How to use legraphista/Qwen2-7B-IMat-GGUF with Ollama:
ollama run hf.co/legraphista/Qwen2-7B-IMat-GGUF:Q4_K_S
- Unsloth Desktop
- Docker Model Runner
How to use legraphista/Qwen2-7B-IMat-GGUF with Docker Model Runner:
docker model run hf.co/legraphista/Qwen2-7B-IMat-GGUF:Q4_K_S
- Lemonade
How to use legraphista/Qwen2-7B-IMat-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull legraphista/Qwen2-7B-IMat-GGUF:Q4_K_S
Run and chat with the model
lemonade run user.Qwen2-7B-IMat-GGUF-Q4_K_S
List all available models
lemonade list
- Atomic Chat
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -62,7 +62,7 @@ Link: [here](https://huggingface.co/legraphista/Qwen2-7B-IMat-GGUF/blob/main/ima
|
|
| 62 |
| [Qwen2-7B.Q6_K.gguf](https://huggingface.co/legraphista/Qwen2-7B-IMat-GGUF/blob/main/Qwen2-7B.Q6_K.gguf) | Q6_K | 6.25GB | β
Available | βͺ Static | π¦ No
|
| 63 |
| [Qwen2-7B.Q4_K.gguf](https://huggingface.co/legraphista/Qwen2-7B-IMat-GGUF/blob/main/Qwen2-7B.Q4_K.gguf) | Q4_K | 4.68GB | β
Available | π’ IMatrix | π¦ No
|
| 64 |
| [Qwen2-7B.Q3_K.gguf](https://huggingface.co/legraphista/Qwen2-7B-IMat-GGUF/blob/main/Qwen2-7B.Q3_K.gguf) | Q3_K | 3.81GB | β
Available | π’ IMatrix | π¦ No
|
| 65 |
-
| Qwen2-7B.Q2_K | Q2_K |
|
| 66 |
|
| 67 |
|
| 68 |
### All Quants
|
|
@@ -85,7 +85,7 @@ Link: [here](https://huggingface.co/legraphista/Qwen2-7B-IMat-GGUF/blob/main/ima
|
|
| 85 |
| Qwen2-7B.IQ3_S | IQ3_S | - | β³ Processing | π’ IMatrix | -
|
| 86 |
| Qwen2-7B.IQ3_XS | IQ3_XS | - | β³ Processing | π’ IMatrix | -
|
| 87 |
| Qwen2-7B.IQ3_XXS | IQ3_XXS | - | β³ Processing | π’ IMatrix | -
|
| 88 |
-
| Qwen2-7B.Q2_K | Q2_K |
|
| 89 |
| Qwen2-7B.Q2_K_S | Q2_K_S | - | β³ Processing | π’ IMatrix | -
|
| 90 |
| Qwen2-7B.IQ2_M | IQ2_M | - | β³ Processing | π’ IMatrix | -
|
| 91 |
| Qwen2-7B.IQ2_S | IQ2_S | - | β³ Processing | π’ IMatrix | -
|
|
|
|
| 62 |
| [Qwen2-7B.Q6_K.gguf](https://huggingface.co/legraphista/Qwen2-7B-IMat-GGUF/blob/main/Qwen2-7B.Q6_K.gguf) | Q6_K | 6.25GB | β
Available | βͺ Static | π¦ No
|
| 63 |
| [Qwen2-7B.Q4_K.gguf](https://huggingface.co/legraphista/Qwen2-7B-IMat-GGUF/blob/main/Qwen2-7B.Q4_K.gguf) | Q4_K | 4.68GB | β
Available | π’ IMatrix | π¦ No
|
| 64 |
| [Qwen2-7B.Q3_K.gguf](https://huggingface.co/legraphista/Qwen2-7B-IMat-GGUF/blob/main/Qwen2-7B.Q3_K.gguf) | Q3_K | 3.81GB | β
Available | π’ IMatrix | π¦ No
|
| 65 |
+
| [Qwen2-7B.Q2_K.gguf](https://huggingface.co/legraphista/Qwen2-7B-IMat-GGUF/blob/main/Qwen2-7B.Q2_K.gguf) | Q2_K | 3.02GB | β
Available | π’ IMatrix | π¦ No
|
| 66 |
|
| 67 |
|
| 68 |
### All Quants
|
|
|
|
| 85 |
| Qwen2-7B.IQ3_S | IQ3_S | - | β³ Processing | π’ IMatrix | -
|
| 86 |
| Qwen2-7B.IQ3_XS | IQ3_XS | - | β³ Processing | π’ IMatrix | -
|
| 87 |
| Qwen2-7B.IQ3_XXS | IQ3_XXS | - | β³ Processing | π’ IMatrix | -
|
| 88 |
+
| [Qwen2-7B.Q2_K.gguf](https://huggingface.co/legraphista/Qwen2-7B-IMat-GGUF/blob/main/Qwen2-7B.Q2_K.gguf) | Q2_K | 3.02GB | β
Available | π’ IMatrix | π¦ No
|
| 89 |
| Qwen2-7B.Q2_K_S | Q2_K_S | - | β³ Processing | π’ IMatrix | -
|
| 90 |
| Qwen2-7B.IQ2_M | IQ2_M | - | β³ Processing | π’ IMatrix | -
|
| 91 |
| Qwen2-7B.IQ2_S | IQ2_S | - | β³ Processing | π’ IMatrix | -
|