HanzoHuang commited on
Commit
adf1e2d
·
verified ·
1 Parent(s): ca059d1

Add complete model card

Browse files
Files changed (1) hide show
  1. README.md +56 -0
README.md CHANGED
@@ -1,3 +1,59 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ base_model: google/gemma-4-E2B-it
4
+ library_name: rkllm
5
+ tags:
6
+ - rkllm
7
+ - rockchip
8
+ - rk3576
9
+ - rk3588
10
+ - gemma
11
+ - gemma-4
12
  ---
13
+
14
+ # gemma-4-E2B-it-RKLLM
15
+
16
+ RKLLM-converted versions of Gemma 4 E2B IT for deployment on Rockchip RK3576 and RK3588 NPUs.
17
+
18
+ `.rkllm` files require the Rockchip RKLLM runtime and cannot be loaded directly with Transformers, llama.cpp, or Ollama.
19
+
20
+ ## Base Model
21
+
22
+ - Model: Gemma 4 E2B IT
23
+ - Author: Google
24
+ - Original model: [google/gemma-4-E2B-it](https://huggingface.co/google/gemma-4-E2B-it)
25
+ - Original license: Apache-2.0
26
+
27
+ Refer to the upstream model card for the original model's capabilities, limitations, and acceptable-use guidance.
28
+
29
+ ## Available Variants
30
+
31
+ | Target | File | Quantization |
32
+ | --- | --- | --- |
33
+ | RK3576 | [`gemma-4-E2B-it_RK3576_w4a16_g128.rkllm`](RK3576/gemma-4-E2B-it_RK3576_w4a16_g128.rkllm) | W4A16 (g128) |
34
+ | RK3576 | [`gemma-4-E2B-it_RK3576_w8a8.rkllm`](RK3576/gemma-4-E2B-it_RK3576_w8a8.rkllm) | W8A8 |
35
+ | RK3588 | [`gemma-4-E2B-it_RK3588_w8a8.rkllm`](RK3588/gemma-4-E2B-it_RK3588_w8a8.rkllm) | W8A8 |
36
+
37
+ The repository also contains `gemma-4-E2B-it_data_quant.json`, the calibration data used during conversion.
38
+
39
+ ## Usage
40
+
41
+ Download the model variant that matches your target SoC:
42
+
43
+ ```bash
44
+ hf download HanzoHuang/gemma-4-E2B-it-RKLLM \
45
+ RK3576/gemma-4-E2B-it_RK3576_w4a16_g128.rkllm \
46
+ --local-dir gemma-4-E2B-it-RKLLM
47
+ ```
48
+
49
+ Load the `.rkllm` file with a compatible RKLLM runtime. Use the correct prompt formatting for the instruction-tuned upstream model.
50
+
51
+ ## Limitations
52
+
53
+ - These are hardware-specific converted artifacts, not Transformers checkpoints.
54
+ - Runtime, driver, and toolkit compatibility depends on the Rockchip software stack installed on the device.
55
+ - Conversion may change output quality relative to the upstream floating-point model; validate on your own workload.
56
+
57
+ ## Acknowledgements
58
+
59
+ Thanks to Google for releasing Gemma 4 E2B IT and to Rockchip and RKLLM contributors for the deployment toolchain.