Instructions to use harryng4869/gwen2-coder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use harryng4869/gwen2-coder with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("harryng4869/gwen2-coder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use harryng4869/gwen2-coder 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 harryng4869/gwen2-coder:F16 # Run inference directly in the terminal: llama cli -hf harryng4869/gwen2-coder:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf harryng4869/gwen2-coder:F16 # Run inference directly in the terminal: llama cli -hf harryng4869/gwen2-coder:F16
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 harryng4869/gwen2-coder:F16 # Run inference directly in the terminal: ./llama-cli -hf harryng4869/gwen2-coder:F16
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 harryng4869/gwen2-coder:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf harryng4869/gwen2-coder:F16
Use Docker
docker model run hf.co/harryng4869/gwen2-coder:F16
- LM Studio
- Jan
- Ollama
How to use harryng4869/gwen2-coder with Ollama:
ollama run hf.co/harryng4869/gwen2-coder:F16
- Unsloth Desktop
- Docker Model Runner
How to use harryng4869/gwen2-coder with Docker Model Runner:
docker model run hf.co/harryng4869/gwen2-coder:F16
- Lemonade
How to use harryng4869/gwen2-coder with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull harryng4869/gwen2-coder:F16
Run and chat with the model
lemonade run user.gwen2-coder-F16
List all available models
lemonade list
- Atomic Chat
Commit History
-
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster7c0c941 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster4436188
-
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster9cacaa0 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster34cefbc -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x fasterbe2daa5 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster7459dc6
-
(Trained with Unsloth)
Verified signature50f0ab8 -
(Trained with Unsloth)
Verified signatured5fbb3d -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster5553489 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x fastere367f10 -
Upload README.md with huggingface_hub
Verified signature9588f79 -
initial commit
Verified signatured909ea3