Instructions to use HanzoHuang/DeepSeek-R1-Distill-Qwen-1.5B-RKLLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- RKLLM
How to use HanzoHuang/DeepSeek-R1-Distill-Qwen-1.5B-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
Add Simplified Chinese README and language navigation
Browse filesFiles changed (2)
- README.md+2
- README_zh-CN.mdAdded+92
12 unmodified lines13141516171812 unmodified lines- qwen---## 🚀 Deploy with reComputer AI LabExplore and deploy AI models on Rockchip **RK3576** and **RK3588** devices with **reComputer AI Lab**.12 unmodified lines131415161718192012 unmodified lines- qwen---**English** | [简体中文](README_zh-CN.md)## 🚀 Deploy with reComputer AI LabExplore and deploy AI models on Rockchip **RK3576** and **RK3588** devices with **reComputer AI Lab**.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192---license: mitbase_model: deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5Bpipeline_tag: text-generationlibrary_name: rkllmtags:- rkllm- rockchip- rk3576- rk3588- deepseek- deepseek-r1- qwen---
[English](README.md) | **简体中文**
## 🚀 使用 reComputer AI Lab 部署
通过 **reComputer AI Lab**,在 Rockchip **RK3576** 和 **RK3588** 设备上探索并部署 AI 模型。
[](https://sensecraft.seeed.cc/ai-lab/zh/models?device=rk3588)
### ⚡ 一条命令即可运行
安装 Docker 后,在 reComputer AI Lab 中选择模型和开发板,复制部署命令,并在设备终端中运行即可。
**[探索模型与部署指南 →](https://sensecraft.seeed.cc/ai-lab/zh/models?device=rk3588)**
---
# DeepSeek-R1-Distill-Qwen-1.5B · RKLLM
* 最大上下文长度: 4096
在 Rockchip RK3576 和 RK3588 上进行文本生成,转换自 [deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B)。
- **转换工具包:** RKLLM Toolkit 1.3.0。- **输入 / 输出:** 文本 → 文本。- **许可证:** `mit`;条款及预期用途请参阅[上游模型卡](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B)。
## 选择模型文件
请选择与开发板 SoC 完全匹配的文件。`w4a16` 使用 4 位权重和 16 位激活;`w4a16_g128` 的权重分组大小为 128。`w8a8` 使用 8 位权重和 8 位激活。下表列出的是下载大小,并非运行时总内存占用。
| 开发板 | 量化方式 | 大小 | 语言模型 || --- | --- | --- | --- || RK3576 | `w4a16_g128` | 1.43 GiB | [DeepSeek-R1-Distill-Qwen-1.5B_RK3576_w4a16_g128.rkllm](RK3576/DeepSeek-R1-Distill-Qwen-1.5B_RK3576_w4a16_g128.rkllm) || RK3576 | `w8a8` | 1.93 GiB | [DeepSeek-R1-Distill-Qwen-1.5B_RK3576_w8a8.rkllm](RK3576/DeepSeek-R1-Distill-Qwen-1.5B_RK3576_w8a8.rkllm) || RK3588 | `w8a8` | 1.91 GiB | [DeepSeek-R1-Distill-Qwen-1.5B_RK3588_w8a8.rkllm](RK3588/DeepSeek-R1-Distill-Qwen-1.5B_RK3588_w8a8.rkllm) |
## 在开发板上运行
在匹配的 Rockchip 开发板上安装 Docker 后,以下示例将启动 **RK3576 w4a16_g128** 模型,并在端口 8001 提供 API:
```bashsudo docker run --rm -d --name rkllm \ --privileged -v /dev:/dev -p 8001:8001 \ ghcr.io/hanzo-huang/rkllm-docker/llm/deepseek-r1-distill-qwen-1.5b:rk3576-w4a16-g128```
镜像已包含模型文件。API 请求、其他开发板版本和配置说明请参阅 [rkllm-docker](https://github.com/Hanzo-Huang/rkllm-docker#readme)。
如需单独下载文件:
```bashhf download HanzoHuang/DeepSeek-R1-Distill-Qwen-1.5B-RKLLM \ RK3576/DeepSeek-R1-Distill-Qwen-1.5B_RK3576_w4a16_g128.rkllm \ --local-dir ./models```
这些文件是原生 RKLLM/RKNN 模型产物。集成到其他应用时,请使用兼容的 RKLLM 运行时及该模型对应的对话模板。
## 发布说明
此处未发布各配置在开发板上的基准测试。量化后的输出可能与原始模型不同,请使用自己的实际任务检查回答效果。检查运行时兼容性时,请参考上方列出的工具包版本。
<details><summary>SHA-256 校验和</summary>
```texte737c9aa8cfbfd0216e547ed67bc2325d5add2f8b2aa21037389e296ac3b8d80 RK3576/DeepSeek-R1-Distill-Qwen-1.5B_RK3576_w4a16_g128.rkllm6ceab2c6b93a8b55837ab75e4050bbce888030153c0bc83a465bd73ead44120f RK3576/DeepSeek-R1-Distill-Qwen-1.5B_RK3576_w8a8.rkllmd00038d619c1905ac66ab5d499019d80889d37cc1f81be491cc503e284950c2d RK3588/DeepSeek-R1-Distill-Qwen-1.5B_RK3588_w8a8.rkllm```
</details>
## 致谢
原始模型:[deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B)。转换工具:[Rockchip RKLLM](https://github.com/airockchip/rknn-llm)。README.md+2
README_zh-CN.mdAdded+92