msluszniak commited on
Commit
88a8f5f
·
verified ·
1 Parent(s): c9196e1

Add spec-compliant config.json files

Browse files
135m/xnnpack/config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "smollm2",
4
+ "family": "smollm",
5
+ "capabilities": [
6
+ "text-generation"
7
+ ],
8
+ "backend": "xnnpack",
9
+ "license": "apache-2.0",
10
+ "variants": [
11
+ {
12
+ "file": "smollm2_135m_xnnpack_bf16.pte",
13
+ "precision": "bf16",
14
+ "quantized": false,
15
+ "default": true
16
+ },
17
+ {
18
+ "file": "smollm2_135m_xnnpack_8da4w.pte",
19
+ "precision": "8da4w",
20
+ "quantized": true,
21
+ "default": true
22
+ }
23
+ ],
24
+ "size": "135m"
25
+ }
1_7b/xnnpack/config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "smollm2",
4
+ "family": "smollm",
5
+ "capabilities": [
6
+ "text-generation"
7
+ ],
8
+ "backend": "xnnpack",
9
+ "license": "apache-2.0",
10
+ "variants": [
11
+ {
12
+ "file": "smollm2_1_7b_xnnpack_bf16.pte",
13
+ "precision": "bf16",
14
+ "quantized": false,
15
+ "default": true
16
+ },
17
+ {
18
+ "file": "smollm2_1_7b_xnnpack_8da4w.pte",
19
+ "precision": "8da4w",
20
+ "quantized": true,
21
+ "default": true
22
+ }
23
+ ],
24
+ "size": "1_7b"
25
+ }
360m/xnnpack/config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "smollm2",
4
+ "family": "smollm",
5
+ "capabilities": [
6
+ "text-generation"
7
+ ],
8
+ "backend": "xnnpack",
9
+ "license": "apache-2.0",
10
+ "variants": [
11
+ {
12
+ "file": "smollm2_360m_xnnpack_bf16.pte",
13
+ "precision": "bf16",
14
+ "quantized": false,
15
+ "default": true
16
+ },
17
+ {
18
+ "file": "smollm2_360m_xnnpack_8da4w.pte",
19
+ "precision": "8da4w",
20
+ "quantized": true,
21
+ "default": true
22
+ }
23
+ ],
24
+ "size": "360m"
25
+ }