Instructions to use VladHong/llama-cpp-K2-FAST2 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 VladHong/llama-cpp-K2-FAST2 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 VladHong/llama-cpp-K2-FAST2 # Run inference directly in the terminal: llama cli -hf VladHong/llama-cpp-K2-FAST2
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf VladHong/llama-cpp-K2-FAST2 # Run inference directly in the terminal: llama cli -hf VladHong/llama-cpp-K2-FAST2
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 VladHong/llama-cpp-K2-FAST2 # Run inference directly in the terminal: ./build/bin/llama cli -hf VladHong/llama-cpp-K2-FAST2
Use Docker
docker model run hf.co/VladHong/llama-cpp-K2-FAST2
- Llama new
- LM Studio
- Jan
- Ollama
How to use VladHong/llama-cpp-K2-FAST2 with Ollama:
ollama run hf.co/VladHong/llama-cpp-K2-FAST2
- Unsloth Desktop
- Docker Model Runner
How to use VladHong/llama-cpp-K2-FAST2 with Docker Model Runner:
docker model run hf.co/VladHong/llama-cpp-K2-FAST2
- Lemonade
How to use VladHong/llama-cpp-K2-FAST2 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull VladHong/llama-cpp-K2-FAST2
Run and chat with the model
lemonade run user.llama-cpp-K2-FAST2-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Download tools/ui/src/lib/enums/tools.enums.ts from VladHong/llama-cpp-K2-FAST2: direct link, hf CLI and curl.
- Browser
- Download file 1.68 kB
-
https://huggingface.co/VladHong/llama-cpp-K2-FAST2/resolve/main/tools/ui/src/lib/enums/tools.enums.ts
- Command line
-
hf download hf://VladHong/llama-cpp-K2-FAST2/tools/ui/src/lib/enums/tools.enums.ts
-
curl -L -o tools.enums.ts https://huggingface.co/VladHong/llama-cpp-K2-FAST2/resolve/main/tools/ui/src/lib/enums/tools.enums.ts
1.68 kB
| export enum ToolSource { | |
| BROWSER = 'browser', | |
| CUSTOM = 'custom', | |
| MCP = 'mcp', | |
| SERVER = 'server' | |
| } | |
| export enum ToolPermissionDecision { | |
| ALWAYS = 'always', | |
| ALWAYS_SERVER = 'always_server', | |
| DENY = 'deny', | |
| ONCE = 'once' | |
| } | |
| export enum ToolResponseField { | |
| ERROR = 'error', | |
| PLAIN_TEXT = 'plain_text_response' | |
| } | |
| /** | |
| * Entry types accepted by the `file_glob_search` tool's `type` parameter. | |
| * Mirrors the server-side validation in server-tools.cpp. | |
| */ | |
| export enum GlobSearchType { | |
| ALL = 'all', | |
| DIR = 'dir', | |
| FILE = 'file' | |
| } | |
| /** | |
| * Wire-format identifiers for server and browser tools. The string | |
| * value matches what the model emits in tool call names, so comparing | |
| * against `BuiltInTool.SERVER_READ_FILE` is equivalent to comparing | |
| * against the raw `'read_file'` literal - the enum just keeps the two in | |
| * lock-step and gives TypeScript a single source of truth for autocomplete | |
| * / rename support. | |
| * | |
| * The `SERVER_` / `BROWSER_` prefixes mirror the tool's primary source | |
| * (llama-server vs llama-ui). `get_info` is the exception: it is served by | |
| * the server, but llama-ui falls back to a browser implementation when the | |
| * server does not provide it, so it can surface under both categories in | |
| * the UI while keeping a single wire name. | |
| */ | |
| export enum BuiltInTool { | |
| BROWSER_GET_DATETIME = 'get_datetime', | |
| BROWSER_READ_MEDIA = 'read_media', | |
| BROWSER_RUN_JAVASCRIPT = 'run_javascript', | |
| SERVER_EDIT_FILE = 'edit_file', | |
| SERVER_EXEC_SHELL_COMMAND = 'exec_shell_command', | |
| SERVER_FILE_GLOB_SEARCH = 'file_glob_search', | |
| SERVER_GET_INFO = 'get_info', | |
| SERVER_GREP_SEARCH = 'grep_search', | |
| SERVER_READ_FILE = 'read_file', | |
| SERVER_WRITE_FILE = 'write_file' | |
| } | |