Instructions to use hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-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 hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-GGUF:Q4_K_S # Run inference directly in the terminal: llama cli -hf hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-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 hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-GGUF:Q4_K_S # Run inference directly in the terminal: llama cli -hf hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-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 hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-GGUF:Q4_K_S # Run inference directly in the terminal: ./llama-cli -hf hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-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 hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-GGUF:Q4_K_S # Run inference directly in the terminal: ./build/bin/llama-cli -hf hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-GGUF:Q4_K_S
Use Docker
docker model run hf.co/hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-GGUF:Q4_K_S
- LM Studio
- Jan
- Ollama
How to use hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-GGUF with Ollama:
ollama run hf.co/hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-GGUF:Q4_K_S
- Unsloth Desktop
- Docker Model Runner
How to use hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-GGUF with Docker Model Runner:
docker model run hf.co/hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-GGUF:Q4_K_S
- Lemonade
How to use hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-GGUF:Q4_K_S
Run and chat with the model
lemonade run user.hpc-coder-v2-1.3b-Q4_K_S-GGUF-Q4_K_S
List all available models
lemonade list
- Atomic Chat
Download hpc-coder-v2-1.3b-q4_k_s.gguf from hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-GGUF: direct link, hf CLI and curl.
- Browser
- Download file 814 MB
-
https://huggingface.co/hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-GGUF/resolve/main/hpc-coder-v2-1.3b-q4_k_s.gguf
- Command line
-
hf download hf://hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-GGUF/hpc-coder-v2-1.3b-q4_k_s.gguf
-
curl -L -o hpc-coder-v2-1.3b-q4_k_s.gguf https://huggingface.co/hpcgroup/hpc-coder-v2-1.3b-Q4_K_S-GGUF/resolve/main/hpc-coder-v2-1.3b-q4_k_s.gguf
814 MB
- Xet hash:
- d0a7f4de623beb9506aeb455969f46110905b8d1f7870a21f381495ea6ca115a
- Size of remote file:
- 814 MB
- SHA256:
- a76e43f9f979daca092ef2f3d36e1f86cf26a795a232e7feac07487a03b5ce9f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.