Instructions to use prithivMLmods/Arch-Router-1.5B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/Arch-Router-1.5B-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="prithivMLmods/Arch-Router-1.5B-GGUF")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("prithivMLmods/Arch-Router-1.5B-GGUF", dtype="auto") - llama-cpp-python
How to use prithivMLmods/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="prithivMLmods/Arch-Router-1.5B-GGUF", filename=" Arch-Router-1.5B.BF16.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use prithivMLmods/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 prithivMLmods/Arch-Router-1.5B-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf prithivMLmods/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 prithivMLmods/Arch-Router-1.5B-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf prithivMLmods/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 prithivMLmods/Arch-Router-1.5B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf prithivMLmods/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 prithivMLmods/Arch-Router-1.5B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf prithivMLmods/Arch-Router-1.5B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/prithivMLmods/Arch-Router-1.5B-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use prithivMLmods/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 "prithivMLmods/Arch-Router-1.5B-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/Arch-Router-1.5B-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/prithivMLmods/Arch-Router-1.5B-GGUF:Q4_K_M
- SGLang
How to use prithivMLmods/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 "prithivMLmods/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/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/Arch-Router-1.5B-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "prithivMLmods/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/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/Arch-Router-1.5B-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use prithivMLmods/Arch-Router-1.5B-GGUF with Ollama:
ollama run hf.co/prithivMLmods/Arch-Router-1.5B-GGUF:Q4_K_M
- Unsloth Studio new
How to use prithivMLmods/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 prithivMLmods/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 prithivMLmods/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 prithivMLmods/Arch-Router-1.5B-GGUF to start chatting
- Docker Model Runner
How to use prithivMLmods/Arch-Router-1.5B-GGUF with Docker Model Runner:
docker model run hf.co/prithivMLmods/Arch-Router-1.5B-GGUF:Q4_K_M
- Lemonade
How to use prithivMLmods/Arch-Router-1.5B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull prithivMLmods/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
Upload folder using huggingface_hub
Browse files- Arch-Router-1.5B.BF16.gguf +3 -0
- Arch-Router-1.5B.F16.gguf +3 -0
- Arch-Router-1.5B.F32.gguf +3 -0
- Arch-Router-1.5B.Q2_K.gguf +3 -0
- Arch-Router-1.5B.Q3_K_L.gguf +3 -0
- Arch-Router-1.5B.Q3_K_M.gguf +3 -0
- Arch-Router-1.5B.Q3_K_S.gguf +3 -0
- Arch-Router-1.5B.Q4_K_M.gguf +3 -0
- Arch-Router-1.5B.Q4_K_S.gguf +3 -0
- Arch-Router-1.5B.Q5_K_M.gguf +3 -0
- Arch-Router-1.5B.Q5_K_S.gguf +3 -0
- Arch-Router-1.5B.Q6_K.gguf +3 -0
- Arch-Router-1.5B.Q8_0.gguf +3 -0
- .gitattributes +13 -0
Arch-Router-1.5B.BF16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd81366ee52c025267e75c8a33f789f1c38efb052b972599f8d0f261249b166f
|
| 3 |
+
size 3093666176
|
Arch-Router-1.5B.F16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e2caa0ca4b0f1823d6a0e876b8ced10cb4e74b424918bb5d584ce32e6a1ad73
|
| 3 |
+
size 3093666176
|
Arch-Router-1.5B.F32.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c081df6be2686d3b2be7b1d1e78e7faa4369f60a4cc401e945adb13f5572ae1e
|
| 3 |
+
size 6180804992
|
Arch-Router-1.5B.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b8364834584e248a401ecfce44e4b558290c427b64e60333d7d47ad6366b093
|
| 3 |
+
size 676301696
|
Arch-Router-1.5B.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b62493db92ef65de9658ce01c980c189f368a034b55e7cd820996a25c73ee02
|
| 3 |
+
size 880159616
|
Arch-Router-1.5B.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:17a6c5cdf5070dcb5438ed24c99e3a11a4b8c91a7efbe7245debb8a5d1aca4e6
|
| 3 |
+
size 824175488
|
Arch-Router-1.5B.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9736d670ca94046d23190cde43c4b7935ae7f3d184169c2ac15c3f4535df38ea
|
| 3 |
+
size 760941440
|
Arch-Router-1.5B.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:21cc6ea6f559fd2f107fbdf7d573874ce09c448da8bfc73979ce8db095910cc6
|
| 3 |
+
size 986045312
|
Arch-Router-1.5B.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:043a4f8c1ff558f58f4b575ea9e0b0e669dafc4dd967e00d261c0ea148a7de5a
|
| 3 |
+
size 940309376
|
Arch-Router-1.5B.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d1f387d4155ef4680ee16c3b352f176402da70d959e6f579555ec7be5ab1ec48
|
| 3 |
+
size 1125047168
|
Arch-Router-1.5B.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b158f2ba459adc7ffff335704cb91cf5db0ffb8fc299d0163b3201e939ca5a9
|
| 3 |
+
size 1098726272
|
Arch-Router-1.5B.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d52620ef89016ecbcbbab4c3fc06840d519612c5ece8b4a210f7d19cdf861e6
|
| 3 |
+
size 1272736640
|
Arch-Router-1.5B.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b2b6f3786d31948ce5b12d4ca56543cba550e1715a70f3c0e413b06ffcddf35d
|
| 3 |
+
size 1646569856
|
.gitattributes
CHANGED
|
@@ -33,3 +33,16 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
[[:space:]]Arch-Router-1.5B.BF16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
[[:space:]]Arch-Router-1.5B.F16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
[[:space:]]Arch-Router-1.5B.F32.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
[[:space:]]Arch-Router-1.5B.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
[[:space:]]Arch-Router-1.5B.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
[[:space:]]Arch-Router-1.5B.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
[[:space:]]Arch-Router-1.5B.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
[[:space:]]Arch-Router-1.5B.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
[[:space:]]Arch-Router-1.5B.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
[[:space:]]Arch-Router-1.5B.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
[[:space:]]Arch-Router-1.5B.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
[[:space:]]Arch-Router-1.5B.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
[[:space:]]Arch-Router-1.5B.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|