Update mlx/config.json
Browse files- mlx/config.json +48 -0
mlx/config.json
CHANGED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
|
| 3 |
+
"model": "privacy_filter_openai",
|
| 4 |
+
"family": "privacy_filter",
|
| 5 |
+
"capabilities": [
|
| 6 |
+
"classification"
|
| 7 |
+
],
|
| 8 |
+
"backend": "mlx",
|
| 9 |
+
"license": "apache-2.0",
|
| 10 |
+
"variants": [
|
| 11 |
+
{
|
| 12 |
+
"file": "privacy_filter_openai_mlx_int4.pte",
|
| 13 |
+
"precision": "int4",
|
| 14 |
+
"quantized": true,
|
| 15 |
+
"default": true,
|
| 16 |
+
"methods": {
|
| 17 |
+
"forward": {
|
| 18 |
+
"inputs": [
|
| 19 |
+
{
|
| 20 |
+
"shape": [
|
| 21 |
+
1,
|
| 22 |
+
256
|
| 23 |
+
],
|
| 24 |
+
"dtype": "int64"
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"shape": [
|
| 28 |
+
1,
|
| 29 |
+
256
|
| 30 |
+
],
|
| 31 |
+
"dtype": "int64"
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"outputs": [
|
| 35 |
+
{
|
| 36 |
+
"shape": [
|
| 37 |
+
1,
|
| 38 |
+
256,
|
| 39 |
+
33
|
| 40 |
+
],
|
| 41 |
+
"dtype": "float32"
|
| 42 |
+
}
|
| 43 |
+
]
|
| 44 |
+
}
|
| 45 |
+
}
|
| 46 |
+
}
|
| 47 |
+
]
|
| 48 |
+
}
|