Instructions to use duyntnet/Qwen2-7B-Instruct-imatrix-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use duyntnet/Qwen2-7B-Instruct-imatrix-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="duyntnet/Qwen2-7B-Instruct-imatrix-GGUF")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("duyntnet/Qwen2-7B-Instruct-imatrix-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use duyntnet/Qwen2-7B-Instruct-imatrix-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "duyntnet/Qwen2-7B-Instruct-imatrix-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "duyntnet/Qwen2-7B-Instruct-imatrix-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/duyntnet/Qwen2-7B-Instruct-imatrix-GGUF
- SGLang
How to use duyntnet/Qwen2-7B-Instruct-imatrix-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "duyntnet/Qwen2-7B-Instruct-imatrix-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "duyntnet/Qwen2-7B-Instruct-imatrix-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "duyntnet/Qwen2-7B-Instruct-imatrix-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "duyntnet/Qwen2-7B-Instruct-imatrix-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use duyntnet/Qwen2-7B-Instruct-imatrix-GGUF with Docker Model Runner:
docker model run hf.co/duyntnet/Qwen2-7B-Instruct-imatrix-GGUF
Commit History
-
Upload 3 files
Verified signature029bbf5 -
Upload Qwen2-7B-Instruct-Q8_0.gguf with huggingface_hub
Verified signature2384806 -
Upload Qwen2-7B-Instruct-Q6_K.gguf with huggingface_hub
Verified signature19a42d1 -
Upload Qwen2-7B-Instruct-Q5_K_S.gguf with huggingface_hub
Verified signatured089a0f -
Upload Qwen2-7B-Instruct-Q5_K_M.gguf with huggingface_hub
Verified signature16d8b63 -
Upload Qwen2-7B-Instruct-Q5_1.gguf with huggingface_hub
Verified signature1b4728f -
Upload Qwen2-7B-Instruct-Q5_0.gguf with huggingface_hub
Verified signatureb46bc2a -
Upload Qwen2-7B-Instruct-IQ4_XS.gguf with huggingface_hub
Verified signature42ac2e0 -
Upload Qwen2-7B-Instruct-IQ4_NL.gguf with huggingface_hub
Verified signature51334b1 -
Upload Qwen2-7B-Instruct-Q4_K_S.gguf with huggingface_hub
Verified signature25d3aba -
Upload Qwen2-7B-Instruct-Q4_K_M.gguf with huggingface_hub
Verified signature663af40 -
Upload Qwen2-7B-Instruct-Q4_1.gguf with huggingface_hub
Verified signature1fb3b16 -
Upload Qwen2-7B-Instruct-Q4_0.gguf with huggingface_hub
Verified signature341e247 -
Upload Qwen2-7B-Instruct-IQ3_XXS.gguf with huggingface_hub
Verified signaturebb4a38c -
Upload Qwen2-7B-Instruct-IQ3_XS.gguf with huggingface_hub
Verified signaturef77fb7b -
Upload Qwen2-7B-Instruct-IQ3_S.gguf with huggingface_hub
Verified signature19c4c1e -
Upload Qwen2-7B-Instruct-Q3_K_L.gguf with huggingface_hub
Verified signatured4e6dd8 -
Upload Qwen2-7B-Instruct-Q3_K_M.gguf with huggingface_hub
Verified signatured081c70 -
Upload Qwen2-7B-Instruct-IQ2_XXS.gguf with huggingface_hub
Verified signaturee127772 -
Upload Qwen2-7B-Instruct-IQ2_XS.gguf with huggingface_hub
Verified signature2c3dbe5 -
Upload Qwen2-7B-Instruct-IQ2_M.gguf with huggingface_hub
Verified signature2a36a00 -
Upload Qwen2-7B-Instruct-IQ2_S.gguf with huggingface_hub
Verified signature5c87b2a -
Upload Qwen2-7B-Instruct-Q2_K_S.gguf with huggingface_hub
Verified signaturec07f62f -
Upload Qwen2-7B-Instruct-Q2_K.gguf with huggingface_hub
Verified signature5c6a99a -
Upload Qwen2-7B-Instruct-IQ1_S.gguf with huggingface_hub
Verified signatureabacae1 -
Upload README.md with huggingface_hub
Verified signature0c167a7 -
initial commit
Verified signature06ec1e8