HanzoHuang commited on
Commit
d5c5e40
·
verified ·
1 Parent(s): bc10e6a

Add complete model card

Browse files
Files changed (1) hide show
  1. README.md +61 -0
README.md CHANGED
@@ -1,3 +1,64 @@
1
  ---
2
  license: llama3.2
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: llama3.2
3
+ base_model: meta-llama/Llama-3.2-1B-Instruct
4
+ pipeline_tag: text-generation
5
+ library_name: rkllm
6
+ tags:
7
+ - rkllm
8
+ - rockchip
9
+ - rk3576
10
+ - rk3588
11
+ - llama
12
+ - llama-3.2
13
  ---
14
+
15
+ # Llama-3.2-1B-Instruct-RKLLM
16
+
17
+ RKLLM-converted versions of Llama 3.2 1B Instruct for deployment on Rockchip RK3576 and RK3588 NPUs.
18
+
19
+ `.rkllm` files require the Rockchip RKLLM runtime and cannot be loaded directly with Transformers, llama.cpp, or Ollama.
20
+
21
+ ## Base Model
22
+
23
+ - Model: Llama 3.2 1B Instruct
24
+ - Author: Meta
25
+ - Original model: [meta-llama/Llama-3.2-1B-Instruct](https://huggingface.co/meta-llama/Llama-3.2-1B-Instruct)
26
+ - Original license: Llama 3.2 Community License
27
+
28
+ Access to the upstream model is gated. Refer to its model card, license, and acceptable-use policy before using these converted artifacts.
29
+
30
+ ## Available Variants
31
+
32
+ | Target | File | Quantization |
33
+ | --- | --- | --- |
34
+ | RK3576 | [`Llama-3.2-1B-Instruct_RK3576_w4a16_g128.rkllm`](RK3576/Llama-3.2-1B-Instruct_RK3576_w4a16_g128.rkllm) | W4A16 (g128) |
35
+ | RK3576 | [`Llama-3.2-1B-Instruct_RK3576_w8a8.rkllm`](RK3576/Llama-3.2-1B-Instruct_RK3576_w8a8.rkllm) | W8A8 |
36
+ | RK3588 | [`Llama-3.2-1B-Instruct_RK3588_w8a8.rkllm`](RK3588/Llama-3.2-1B-Instruct_RK3588_w8a8.rkllm) | W8A8 |
37
+
38
+ The repository also contains `Llama-3.2-1B-Instruct_data_quant.json`, the calibration data used during conversion.
39
+
40
+ ## Usage
41
+
42
+ Download the model variant that matches your target SoC:
43
+
44
+ ```bash
45
+ hf download HanzoHuang/Llama-3.2-1B-Instruct-RKLLM \
46
+ RK3576/Llama-3.2-1B-Instruct_RK3576_w4a16_g128.rkllm \
47
+ --local-dir Llama-3.2-1B-Instruct-RKLLM
48
+ ```
49
+
50
+ Load the `.rkllm` file with a compatible RKLLM runtime and apply the Llama 3.2 Instruct chat template in your application.
51
+
52
+ ## Limitations
53
+
54
+ - These are hardware-specific converted artifacts, not Transformers checkpoints.
55
+ - Runtime, driver, and toolkit compatibility depends on the Rockchip software stack installed on the device.
56
+ - Conversion may change output quality relative to the upstream floating-point model; validate on your own workload.
57
+
58
+ ## License
59
+
60
+ Use of these converted artifacts remains subject to the Llama 3.2 Community License and applicable upstream terms.
61
+
62
+ ## Acknowledgements
63
+
64
+ Thanks to Meta for releasing Llama 3.2 and to Rockchip and RKLLM contributors for the deployment toolchain.