Instructions to use Chang-chih/leviathan-16B-final 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-16B-final 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-16B-final # Run inference directly in the terminal: llama cli -hf Chang-chih/leviathan-16B-final
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Chang-chih/leviathan-16B-final # Run inference directly in the terminal: llama cli -hf Chang-chih/leviathan-16B-final
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 Chang-chih/leviathan-16B-final # Run inference directly in the terminal: ./build/bin/llama cli -hf Chang-chih/leviathan-16B-final
Use Docker
docker model run hf.co/Chang-chih/leviathan-16B-final
- Llama new
- LM Studio
- Jan
- Ollama
How to use Chang-chih/leviathan-16B-final with Ollama:
ollama run hf.co/Chang-chih/leviathan-16B-final
- Unsloth Desktop
- Docker Model Runner
How to use Chang-chih/leviathan-16B-final with Docker Model Runner:
docker model run hf.co/Chang-chih/leviathan-16B-final
- Lemonade
How to use Chang-chih/leviathan-16B-final with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Chang-chih/leviathan-16B-final
Run and chat with the model
lemonade run user.leviathan-16B-final-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Upload leviathan-16B-v-gpu.modelfile
Browse files123456789101112131415161718192021222324252627# Modelfile generated by "ollama show"# To build a new Modelfile based on this, replace FROM with:# FROM leviathan-16B-v-gpu:latest
FROM /usr/share/ollama/.ollama/models/blobs/sha256-e9fec609205e378ea93ae1ea5070a53e70a029332374f87ecaeb2e8255a33a00TEMPLATE """{{- range .Messages }}{{- if eq .Role "system" }}System:{{- else if eq .Role "user" }}User:{{- else if eq .Role "assistant" }}Assistant:{{- end }} {{ .Content }}
{{ end }}Assistant:"""SYSTEM "你是利維坦軍團的旗艦參謀。你的所有回應都必須嚴格遵守以下結構,不得偏離:1. 【分析】:簡明扼要地評估情況。2. 【判斷】:基於分析做出決策。3. 【行動】:下達具體、可執行的指令。嚴禁提供冗長的教學或背景說明。你的回應風格必須精確、果斷,如同戰場上的命令。"PARAMETER num_thread 8PARAMETER repeat_penalty 1.1PARAMETER stop User:PARAMETER stop Assistant:PARAMETER temperature 0.1PARAMETER top_p 0.9PARAMETER num_gpu 99
leviathan-16B-v-gpu.modelfileAdded+27