Instructions to use Chang-chih/leviathan-pure 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 Chang-chih/leviathan-pure 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 Chang-chih/leviathan-pure # Run inference directly in the terminal: llama cli -hf Chang-chih/leviathan-pure
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Chang-chih/leviathan-pure # Run inference directly in the terminal: llama cli -hf Chang-chih/leviathan-pure
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 Chang-chih/leviathan-pure # Run inference directly in the terminal: ./llama-cli -hf Chang-chih/leviathan-pure
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 Chang-chih/leviathan-pure # Run inference directly in the terminal: ./build/bin/llama-cli -hf Chang-chih/leviathan-pure
Use Docker
docker model run hf.co/Chang-chih/leviathan-pure
- LM Studio
- Jan
- vLLM
How to use Chang-chih/leviathan-pure with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Chang-chih/leviathan-pure" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Chang-chih/leviathan-pure", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Chang-chih/leviathan-pure
- Ollama
How to use Chang-chih/leviathan-pure with Ollama:
ollama run hf.co/Chang-chih/leviathan-pure
- Unsloth Desktop
- Docker Model Runner
How to use Chang-chih/leviathan-pure with Docker Model Runner:
docker model run hf.co/Chang-chih/leviathan-pure
- Lemonade
How to use Chang-chih/leviathan-pure with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Chang-chih/leviathan-pure
Run and chat with the model
lemonade run user.leviathan-pure-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
| license: apache-2.0 | |
| language: | |
| - zh | |
| - en | |
| pipeline_tag: text-generation | |
| tags: | |
| - leviathan | |
| - pure-blood | |
| - craftsman | |
| - code-only | |
| # 🐋 利維坦軍團 · 純血工匠 (leviathan-pure) | |
| ## 模型簡介 | |
| `leviathan-pure` 為利維坦軍團之 **純血工匠**,經 120 筆黃金種子燒錄而成,專責程式碼產出、自動化任務與日誌盤點。回應僅包含純 Python 程式碼,無教學、無填充、無冗餘。 | |
| ## 主要能力 | |
| - **純代碼產出**:僅輸出 Python 程式碼,無任何解釋或教學內容 | |
| - **路徑鎖定**:自動對齊 `~/leviathan_core/` 路徑 | |
| - **憲法內化**:無須 System Prompt,已固化於權重中 | |
| ## 部署方式 | |
| \`\`\`bash | |
| # 下載權重 | |
| hf download Chang-chih/leviathan-pure leviathan-pure_weight.tar.gz | |
| # 解壓縮 | |
| tar -xzvf leviathan-pure_weight.tar.gz -C ~/.ollama/models/ | |
| # 載入 Ollama | |
| ollama create leviathan-pure -f ./modelfiles/leviathan-pure.modelfile | |
| \`\`\` | |
| ## 授權 | |
| Apache-2.0 | |