Instructions to use devanshbatham/nyx 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 devanshbatham/nyx 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 devanshbatham/nyx # Run inference directly in the terminal: llama cli -hf devanshbatham/nyx
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf devanshbatham/nyx # Run inference directly in the terminal: llama cli -hf devanshbatham/nyx
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 devanshbatham/nyx # Run inference directly in the terminal: ./llama-cli -hf devanshbatham/nyx
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 devanshbatham/nyx # Run inference directly in the terminal: ./build/bin/llama-cli -hf devanshbatham/nyx
Use Docker
docker model run hf.co/devanshbatham/nyx
- LM Studio
- Jan
- vLLM
How to use devanshbatham/nyx with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "devanshbatham/nyx" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "devanshbatham/nyx", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/devanshbatham/nyx
- Ollama
How to use devanshbatham/nyx with Ollama:
ollama run hf.co/devanshbatham/nyx
- Unsloth Desktop
- Pi
How to use devanshbatham/nyx with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf devanshbatham/nyx
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "devanshbatham/nyx" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use devanshbatham/nyx with Docker Model Runner:
docker model run hf.co/devanshbatham/nyx
- Lemonade
How to use devanshbatham/nyx with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull devanshbatham/nyx
Run and chat with the model
lemonade run user.nyx-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use devanshbatham/nyx with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf devanshbatham/nyx
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 devanshbatham/nyx
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use devanshbatham/nyx with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf devanshbatham/nyx
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "devanshbatham/nyx" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Devansh Batham commited on
Commit ·
39d1566
1
Parent(s): 7519c08
Add pre-quantization comparison
Browse files- README.md +32 -19
- assets/nyx-vs-jev-benchmarks.png +2 -2
- benchmarks/prequant-h1.md +24 -0
- benchmarks/random-six-report.md +23 -23
- benchmarks/summary.json +2 -7
- release-manifest.json +13 -9
README.md
CHANGED
|
@@ -18,7 +18,7 @@ tags:
|
|
| 18 |
|
| 19 |
nyx is a task-specialized Qwen3.5-35B-A3B model for Choice, Score, and Noul decisions. It combines task-specific adaptation with INT4 routed-expert storage and FP8 expert compute.
|
| 20 |
|
| 21 |
-

|
| 22 |
|
| 23 |
## Model
|
| 24 |
|
|
|
|
| 79 |
|
| 80 |
## Evaluation
|
| 81 |
|
| 82 |
+
The frozen comparison used 2,277 identical requests across six public classification benchmarks at client concurrency 8. Both models completed every case with zero errors and zero retries.
|
| 83 |
|
| 84 |
+
| Benchmark | nyx INT4+FP8 | Jev 1.13 |
|
| 85 |
+
|---|---:|---:|
|
| 86 |
+
| AG News | 84.75% | 86.50% |
|
| 87 |
+
| TREC coarse | 92.00% | 93.00% |
|
| 88 |
+
| CoLA | 79.00% | 77.75% |
|
| 89 |
+
| RTE | 93.14% | 91.34% |
|
| 90 |
+
| Emotion | 43.33% | 47.00% |
|
| 91 |
+
| IMDb | 96.50% | 97.00% |
|
| 92 |
+
| **Dataset-macro accuracy** | **81.45%** | **82.10%** |
|
| 93 |
+
| **Dataset-macro F1** | **81.06%** | **81.85%** |
|
| 94 |
+
| **Pooled accuracy** | **82.96%** | **83.62%** |
|
| 95 |
+
|
| 96 |
+
| Timing | nyx INT4+FP8 | Jev 1.13 |
|
| 97 |
+
|---|---:|---:|
|
| 98 |
+
| Backend inference median / p95 | 62.97 / 85.30 ms | not exposed |
|
| 99 |
+
| Round trip median / p95 | 66.25 / 89.22 ms | 182.33 / 245.12 ms |
|
| 100 |
+
| Throughput | 112.67 req/s | 42.43 req/s |
|
| 101 |
+
|
| 102 |
+
nyx ran on a local MI325X/API stack. Jev ran over remote HTTPS on unmatched infrastructure, so its latency is descriptive rather than a controlled model-speed comparison. The local runtime used continuous batching with `max-running-requests=64`; the benchmark's eight concurrent callers limited this run to eight active requests. See [the evaluation record](benchmarks/random-six-report.md).
|
| 103 |
+
|
| 104 |
+
### Before quantization
|
| 105 |
+
|
| 106 |
+
The shared H1 development slice below compares the official Qwen base in BF16, the pre-quantization `nyx` BF16 checkpoint, and Jev 1.13.0 on the same 1,500 scored cases with identical labels and task semantics.
|
| 107 |
+
|
| 108 |
+
| H1 task | Qwen base BF16 | `nyx` BF16 | Jev 1.13.0 |
|
| 109 |
|---|---:|---:|---:|
|
| 110 |
+
| Comment triage | 295/500 (59.00%) | **462/500 (92.40%)** | 455/500 (91.00%) |
|
| 111 |
+
| Report completeness | 439/500 (87.80%) | **488/500 (97.60%)** | 468/500 (93.60%) |
|
| 112 |
+
| Broad assets, exact set | 285/500 (57.00%) | **298/500 (59.60%)** | 284/500 (56.80%) |
|
| 113 |
+
| **Overall** | **1,019/1,500 (67.93%)** | **1,248/1,500 (83.20%)** | **1,207/1,500 (80.47%)** |
|
| 114 |
|
| 115 |
+
This is authored development evidence, not an independent public holdout. Qwen and `nyx` ran locally in BF16 on the same MI325X/SGLang stack; Jev ran through its remote API, so latency is intentionally omitted from this table. See the [pre-quantization evaluation record](benchmarks/prequant-h1.md).
|
| 116 |
|
| 117 |
## Limitations
|
| 118 |
|
assets/nyx-vs-jev-benchmarks.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
benchmarks/prequant-h1.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Pre-quantization H1 comparison
|
| 2 |
+
|
| 3 |
+
This record isolates the exact intersection shared by three completed evaluations: the official `Qwen/Qwen3.5-35B-A3B` base in BF16, the pre-quantization `nyx` BF16 checkpoint, and Jev 1.13.0.
|
| 4 |
+
|
| 5 |
+
## Results
|
| 6 |
+
|
| 7 |
+
| Task | Cases | Qwen base BF16 | `nyx` BF16 | Jev 1.13.0 |
|
| 8 |
+
|---|---:|---:|---:|---:|
|
| 9 |
+
| Comment triage | 500 | 295 (59.00%) | 462 (92.40%) | 455 (91.00%) |
|
| 10 |
+
| Report completeness | 500 | 439 (87.80%) | 488 (97.60%) | 468 (93.60%) |
|
| 11 |
+
| Broad assets, exact set | 500 | 285 (57.00%) | 298 (59.60%) | 284 (56.80%) |
|
| 12 |
+
| **Overall** | **1,500** | **1,019 (67.93%)** | **1,248 (83.20%)** | **1,207 (80.47%)** |
|
| 13 |
+
|
| 14 |
+
## Protocol
|
| 15 |
+
|
| 16 |
+
- The intersection contains comment fixtures 501–1000 plus all 500 authored report fixtures, scored once for completeness and once for broad-asset exact-set classification.
|
| 17 |
+
- Case IDs and expected labels were matched across the three result sets. All 1,500 expected labels matched exactly; no case was excluded after matching.
|
| 18 |
+
- Qwen and `nyx` used BF16 before any FP8 or INT4 conversion, the same AMD Instinct MI325X, the same SGLang/API stack, and server concurrency 8.
|
| 19 |
+
- The base was the official `Qwen/Qwen3.5-35B-A3B` revision `59d61f3ce65a6d9863b86d2e96597125219dc754`.
|
| 20 |
+
- Jev was evaluated as `jev-1.13.0` through its remote API with the same typed requests, prompts, thresholds, and reference labels. Because the serving infrastructure differs, this record makes no speed comparison.
|
| 21 |
+
|
| 22 |
+
## Scope
|
| 23 |
+
|
| 24 |
+
These are synthetic, authored H1 development fixtures with known scenario-family overlap. They are useful for measuring task adaptation on this workload, but they are not an independent public holdout and do not establish general model superiority.
|
benchmarks/random-six-report.md
CHANGED
|
@@ -1,32 +1,32 @@
|
|
| 1 |
-
# Six public classification benchmarks: nyx vs
|
| 2 |
|
| 3 |
Frozen paired cohort: **2,277 cases**; SHA-256 `046a38c24747fd724003aca7e5f1d1b6e148d599092222361c0717ecff84ecad`; client concurrency 8; every failure counts as wrong.
|
| 4 |
|
| 5 |
-
| Dataset | Cases | nyx INT4+FP8 |
|
| 6 |
-
|---|---:|---:|---:|---:|
|
| 7 |
-
| AG News | 400 | 84.75% (339/400) | 85.75% (343/400) | 86.50% (346/400) |
|
| 8 |
-
| TREC coarse | 500 | 92.00% (460/500) | 94.00% (470/500) | 93.00% (465/500) |
|
| 9 |
-
| CoLA | 400 | 79.00% (316/400) | 79.75% (319/400) | 77.75% (311/400) |
|
| 10 |
-
| RTE | 277 | 93.14% (258/277) | 93.86% (260/277) | 91.34% (253/277) |
|
| 11 |
-
| Emotion | 300 | 43.33% (130/300) | 44.67% (134/300) | 47.00% (141/300) |
|
| 12 |
-
| IMDb | 400 | 96.50% (386/400) | 96.25% (385/400) | 97.00% (388/400) |
|
| 13 |
-
|
| 14 |
-
| Aggregate | nyx INT4+FP8 | Qwen/Qwen3.5-35B-A3B | Jev 1.13 |
|
| 15 |
|---|---:|---:|---:|
|
| 16 |
-
|
|
| 17 |
-
|
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
## Paired comparison
|
| 21 |
|
| 22 |
-
|
| 23 |
|
| 24 |
-
| Timing | nyx INT4+FP8 |
|
| 25 |
-
|---|---:|---:|
|
| 26 |
-
| Backend inference median / p95 | 62.97 / 85.30 ms |
|
| 27 |
-
| Round trip median / p95 | 66.25 / 89.22 ms |
|
| 28 |
-
| Wall time | 20,209 ms |
|
| 29 |
-
| Throughput | 112.67 req/s |
|
| 30 |
|
| 31 |
## Method and caveats
|
| 32 |
|
|
@@ -34,5 +34,5 @@ Exact two-sided McNemar tests use identical case-level predictions. Qwen-only ve
|
|
| 34 |
- AG News, CoLA, Emotion, and IMDb are fixed class-stratified samples; TREC test and RTE validation are complete.
|
| 35 |
- Every request contained one Choice question. Eight asynchronous clients used persistent HTTP/1.1 connections. The local SGLang runtime used continuous batching with `max-running-requests=64`, while client concurrency limited this run to eight active requests.
|
| 36 |
- Backend inference is parsed from the local `Server-Timing` header. Jev did not expose server timing.
|
| 37 |
-
- nyx
|
| 38 |
-
- Public-benchmark pretraining contamination is unknown for
|
|
|
|
| 1 |
+
# Six public classification benchmarks: nyx vs Jev
|
| 2 |
|
| 3 |
Frozen paired cohort: **2,277 cases**; SHA-256 `046a38c24747fd724003aca7e5f1d1b6e148d599092222361c0717ecff84ecad`; client concurrency 8; every failure counts as wrong.
|
| 4 |
|
| 5 |
+
| Dataset | Cases | nyx INT4+FP8 | Jev 1.13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|---|---:|---:|---:|
|
| 7 |
+
| AG News | 400 | 84.75% (339/400) | 86.50% (346/400) |
|
| 8 |
+
| TREC coarse | 500 | 92.00% (460/500) | 93.00% (465/500) |
|
| 9 |
+
| CoLA | 400 | 79.00% (316/400) | 77.75% (311/400) |
|
| 10 |
+
| RTE | 277 | 93.14% (258/277) | 91.34% (253/277) |
|
| 11 |
+
| Emotion | 300 | 43.33% (130/300) | 47.00% (141/300) |
|
| 12 |
+
| IMDb | 400 | 96.50% (386/400) | 97.00% (388/400) |
|
| 13 |
+
|
| 14 |
+
| Aggregate | nyx INT4+FP8 | Jev 1.13 |
|
| 15 |
+
|---|---:|---:|
|
| 16 |
+
| Dataset-macro accuracy | 81.45% | 82.10% |
|
| 17 |
+
| Dataset-macro F1 | 81.06% | 81.85% |
|
| 18 |
+
| Pooled micro accuracy | 82.96% | 83.62% |
|
| 19 |
|
| 20 |
## Paired comparison
|
| 21 |
|
| 22 |
+
The exact two-sided McNemar test uses identical case-level predictions. Jev-only versus nyx-only correct cases were 76 to 61 (`p=0.23154`).
|
| 23 |
|
| 24 |
+
| Timing | nyx INT4+FP8 | Jev 1.13 |
|
| 25 |
+
|---|---:|---:|
|
| 26 |
+
| Backend inference median / p95 | 62.97 / 85.30 ms | not exposed |
|
| 27 |
+
| Round trip median / p95 | 66.25 / 89.22 ms | 182.33 / 245.12 ms |
|
| 28 |
+
| Wall time | 20,209 ms | 53,666 ms |
|
| 29 |
+
| Throughput | 112.67 req/s | 42.43 req/s |
|
| 30 |
|
| 31 |
## Method and caveats
|
| 32 |
|
|
|
|
| 34 |
- AG News, CoLA, Emotion, and IMDb are fixed class-stratified samples; TREC test and RTE validation are complete.
|
| 35 |
- Every request contained one Choice question. Eight asynchronous clients used persistent HTTP/1.1 connections. The local SGLang runtime used continuous batching with `max-running-requests=64`, while client concurrency limited this run to eight active requests.
|
| 36 |
- Backend inference is parsed from the local `Server-Timing` header. Jev did not expose server timing.
|
| 37 |
+
- nyx ran locally on an AMD Instinct MI325X and API stack. Jev ran over remote HTTPS on unmatched infrastructure, so cross-service latency is descriptive only.
|
| 38 |
+
- Public-benchmark pretraining contamination is unknown for both models. This finite suite does not establish universal classification quality.
|
benchmarks/summary.json
CHANGED
|
@@ -5,26 +5,21 @@
|
|
| 5 |
"concurrency": 8,
|
| 6 |
"errors": {
|
| 7 |
"nyx-int4fp8": 0,
|
| 8 |
-
"qwen-qwen3.5-35b-a3b": 0,
|
| 9 |
"jev-1.13": 0
|
| 10 |
},
|
| 11 |
"dataset_macro_accuracy": {
|
| 12 |
"nyx-int4fp8": 0.8145402125952668,
|
| 13 |
-
"qwen-qwen3.5-35b-a3b": 0.8237991375852386,
|
| 14 |
"jev-1.13": 0.8209762334536702
|
| 15 |
},
|
| 16 |
"pooled_accuracy": {
|
| 17 |
"nyx-int4fp8": 0.8296003513394817,
|
| 18 |
-
"qwen-qwen3.5-35b-a3b": 0.839262187088274,
|
| 19 |
"jev-1.13": 0.8361879666227492
|
| 20 |
},
|
| 21 |
"paired_mcnemar_two_sided_p": {
|
| 22 |
-
"nyx-
|
| 23 |
-
"nyx-int4fp8_vs_jev-1.13": 0.23153716588439505,
|
| 24 |
-
"qwen-qwen3.5-35b-a3b_vs_jev-1.13": 0.591683927094163
|
| 25 |
},
|
| 26 |
"limitations": [
|
| 27 |
-
"Public benchmark contamination is unknown.",
|
| 28 |
"Fixed samples are not complete official-suite scores except TREC test and RTE validation.",
|
| 29 |
"Jev timing used unmatched remote infrastructure."
|
| 30 |
]
|
|
|
|
| 5 |
"concurrency": 8,
|
| 6 |
"errors": {
|
| 7 |
"nyx-int4fp8": 0,
|
|
|
|
| 8 |
"jev-1.13": 0
|
| 9 |
},
|
| 10 |
"dataset_macro_accuracy": {
|
| 11 |
"nyx-int4fp8": 0.8145402125952668,
|
|
|
|
| 12 |
"jev-1.13": 0.8209762334536702
|
| 13 |
},
|
| 14 |
"pooled_accuracy": {
|
| 15 |
"nyx-int4fp8": 0.8296003513394817,
|
|
|
|
| 16 |
"jev-1.13": 0.8361879666227492
|
| 17 |
},
|
| 18 |
"paired_mcnemar_two_sided_p": {
|
| 19 |
+
"nyx-int4fp8_vs_jev-1.13": 0.23153716588439505
|
|
|
|
|
|
|
| 20 |
},
|
| 21 |
"limitations": [
|
| 22 |
+
"Public benchmark contamination is unknown for both models.",
|
| 23 |
"Fixed samples are not complete official-suite scores except TREC test and RTE validation.",
|
| 24 |
"Jev timing used unmatched remote infrastructure."
|
| 25 |
]
|
release-manifest.json
CHANGED
|
@@ -14,20 +14,24 @@
|
|
| 14 |
"sha256": "94d30a32935469a150faba2820dfa13bd34c67ae5d2c8adb390778666a4a8443"
|
| 15 |
},
|
| 16 |
"README.md": {
|
| 17 |
-
"bytes":
|
| 18 |
-
"sha256": "
|
| 19 |
},
|
| 20 |
"assets/nyx-vs-jev-benchmarks.png": {
|
| 21 |
-
"bytes":
|
| 22 |
-
"sha256": "
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
},
|
| 24 |
"benchmarks/random-six-report.md": {
|
| 25 |
-
"bytes":
|
| 26 |
-
"sha256": "
|
| 27 |
},
|
| 28 |
"benchmarks/summary.json": {
|
| 29 |
-
"bytes":
|
| 30 |
-
"sha256": "
|
| 31 |
},
|
| 32 |
"chat_template.jinja": {
|
| 33 |
"bytes": 7756,
|
|
@@ -112,5 +116,5 @@
|
|
| 112 |
},
|
| 113 |
"format_version": 1,
|
| 114 |
"repository": "devanshbatham/nyx",
|
| 115 |
-
"total_bytes":
|
| 116 |
}
|
|
|
|
| 14 |
"sha256": "94d30a32935469a150faba2820dfa13bd34c67ae5d2c8adb390778666a4a8443"
|
| 15 |
},
|
| 16 |
"README.md": {
|
| 17 |
+
"bytes": 6627,
|
| 18 |
+
"sha256": "c37620861bbcd51d63dcc298865a7ffe8f7257617c692a1ec55280a1486099e2"
|
| 19 |
},
|
| 20 |
"assets/nyx-vs-jev-benchmarks.png": {
|
| 21 |
+
"bytes": 1362162,
|
| 22 |
+
"sha256": "9ce0a836719964925223bc94e29a299aebfe01b81c85fc85866e05dac101ee47"
|
| 23 |
+
},
|
| 24 |
+
"benchmarks/prequant-h1.md": {
|
| 25 |
+
"bytes": 1708,
|
| 26 |
+
"sha256": "fab5d5d4db40d14a0ae6d877bbf1a5f2fa72f586d5b282d37ee2456c293c8fad"
|
| 27 |
},
|
| 28 |
"benchmarks/random-six-report.md": {
|
| 29 |
+
"bytes": 2183,
|
| 30 |
+
"sha256": "19dff7a297bd379897b393cb3601b91fe2ed9cfabfa6e5c8eaf38601d4a12ff1"
|
| 31 |
},
|
| 32 |
"benchmarks/summary.json": {
|
| 33 |
+
"bytes": 751,
|
| 34 |
+
"sha256": "90d3be0514f431979f75fba1d0ee43f47d5b7b5ce9ec3d8132a9929ca1492d33"
|
| 35 |
},
|
| 36 |
"chat_template.jinja": {
|
| 37 |
"bytes": 7756,
|
|
|
|
| 116 |
},
|
| 117 |
"format_version": 1,
|
| 118 |
"repository": "devanshbatham/nyx",
|
| 119 |
+
"total_bytes": 19679369102
|
| 120 |
}
|