Instructions to use llmware/qwen2-1.5b-instruct-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use llmware/qwen2-1.5b-instruct-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="llmware/qwen2-1.5b-instruct-gguf", filename="qwen-instruct-1-5b.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 llmware/qwen2-1.5b-instruct-gguf with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf llmware/qwen2-1.5b-instruct-gguf # Run inference directly in the terminal: llama-cli -hf llmware/qwen2-1.5b-instruct-gguf
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf llmware/qwen2-1.5b-instruct-gguf # Run inference directly in the terminal: llama-cli -hf llmware/qwen2-1.5b-instruct-gguf
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 llmware/qwen2-1.5b-instruct-gguf # Run inference directly in the terminal: ./llama-cli -hf llmware/qwen2-1.5b-instruct-gguf
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 llmware/qwen2-1.5b-instruct-gguf # Run inference directly in the terminal: ./build/bin/llama-cli -hf llmware/qwen2-1.5b-instruct-gguf
Use Docker
docker model run hf.co/llmware/qwen2-1.5b-instruct-gguf
- LM Studio
- Jan
- Ollama
How to use llmware/qwen2-1.5b-instruct-gguf with Ollama:
ollama run hf.co/llmware/qwen2-1.5b-instruct-gguf
- Unsloth Studio new
How to use llmware/qwen2-1.5b-instruct-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 llmware/qwen2-1.5b-instruct-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 llmware/qwen2-1.5b-instruct-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for llmware/qwen2-1.5b-instruct-gguf to start chatting
- Docker Model Runner
How to use llmware/qwen2-1.5b-instruct-gguf with Docker Model Runner:
docker model run hf.co/llmware/qwen2-1.5b-instruct-gguf
- Lemonade
How to use llmware/qwen2-1.5b-instruct-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull llmware/qwen2-1.5b-instruct-gguf
Run and chat with the model
lemonade run user.qwen2-1.5b-instruct-gguf-{{QUANT_TAG}}List all available models
lemonade list
qwen-2-1.5b-instruct-gguf
qwen-2-1.5b-instruct-gguf is Q4_K_M (int 4) quantized version of Qwen2 1.5b Instruct, providing a very fast, very small inference implementation, optimized for AI PCs.
qwen-2-1.5b-instruct-gguf is a leading chat model known for its high accuracy and strong math and logical capabilities.
Model Description
- Developed by: Qwen
- Quantized by: llmware
- Model type: qwen2-1.5b-instruct
- Parameters: 1.5 billion
- Model Parent: Qwen/Qwen2 1.5B-Instruct
- Language(s) (NLP): English
- License: Apache 2.0
- Uses: General purpose chat
- RAG Benchmark Accuracy Score: NA
- Quantization: Q4_K_M
Model Card Contact
- Downloads last month
- 3
Hardware compatibility
Log In to add your hardware
We're not able to determine the quantization variants.
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
Model tree for llmware/qwen2-1.5b-instruct-gguf
Base model
Qwen/Qwen2-1.5B-Instruct