Instructions to use katanemo/Arch-Router-1.5B.gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use katanemo/Arch-Router-1.5B.gguf with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="katanemo/Arch-Router-1.5B.gguf") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("katanemo/Arch-Router-1.5B.gguf", dtype="auto") - llama-cpp-python
How to use katanemo/Arch-Router-1.5B.gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="katanemo/Arch-Router-1.5B.gguf", filename="Arch-Router-1.5B-Q2_K.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use katanemo/Arch-Router-1.5B.gguf with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf katanemo/Arch-Router-1.5B.gguf:Q4_K_M # Run inference directly in the terminal: llama-cli -hf katanemo/Arch-Router-1.5B.gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf katanemo/Arch-Router-1.5B.gguf:Q4_K_M # Run inference directly in the terminal: llama-cli -hf katanemo/Arch-Router-1.5B.gguf:Q4_K_M
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 katanemo/Arch-Router-1.5B.gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf katanemo/Arch-Router-1.5B.gguf:Q4_K_M
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 katanemo/Arch-Router-1.5B.gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf katanemo/Arch-Router-1.5B.gguf:Q4_K_M
Use Docker
docker model run hf.co/katanemo/Arch-Router-1.5B.gguf:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use katanemo/Arch-Router-1.5B.gguf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "katanemo/Arch-Router-1.5B.gguf" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "katanemo/Arch-Router-1.5B.gguf", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/katanemo/Arch-Router-1.5B.gguf:Q4_K_M
- SGLang
How to use katanemo/Arch-Router-1.5B.gguf with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "katanemo/Arch-Router-1.5B.gguf" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "katanemo/Arch-Router-1.5B.gguf", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "katanemo/Arch-Router-1.5B.gguf" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "katanemo/Arch-Router-1.5B.gguf", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use katanemo/Arch-Router-1.5B.gguf with Ollama:
ollama run hf.co/katanemo/Arch-Router-1.5B.gguf:Q4_K_M
- Unsloth Studio new
How to use katanemo/Arch-Router-1.5B.gguf with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for katanemo/Arch-Router-1.5B.gguf to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for katanemo/Arch-Router-1.5B.gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for katanemo/Arch-Router-1.5B.gguf to start chatting
- Pi new
How to use katanemo/Arch-Router-1.5B.gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf katanemo/Arch-Router-1.5B.gguf:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "katanemo/Arch-Router-1.5B.gguf:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use katanemo/Arch-Router-1.5B.gguf with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf katanemo/Arch-Router-1.5B.gguf:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default katanemo/Arch-Router-1.5B.gguf:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use katanemo/Arch-Router-1.5B.gguf with Docker Model Runner:
docker model run hf.co/katanemo/Arch-Router-1.5B.gguf:Q4_K_M
- Lemonade
How to use katanemo/Arch-Router-1.5B.gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull katanemo/Arch-Router-1.5B.gguf:Q4_K_M
Run and chat with the model
lemonade run user.Arch-Router-1.5B.gguf-Q4_K_M
List all available models
lemonade list
Update LICENSE
Browse files
LICENSE
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# Katanemo Labs, Inc. COMMUNITY LICENSE AGREEMENT
|
| 2 |
-
**Version Release Date:**
|
| 3 |
|
| 4 |
This Katanemo Labs, Inc. COMMUNITY LICENSE AGREEMENT is based on the Llama 3.2 Community License, Copyright © Meta Platforms, Inc. The terms and conditions have been adapted to reflect the proprietary nature of Katanemo Labs' materials.
|
| 5 |
|
|
@@ -20,43 +20,55 @@ By clicking "I Accept" or using any part of the Katanemo Materials, you agree to
|
|
| 20 |
|
| 21 |
---
|
| 22 |
|
| 23 |
-
3.
|
| 24 |
a. Grant of Rights
|
| 25 |
-
|
| 26 |
-
- Use, reproduce, distribute, and modify the Katanemo Materials.
|
| 27 |
-
- Create derivative works based on the Katanemo Materials.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
-
|
| 30 |
-
a. Distribution:
|
| 31 |
-
If you distribute the Katanemo Materials or a derivative work:
|
| 32 |
-
- Include a copy of this Agreement.
|
| 33 |
-
- Prominently display "Built with Katanemo" on a related website or documentation.
|
| 34 |
|
| 35 |
-
|
| 36 |
-
Include the following attribution notice:
|
| 37 |
-
"Katanemo is licensed under the Katanemo Labs Community License, Copyright © Katanemo Labs, Inc. All Rights Reserved."_
|
| 38 |
|
| 39 |
-
|
| 40 |
-
Your use must adhere to the Acceptable Use Policy, available at https://katanemolabs.com/katanemo/use-policy.
|
| 41 |
|
| 42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
-
|
| 45 |
-
If you are commercially using the Materials, you shall request a license from us.
|
| 46 |
|
| 47 |
---
|
| 48 |
|
| 49 |
-
|
|
|
|
|
|
|
| 50 |
The Katanemo Materials are provided "AS IS" without warranties of any kind, either express or implied, including but not limited to warranties of title, non-infringement, or fitness for a particular purpose.
|
| 51 |
|
| 52 |
---
|
| 53 |
|
| 54 |
-
|
| 55 |
Katanemo Labs is not liable for any indirect, special, or consequential damages arising out of the use of the Katanemo Materials, even if advised of the possibility of such damages.
|
| 56 |
|
| 57 |
---
|
| 58 |
|
| 59 |
-
|
| 60 |
a. Trademarks
|
| 61 |
No trademark licenses are granted, except as required for attribution as described in Section 1.b. You may use the “Katanemo” mark according to Katanemo Labs' brand guidelines.
|
| 62 |
|
|
@@ -68,10 +80,10 @@ Katanemo Labs is not liable for any indirect, special, or consequential damages
|
|
| 68 |
|
| 69 |
---
|
| 70 |
|
| 71 |
-
|
| 72 |
This Agreement continues until terminated. Katanemo Labs may terminate the Agreement if you breach any terms. Upon termination, you must cease using the Katanemo Materials.
|
| 73 |
|
| 74 |
---
|
| 75 |
|
| 76 |
10. Governing Law and Jurisdiction
|
| 77 |
-
This Agreement is governed by the laws of the State of Washington, USA. Any disputes will be resolved in the courts of California.
|
|
|
|
| 1 |
# Katanemo Labs, Inc. COMMUNITY LICENSE AGREEMENT
|
| 2 |
+
**Version Release Date:** April 11th, 2025
|
| 3 |
|
| 4 |
This Katanemo Labs, Inc. COMMUNITY LICENSE AGREEMENT is based on the Llama 3.2 Community License, Copyright © Meta Platforms, Inc. The terms and conditions have been adapted to reflect the proprietary nature of Katanemo Labs' materials.
|
| 5 |
|
|
|
|
| 20 |
|
| 21 |
---
|
| 22 |
|
| 23 |
+
3. LICENSE RIGHTS AND REDISTRIBUTION
|
| 24 |
a. Grant of Rights
|
| 25 |
+
Subject to the restrictions in Section 4, you are granted a non-exclusive, worldwide, non-transferable, and royalty-free license to:
|
| 26 |
+
- Use, reproduce, distribute, and modify the Katanemo Materials.
|
| 27 |
+
- Create derivative works based on the Katanemo Materials.
|
| 28 |
+
|
| 29 |
+
b. Permitted Redistribution
|
| 30 |
+
If you distribute the Katanemo Materials or any derivative work:
|
| 31 |
+
- You must include a copy of this License.
|
| 32 |
+
- You must prominently display the notice “Built with Katanemo” on a related website or documentation.
|
| 33 |
+
|
| 34 |
+
c. Attribution Requirement
|
| 35 |
+
You must include the following attribution notice in any distributed or public-facing use:
|
| 36 |
+
"Katanemo is licensed under the Katanemo Labs Community License.
|
| 37 |
+
Copyright © Katanemo Labs, Inc. All Rights Reserved."
|
| 38 |
+
|
| 39 |
+
d. Compliance Requirement
|
| 40 |
+
All use of the Katanemo Materials must comply with the Acceptable Use Policy, available at: https://katanemo.com/use-policy
|
| 41 |
|
| 42 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
+
4. COMMERCIAL USE AND DISTRIBUTION RESTRICTIONS
|
|
|
|
|
|
|
| 45 |
|
| 46 |
+
You may use, reproduce, modify, distribute, and create derivative works from the Katanemo Materials for any purpose, including commercial use, EXCEPT in the following cases:
|
|
|
|
| 47 |
|
| 48 |
+
You may NOT package, distribute, or make available the Katanemo Materials as part of:
|
| 49 |
+
- A framework,
|
| 50 |
+
- A proxy server,
|
| 51 |
+
- Middleware,
|
| 52 |
+
- A gateway infrastructure product,
|
| 53 |
+
- Or any product substantially similar in function or purpose to the above,
|
| 54 |
|
| 55 |
+
unless you obtain a separate commercial license from Katanemo Labs.
|
|
|
|
| 56 |
|
| 57 |
---
|
| 58 |
|
| 59 |
+
This license does not grant trademark rights or rights outside the scope described above.
|
| 60 |
+
|
| 61 |
+
5. Disclaimer of Warranty
|
| 62 |
The Katanemo Materials are provided "AS IS" without warranties of any kind, either express or implied, including but not limited to warranties of title, non-infringement, or fitness for a particular purpose.
|
| 63 |
|
| 64 |
---
|
| 65 |
|
| 66 |
+
6. Limitation of Liability
|
| 67 |
Katanemo Labs is not liable for any indirect, special, or consequential damages arising out of the use of the Katanemo Materials, even if advised of the possibility of such damages.
|
| 68 |
|
| 69 |
---
|
| 70 |
|
| 71 |
+
7. Intellectual Property
|
| 72 |
a. Trademarks
|
| 73 |
No trademark licenses are granted, except as required for attribution as described in Section 1.b. You may use the “Katanemo” mark according to Katanemo Labs' brand guidelines.
|
| 74 |
|
|
|
|
| 80 |
|
| 81 |
---
|
| 82 |
|
| 83 |
+
8. Term and Termination
|
| 84 |
This Agreement continues until terminated. Katanemo Labs may terminate the Agreement if you breach any terms. Upon termination, you must cease using the Katanemo Materials.
|
| 85 |
|
| 86 |
---
|
| 87 |
|
| 88 |
10. Governing Law and Jurisdiction
|
| 89 |
+
This Agreement is governed by the laws of the State of Washington, USA. Any disputes will be resolved in the courts of California.
|