msluszniak commited on
Commit
ae44f91
·
verified ·
1 Parent(s): 729797a

fix(v0.9.0): snake_case rename of three dashed/mixed-case files

Browse files
.gitattributes CHANGED
@@ -43,3 +43,6 @@ tokenizer.json filter=lfs diff=lfs merge=lfs -text
43
  xnnpack/paraphrase-multilingual-MiniLM-L12-v2_xnnpack_8da4w.pte filter=lfs diff=lfs merge=lfs -text
44
  xnnpack/paraphrase-multilingual-MiniLM-L12-v2_xnnpack_fp32.pte filter=lfs diff=lfs merge=lfs -text
45
  xnnpack/paraphrase_multilingual_minilm_l12_v2_xnnpack_8da4w.pte filter=lfs diff=lfs merge=lfs -text
 
 
 
 
43
  xnnpack/paraphrase-multilingual-MiniLM-L12-v2_xnnpack_8da4w.pte filter=lfs diff=lfs merge=lfs -text
44
  xnnpack/paraphrase-multilingual-MiniLM-L12-v2_xnnpack_fp32.pte filter=lfs diff=lfs merge=lfs -text
45
  xnnpack/paraphrase_multilingual_minilm_l12_v2_xnnpack_8da4w.pte filter=lfs diff=lfs merge=lfs -text
46
+ coreml/paraphrase_multilingual_minilm_l12_v2_coreml_fp16.pte filter=lfs diff=lfs merge=lfs -text
47
+ coreml/paraphrase_multilingual_minilm_l12_v2_coreml_fp32.pte filter=lfs diff=lfs merge=lfs -text
48
+ xnnpack/paraphrase_multilingual_minilm_l12_v2_xnnpack_fp32.pte filter=lfs diff=lfs merge=lfs -text
coreml/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "paraphrase_multilingual_minilm_l12_v2",
4
+ "family": "minilm",
5
+ "capabilities": [
6
+ "text-embedding"
7
+ ],
8
+ "backend": "coreml",
9
+ "license": "apache-2.0",
10
+ "tokenizer": "../tokenizer.json",
11
+ "tokenizer_config": "../tokenizer_config.json",
12
+ "variants": [
13
+ {
14
+ "file": "paraphrase_multilingual_minilm_l12_v2_coreml_fp32.pte",
15
+ "precision": "fp32",
16
+ "quantized": false,
17
+ "default": true,
18
+ "methods": {
19
+ "forward": {
20
+ "inputs": [
21
+ {
22
+ "shape": [
23
+ 1,
24
+ -1
25
+ ],
26
+ "dtype": "int64"
27
+ }
28
+ ],
29
+ "outputs": [
30
+ {
31
+ "shape": [
32
+ 1,
33
+ 384
34
+ ],
35
+ "dtype": "float32"
36
+ }
37
+ ]
38
+ }
39
+ }
40
+ },
41
+ {
42
+ "file": "paraphrase_multilingual_minilm_l12_v2_coreml_fp16.pte",
43
+ "precision": "fp16",
44
+ "quantized": false,
45
+ "default": false,
46
+ "methods": {
47
+ "forward": {
48
+ "inputs": [
49
+ {
50
+ "shape": [
51
+ 1,
52
+ -1
53
+ ],
54
+ "dtype": "int64"
55
+ }
56
+ ],
57
+ "outputs": [
58
+ {
59
+ "shape": [
60
+ 1,
61
+ 384
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
coreml/{paraphrase-multilingual-MiniLM-L12-v2_coreml_fp16.pte → paraphrase_multilingual_minilm_l12_v2_coreml_fp16.pte} RENAMED
File without changes
coreml/{paraphrase-multilingual-MiniLM-L12-v2_coreml_fp32.pte → paraphrase_multilingual_minilm_l12_v2_coreml_fp32.pte} RENAMED
File without changes
xnnpack/config.json CHANGED
@@ -1,17 +1,19 @@
1
  {
2
  "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
  "model": "paraphrase_multilingual_minilm_l12_v2",
4
- "family": "sbert",
5
  "capabilities": [
6
  "text-embedding"
7
  ],
8
  "backend": "xnnpack",
9
  "license": "apache-2.0",
 
 
10
  "variants": [
11
  {
12
- "file": "paraphrase_multilingual_minilm_l12_v2_xnnpack_8da4w.pte",
13
- "precision": "8da4w",
14
- "quantized": true,
15
  "default": true,
16
  "methods": {
17
  "forward": {
@@ -19,14 +21,35 @@
19
  {
20
  "shape": [
21
  1,
22
- 126
23
  ],
24
  "dtype": "int64"
25
- },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  {
27
  "shape": [
28
  1,
29
- 126
30
  ],
31
  "dtype": "int64"
32
  }
@@ -44,4 +67,4 @@
44
  }
45
  }
46
  ]
47
- }
 
1
  {
2
  "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
  "model": "paraphrase_multilingual_minilm_l12_v2",
4
+ "family": "minilm",
5
  "capabilities": [
6
  "text-embedding"
7
  ],
8
  "backend": "xnnpack",
9
  "license": "apache-2.0",
10
+ "tokenizer": "../tokenizer.json",
11
+ "tokenizer_config": "../tokenizer_config.json",
12
  "variants": [
13
  {
14
+ "file": "paraphrase_multilingual_minilm_l12_v2_xnnpack_fp32.pte",
15
+ "precision": "fp32",
16
+ "quantized": false,
17
  "default": true,
18
  "methods": {
19
  "forward": {
 
21
  {
22
  "shape": [
23
  1,
24
+ -1
25
  ],
26
  "dtype": "int64"
27
+ }
28
+ ],
29
+ "outputs": [
30
+ {
31
+ "shape": [
32
+ 1,
33
+ 384
34
+ ],
35
+ "dtype": "float32"
36
+ }
37
+ ]
38
+ }
39
+ }
40
+ },
41
+ {
42
+ "file": "paraphrase_multilingual_minilm_l12_v2_xnnpack_8da4w.pte",
43
+ "precision": "8da4w",
44
+ "quantized": true,
45
+ "default": true,
46
+ "methods": {
47
+ "forward": {
48
+ "inputs": [
49
  {
50
  "shape": [
51
  1,
52
+ -1
53
  ],
54
  "dtype": "int64"
55
  }
 
67
  }
68
  }
69
  ]
70
+ }
xnnpack/{paraphrase-multilingual-MiniLM-L12-v2_xnnpack_fp32.pte → paraphrase_multilingual_minilm_l12_v2_xnnpack_fp32.pte} RENAMED
File without changes