Instructions to use dranger003/starcoder2-15b-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 dranger003/starcoder2-15b-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 dranger003/starcoder2-15b-GGUF:F16 # Run inference directly in the terminal: llama cli -hf dranger003/starcoder2-15b-GGUF:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf dranger003/starcoder2-15b-GGUF:F16 # Run inference directly in the terminal: llama cli -hf dranger003/starcoder2-15b-GGUF:F16
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf dranger003/starcoder2-15b-GGUF:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf dranger003/starcoder2-15b-GGUF:F16
Use Docker
docker model run hf.co/dranger003/starcoder2-15b-GGUF:F16
- Llama new
- LM Studio
- Jan
- vLLM
How to use dranger003/starcoder2-15b-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dranger003/starcoder2-15b-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dranger003/starcoder2-15b-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/dranger003/starcoder2-15b-GGUF:F16
- Ollama
How to use dranger003/starcoder2-15b-GGUF with Ollama:
ollama run hf.co/dranger003/starcoder2-15b-GGUF:F16
- Unsloth Desktop
- Docker Model Runner
How to use dranger003/starcoder2-15b-GGUF with Docker Model Runner:
docker model run hf.co/dranger003/starcoder2-15b-GGUF:F16
- Lemonade
How to use dranger003/starcoder2-15b-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull dranger003/starcoder2-15b-GGUF:F16
Run and chat with the model
lemonade run user.starcoder2-15b-GGUF-F16
List all available models
lemonade list
- Atomic Chat
5 quants?
#1
by Orenguteng - opened
Possible please?
How are you going to run an unsupported model?
Oh didnt see it was unsupported
Orenguteng changed discussion status to closed
Ouch I've exactly tried to run it with LM-Studio and it failed ✌️
I want to use llamacpp for starcoder model however it throws error for starcoder2, is it not supported by llamacpp python?
@madhucharan You need to check if the version of llamacpp python you are using is running a commit after they added support.