Run this model with HF Jobs
Run HanzoHuang/Qwen2.5-3B-Instruct-RKLLM on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/HanzoHuang/Qwen2.5-3B-Instruct-RKLLM. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/HanzoHuang/Qwen2.5-3B-Instruct-RKLLM on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/HanzoHuang/Qwen2.5-3B-Instruct-RKLLM. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/HanzoHuang/Qwen2.5-3B-Instruct-RKLLM. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use HanzoHuang/Qwen2.5-3B-Instruct-RKLLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- RKLLM
How to use HanzoHuang/Qwen2.5-3B-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
Update README.md
Browse files12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182---license: otherlicense_name: qwen-researchlicense_link: LICENSEbase_model: Qwen/Qwen2.5-3B-Instructlibrary_name: rkllmtags:- rkllm- rockchip- rk3576- qwen- qwen2.5---# Qwen2.5-3B-Instruct-RKLLMRKLLM-converted version of Qwen2.5-3B-Instruct for Rockchip NPU platforms.## Base Model- Model: Qwen2.5-3B-Instruct- Author: Alibaba Cloud Qwen Team- Original Model: https://huggingface.co/Qwen/Qwen2.5-3B-Instruct- Original License: Qwen Research License## Supported Platforms| SoC | Status ||------|------|| RK3576 | β || RK3588 | π§ |## Conversion- RKLLM Toolkit: 1.2.3## Available Variants| Platform | Quantization | File ||----------|-------------|------|| RK3576 | W8A8 | Qwen2.5-3B-Instruct_w8a8_RK3576.rkllm || RK3576 | W4A16 | Qwen2.5-3B-Instruct_w4a16_RK3576.rkllm |## Repository Structure```text.βββ RK3576βββ Qwen2.5-3B-Instruct_w4a16_RK3576.rkllmβββ Qwen2.5-3B-Instruct_w8a8_RK3576.rkllm```## UsageDownload the desired RKLLM model and deploy it using the RKLLM runtime on supported Rockchip platforms.## LicenseThis repository contains converted versions of Qwen2.5-3B-Instruct.The original model is licensed under the Qwen Research License. Use of the model files in this repository is subject to the terms and conditions of the original license.A copy of the license is provided in the LICENSE file.## AttributionQwen is licensed under the Qwen RESEARCH LICENSE AGREEMENT.Copyright (c) Alibaba Cloud.All Rights Reserved.## ModificationsThe following modifications were made to the original model:- Converted to RKLLM format- Quantized for Rockchip NPU deployment- Validated on RK3576## AcknowledgementsThanks to the Alibaba Cloud Qwen Team for releasing the original Qwen2.5-3B-Instruct model.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106---license: otherlicense_name: qwen-researchbase_model: Qwen/Qwen2.5-3B-Instructlibrary_name: rkllmpipeline_tag: text-generationtags:- rkllm- rockchip- rk3576- rk3588- qwen- qwen2.5---# Qwen2.5-3B-Instruct-RKLLMRKLLM-converted versions of Qwen2.5-3B-Instruct for Rockchip RK3576 and RK3588.`.rkllm` files require the Rockchip RKLLM runtime and cannot be loaded directly with Transformers, llama.cpp, or Ollama.## Base Model- Model: Qwen2.5-3B-Instruct- Author: Alibaba Cloud Qwen Team- Original Model: [Qwen/Qwen2.5-3B-Instruct](https://huggingface.co/Qwen/Qwen2.5-3B-Instruct)- Original License: Qwen Research LicenseRefer to the [upstream model card](https://huggingface.co/Qwen/Qwen2.5-3B-Instruct) for the original modelβs capabilities and limitations.## Supported Platforms| SoC | Quantization | Status || ------ | ------------ | ------------------------ || RK3576 | W4A16 | β Tested || RK3576 | W8A8 | β Tested || RK3588 | W8A8 | β Supported (not tested) |RK3576 W4A16 and W8A8 have been tested. RK3588 W8A8 is supported as a target platform but has not been board-tested because no RK3588 board is available.## Conversion- RKLLM Toolkit: 1.2.3- Target Platforms: RK3576, RK3588## Available Variants| File | Quantization || ------------------------------------------------------------ | ------------ || [Qwen2.5-3B-Instruct_w4a16_RK3576.rkllm](RK3576/Qwen2.5-3B-Instruct_w4a16_RK3576.rkllm) | W4A16 || [Qwen2.5-3B-Instruct_w8a8_RK3576.rkllm](RK3576/Qwen2.5-3B-Instruct_w8a8_RK3576.rkllm) | W8A8 || [Qwen2.5-3B-Instruct_w8a8_RK3588.rkllm](RK3588/Qwen2.5-3B-Instruct_w8a8_RK3588.rkllm) | W8A8 |## Repository Structure```text.βββ Qwen2.5-3B-Instruct_data_quant.jsonβββ RK3576β βββ Qwen2.5-3B-Instruct_w4a16_RK3576.rkllmβ βββ Qwen2.5-3B-Instruct_w8a8_RK3576.rkllmβββ RK3588βββ Qwen2.5-3B-Instruct_w8a8_RK3588.rkllm```## UsageDownload the desired RKLLM model and deploy it with the RKLLM runtime on the matching Rockchip platform.For faster deployment without setting up the environment manually, see [Hanzo-Huang/rkllm-docker](https://github.com/Hanzo-Huang/rkllm-docker).### Docker DeploymentUse the model-specific image for the fastest RK3576 W4A16 deployment. The model is included in the image:```bashsudo docker run --rm -it \--privileged \-p 8001:8001 \-v /dev:/dev \ghcr.io/hanzo-huang/rkllm-docker/qwen2.5-3b-instruct:w4a16-rk3576```Alternatively, use the reusable environment image and mount a downloaded model:```bashsudo docker run --rm -it \--privileged \-p 8001:8001 \-v /dev:/dev \-v ./:/app/models:ro \-e MODEL_PATH=/app/models/RK3576/Qwen2.5-3B-Instruct_w4a16_RK3576.rkllm \-e TARGET_PLATFORM=rk3576 \ghcr.io/hanzo-huang/rkllm-docker:env-latest```The second command requires downloading the selected `.rkllm` file first. Use the matching model variant and target platform.## LicenseThe original Qwen2.5-3B-Instruct model is released under the Qwen Research License. Converted artifacts are derived from the original model and remain subject to the applicable upstream license terms.## AcknowledgementsThanks to the Alibaba Cloud Qwen Team for releasing the original model and to Rockchip and RKLLM contributors for the deployment toolchain.
README.md+55-31