card
Browse files
README.md
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: Mapika/decider-0.8b
|
| 4 |
+
base_model_relation: quantized
|
| 5 |
+
pipeline_tag: text-classification
|
| 6 |
+
library_name: halogen
|
| 7 |
+
# The widget is off deliberately: these files run only on the NPU inside the
|
| 8 |
+
# halogen container, so nothing on the Hub can load them.
|
| 9 |
+
inference: false
|
| 10 |
+
tags:
|
| 11 |
+
- halogen
|
| 12 |
+
- npu
|
| 13 |
+
- ryzen-ai
|
| 14 |
+
- xdna2
|
| 15 |
+
- strix-halo
|
| 16 |
+
- amd
|
| 17 |
+
- classifier
|
| 18 |
+
- guard
|
| 19 |
+
- router
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# decider-0.8b for the Ryzen AI NPU
|
| 23 |
+
|
| 24 |
+
[Mapika/decider-0.8b](https://huggingface.co/Mapika/decider-0.8b), a Qwen3.5-0.8B classifier, converted to run on the Ryzen AI NPU of AMD Strix Halo inside
|
| 25 |
+
[halogen-flash-server](https://github.com/peonist-ai/halogen-flash-server), beside the Flash model on the GPU and behind
|
| 26 |
+
the same port. Questions go to the [Discord](https://discord.gg/bcm6QknaV6).
|
| 27 |
+
Bugs go to the server repository's issues.
|
| 28 |
+
|
| 29 |
+
**These files run only inside the halogen-flash-server container, on the NPU.
|
| 30 |
+
They will not load in transformers or any other runtime.**
|
| 31 |
+
|
| 32 |
+
## What is here
|
| 33 |
+
|
| 34 |
+
```
|
| 35 |
+
devices/ 96 MB the NPU program for this model, and its NOTICE.md
|
| 36 |
+
decider-0.8b.hnpw 2.27 GB the weights, converted for the NPU
|
| 37 |
+
tokenizer/ 20 MB the tokenizer
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
+
## Use it
|
| 41 |
+
|
| 42 |
+
Start halogen-flash-server 0.16.0 or later with `HALOGEN_DOWNLOAD` on and
|
| 43 |
+
`HALOGEN_NPU_MODELS=decider-0.8b`. The server fetches these files into
|
| 44 |
+
`/models/npu/decider-0.8b/` and checks each one's size and checksum before it starts.
|
| 45 |
+
Give it a text and a question with 2 to 10 options, and it returns a probability for every option from one pass: a guard, a router, a classifier beside the Flash model.
|
| 46 |
+
|
| 47 |
+
The host needs the NPU driver, XRT with its NPU plugin, and the GPU's fabric
|
| 48 |
+
clock held while the NPU works beside the GPU. The setup, every request shape,
|
| 49 |
+
and how to run your own fine-tune of this model are in
|
| 50 |
+
[docs/NPU.md](https://github.com/peonist-ai/halogen-flash-server/blob/main/docs/NPU.md).
|
| 51 |
+
|
| 52 |
+
## Source and license
|
| 53 |
+
|
| 54 |
+
Converted from [Mapika/decider-0.8b](https://huggingface.co/Mapika/decider-0.8b) at revision `a0a01d6f8135298f400a8c856b355793012ae971`, itself a fine-tune of Qwen/Qwen3.5-0.8B-Base. Apache-2.0, as the source.
|
| 55 |
+
`devices/NOTICE.md` lists the third-party notices the NPU program carries.
|