UGREENDEV's picture
Mirror RKNNAI/RK182X-LLM-functiongemma-270m-it@5abcfc99b31d (main)
913a131 verified
|
Raw History Blame Contribute Delete
3.78 kB
---
license: other
license_name: gemma
license_link: LICENSE
tags:
- rknn
- llm
- rk1820
- rk1828
pipeline_tag: text-generation
base_model: google/functiongemma-270m-it
base_model_relation: quantized
---
# RK182X-LLM-functiongemma-270m-it
[English](README.md) | [简体中文](README_CN.md)
## 1. Model Overview
This repository provides an RKNN LLM model converted from [google/functiongemma-270m-it](https://huggingface.co/google/functiongemma-270m-it).
- Model ID: `UGREENDEV/RK182X-LLM-functiongemma-270m-it`
- Model Display Name: `RK182X-LLM-functiongemma-270m-it`
- RKNN Runtime Version: `v1.1.0`
- Source Model: `google/functiongemma-270m-it`
- Model Type: LLM
- Chip Label: RK182X
- Supported Chips: RK1820, RK1828
### Available Models
| RKNN Runtime Version | Configuration Directory | Supported Chips | Quantization | NPU Cores | Context Length (tokens) | KVCache |
| --- | --- | --- | --- | --- | --- | --- |
| `v1.1.0` | [functiongemma-270m-it-w4a16-8-8192](functiongemma-270m-it-w4a16-8-8192/README.md) | RK1820, RK1828 | w4a16 | 8 | 8192 (8k) | fp16 |
## 2. Files
| File or Directory | Description |
| --- | --- |
| `LICENSE` | Source model license |
| `Notice` | License, usage requirements, and attribution |
| `USE_RESTRICTIONS.txt` | License, usage requirements, and attribution |
| `<configuration-directory>/` | Matching model files |
| Subdirectory `README.md` | Configuration documentation (English) |
| Subdirectory `README_CN.md` | Configuration documentation (Chinese) |
| Subdirectory `config.json` | Model configuration and file manifest |
| Subdirectory `SHA256SUMS` | SHA-256 checksums of the files in this directory (excluding this file) |
## 3. Download
Download the full repository from ModelScope:
```bash
modelscope download --model UGREENDEV/RK182X-LLM-functiongemma-270m-it --revision master --local_dir ./RK182X-LLM-functiongemma-270m-it
```
Download the full repository from Hugging Face:
```bash
hf download UGREENDEV/RK182X-LLM-functiongemma-270m-it --revision v1.1.0 --local-dir ./RK182X-LLM-functiongemma-270m-it
```
Download a specific configuration from ModelScope:
```python
from modelscope import snapshot_download
snapshot_download(
"UGREENDEV/RK182X-LLM-functiongemma-270m-it",
revision="master",
allow_patterns=["README.md", "README_CN.md", "LICENSE", "Notice", "USE_RESTRICTIONS.txt", "functiongemma-270m-it-w4a16-8-8192/**"],
local_dir="./RK182X-LLM-functiongemma-270m-it",
)
```
Download a specific configuration from Hugging Face:
```bash
hf download UGREENDEV/RK182X-LLM-functiongemma-270m-it --revision v1.1.0 --include "README.md" "README_CN.md" "LICENSE" "Notice" "USE_RESTRICTIONS.txt" "functiongemma-270m-it-w4a16-8-8192/**" --local-dir ./RK182X-LLM-functiongemma-270m-it
```
## 4. SHA-256 Verification
Run in the configuration directory:
```bash
cd ./RK182X-LLM-functiongemma-270m-it/functiongemma-270m-it-w4a16-8-8192
sha256sum -c SHA256SUMS
```
Deploy only after all entries show `OK`.
## 5. Compatibility and Limitations
- Supported Chips: RK1820, RK1828.
- Use the matching RKNN Runtime and driver. Check the device-side version with `rknn-smi -v` before running.
- Use the files from the selected configuration directory together.
- Designed for tool calling; use the matching tool prompt template.
## 6. Copyright and License
See [LICENSE](LICENSE) in the repository root for the source model license; The RKNN Toolkit and RKNN Runtime license terms also apply.
This release is an RKNN-converted/quantized derivative of the source model. The original license and attribution notices are retained; see [Notice](Notice).
The source model uses Gemma Terms of Use, not Apache 2.0. Use and redistribution are also subject to the [usage restrictions](USE_RESTRICTIONS.txt).