File size: 3,778 Bytes
913a131
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
---
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).