OpenCoder: The Open Cookbook for Top-Tier Code Large Language Models
Paper • 2411.04905 • Published • 127
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf cortexso/opencoder:# Run inference directly in the terminal:
llama-cli -hf cortexso/opencoder:# 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 cortexso/opencoder:# Run inference directly in the terminal:
./llama-cli -hf cortexso/opencoder: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 cortexso/opencoder:# Run inference directly in the terminal:
./build/bin/llama-cli -hf cortexso/opencoder:docker model run hf.co/cortexso/opencoder:OpenCoder is an open and reproducible code LLM family, featuring 1.5B and 8B base and chat models that support both English and Chinese languages. Built from scratch, OpenCoder is pretrained on 2.5 trillion tokens, composed of 90% raw code and 10% code-related web data. It undergoes supervised fine-tuning (SFT) with over 4.5 million high-quality examples, achieving performance on par with top-tier code LLMs
| No | Variant | Cortex CLI command |
|---|---|---|
| 1 | Opencoder-8b | cortex run opencoder:8b |
cortexhub/opencoder
cortex run opencoder
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
Install from brew
# Start a local OpenAI-compatible server with a web UI: llama-server -hf cortexso/opencoder:# Run inference directly in the terminal: llama-cli -hf cortexso/opencoder: