Instructions to use HanzoHuang/Qwen2-0.5B-Instruct-RKLLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- RKLLM
How to use HanzoHuang/Qwen2-0.5B-Instruct-RKLLM with RKLLM:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Document RKLLM artifacts and checksums
Browse files
README.md
CHANGED
|
@@ -1,3 +1,55 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
base_model: Qwen/Qwen2-0.5B-Instruct
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
library_name: rkllm
|
| 6 |
+
tags:
|
| 7 |
+
- rkllm
|
| 8 |
+
- rockchip
|
| 9 |
+
- rk3576
|
| 10 |
+
- rk3588
|
| 11 |
+
- qwen
|
| 12 |
+
- qwen2
|
| 13 |
---
|
| 14 |
+
|
| 15 |
+
# Qwen2-0.5B-Instruct-RKLLM
|
| 16 |
+
|
| 17 |
+
RKLLM-converted Qwen2-0.5B-Instruct language-model artifacts for Rockchip RK3576 and RK3588 NPUs.
|
| 18 |
+
|
| 19 |
+
These hardware-specific `.rkllm` files require a compatible Rockchip RKLLM runtime. They are not Transformers checkpoints and cannot be loaded directly with Transformers, llama.cpp, or Ollama.
|
| 20 |
+
|
| 21 |
+
## Base model
|
| 22 |
+
|
| 23 |
+
- Upstream model: [Qwen/Qwen2-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2-0.5B-Instruct)
|
| 24 |
+
- License: Apache-2.0
|
| 25 |
+
- Model type: LLM (text only)
|
| 26 |
+
|
| 27 |
+
## Conversion and variants
|
| 28 |
+
|
| 29 |
+
Converted with RKLLM Toolkit 1.3.0. Use a file built for the exact target SoC.
|
| 30 |
+
|
| 31 |
+
| Target | Quantization | File | SHA256 |
|
| 32 |
+
| --- | --- | --- | --- |
|
| 33 |
+
| RK3576 | W4A16 (g128) | [Qwen2-0.5B-Instruct_RK3576_w4a16_g128.rkllm](RK3576/Qwen2-0.5B-Instruct_RK3576_w4a16_g128.rkllm) | `a166cdcff5d8a2e33423d01d8bac6f7a6ad1e1130fbd0bfefdb8b69082113e87` |
|
| 34 |
+
| RK3576 | W8A8 | [Qwen2-0.5B-Instruct_RK3576_w8a8.rkllm](RK3576/Qwen2-0.5B-Instruct_RK3576_w8a8.rkllm) | `cdccb51e23131352823af8becf9ac4acb15cb30f0f961e89d16cb0fabd003414` |
|
| 35 |
+
| RK3588 | W8A8 | [Qwen2-0.5B-Instruct_RK3588_w8a8.rkllm](RK3588/Qwen2-0.5B-Instruct_RK3588_w8a8.rkllm) | `24e99eeea1512d6e7f3f120f3344a510933301dfcb72bd64b24a9724ab48e1d8` |
|
| 36 |
+
|
| 37 |
+
The repository also includes `Qwen2-0.5B-Instruct_data_quant.json`, used as calibration data during conversion.
|
| 38 |
+
|
| 39 |
+
## Usage
|
| 40 |
+
|
| 41 |
+
```bash
|
| 42 |
+
hf download HanzoHuang/Qwen2-0.5B-Instruct-RKLLM \
|
| 43 |
+
RK3576/Qwen2-0.5B-Instruct_RK3576_w4a16_g128.rkllm \
|
| 44 |
+
--local-dir Qwen2-0.5B-Instruct-RKLLM
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
Use the Qwen2 Instruct chat template with the RKLLM runtime. For Docker deployment, see [Hanzo-Huang/rkllm-docker](https://github.com/Hanzo-Huang/rkllm-docker).
|
| 48 |
+
|
| 49 |
+
## Limitations
|
| 50 |
+
|
| 51 |
+
These are target-specific converted artifacts. Validate quality and runtime compatibility on your Rockchip device.
|
| 52 |
+
|
| 53 |
+
## Acknowledgements
|
| 54 |
+
|
| 55 |
+
Thanks to the Qwen Team, Rockchip, and the RKLLM community.
|