Ash Vardanian
commited on
Commit
•
c58bbda
1
Parent(s):
5522352
Make: Add CoreML weights
Browse files- config.json +30 -0
- image.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- image.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- image.mlpackage/Manifest.json +18 -0
- text.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- text.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- text.mlpackage/Manifest.json +18 -0
- tokenizer.json +0 -0
config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"text_encoder": {
|
3 |
+
"tokenizer_class": "bert",
|
4 |
+
"model_type": "bert",
|
5 |
+
"dim": 768,
|
6 |
+
"context_dim": 384,
|
7 |
+
"vocab_size": 30522,
|
8 |
+
"padding_idx": 0,
|
9 |
+
"num_layers": 4,
|
10 |
+
"num_heads": 12,
|
11 |
+
"embedding_dim": 256,
|
12 |
+
"multimodal_layers_ids": [
|
13 |
+
2,
|
14 |
+
3
|
15 |
+
],
|
16 |
+
"head_one_neuron": false,
|
17 |
+
"pooling": "cls",
|
18 |
+
"max_position_embeddings": 64,
|
19 |
+
"dropout_prob": 0.1
|
20 |
+
},
|
21 |
+
"image_encoder": {
|
22 |
+
"dim": 384,
|
23 |
+
"patch_size": 16,
|
24 |
+
"image_size": 224,
|
25 |
+
"num_layers": 12,
|
26 |
+
"num_heads": 6,
|
27 |
+
"embedding_dim": 256,
|
28 |
+
"pooling": "cls"
|
29 |
+
}
|
30 |
+
}
|
image.mlpackage/Data/com.apple.CoreML/model.mlmodel
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f06b44c342f406cb5d3bfa2c009b55bbac455ba97bb07846b6161287aee4c1a3
|
3 |
+
size 111195
|
image.mlpackage/Data/com.apple.CoreML/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:80df8d05daadf940deb3a21f1f7fa4b03dd5e7ee4a2ec0be9cca87a6751ebc31
|
3 |
+
size 87106624
|
image.mlpackage/Manifest.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"fileFormatVersion": "1.0.0",
|
3 |
+
"itemInfoEntries": {
|
4 |
+
"20458914-6BBA-4AF3-ADB8-60CBA7CE7713": {
|
5 |
+
"author": "com.apple.CoreML",
|
6 |
+
"description": "CoreML Model Specification",
|
7 |
+
"name": "model.mlmodel",
|
8 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
9 |
+
},
|
10 |
+
"CD25C0E2-C2BB-4C45-8EF7-2D23E3E550A6": {
|
11 |
+
"author": "com.apple.CoreML",
|
12 |
+
"description": "CoreML Model Weights",
|
13 |
+
"name": "weights",
|
14 |
+
"path": "com.apple.CoreML/weights"
|
15 |
+
}
|
16 |
+
},
|
17 |
+
"rootModelIdentifier": "20458914-6BBA-4AF3-ADB8-60CBA7CE7713"
|
18 |
+
}
|
text.mlpackage/Data/com.apple.CoreML/model.mlmodel
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b99beb4e3d9bb9ab421634bafb3a433cab3d8a9dbed779f82f6eae05071916c
|
3 |
+
size 21788
|
text.mlpackage/Data/com.apple.CoreML/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d022e8345991dbf0352357afd63df088628115e22066e864506f9b71de5c480f
|
3 |
+
size 151459264
|
text.mlpackage/Manifest.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"fileFormatVersion": "1.0.0",
|
3 |
+
"itemInfoEntries": {
|
4 |
+
"74D647A6-216E-48BE-A0A6-BD4BF4EEB3CA": {
|
5 |
+
"author": "com.apple.CoreML",
|
6 |
+
"description": "CoreML Model Weights",
|
7 |
+
"name": "weights",
|
8 |
+
"path": "com.apple.CoreML/weights"
|
9 |
+
},
|
10 |
+
"BE4077DB-78CC-4549-B7F9-0F6AA0AEFF56": {
|
11 |
+
"author": "com.apple.CoreML",
|
12 |
+
"description": "CoreML Model Specification",
|
13 |
+
"name": "model.mlmodel",
|
14 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
15 |
+
}
|
16 |
+
},
|
17 |
+
"rootModelIdentifier": "BE4077DB-78CC-4549-B7F9-0F6AA0AEFF56"
|
18 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|