Upload folder using huggingface_hub
Browse files
bert_mlm.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62f3ecb5e2b7834163eb558d2f99a7ede3f71fffea7090186f4d59f30707eaef
|
| 3 |
+
size 243
|
bert_mlm.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6014a000853cbba8e10ba8f63c5ccf85d1f897af2d271a65e2b1a2adf89fbd90
|
| 3 |
+
size 500
|
bert_mlm.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"shortDescription" : "BERT MLM for grammar correction (multilingual)",
|
| 4 |
+
"metadataOutputVersion" : "3.0",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Float32",
|
| 10 |
+
"formattedType" : "MultiArray (Float32 1 × 128 × 119547)",
|
| 11 |
+
"shortDescription" : "",
|
| 12 |
+
"shape" : "[1, 128, 119547]",
|
| 13 |
+
"name" : "logits",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"version" : "1.0",
|
| 18 |
+
"modelParameters" : [
|
| 19 |
+
|
| 20 |
+
],
|
| 21 |
+
"author" : "Typo00",
|
| 22 |
+
"specificationVersion" : 6,
|
| 23 |
+
"storagePrecision" : "Float16",
|
| 24 |
+
"mlProgramOperationTypeHistogram" : {
|
| 25 |
+
"Linear" : 74,
|
| 26 |
+
"Gelu" : 13,
|
| 27 |
+
"LayerNorm" : 26,
|
| 28 |
+
"Transpose" : 48,
|
| 29 |
+
"Matmul" : 24,
|
| 30 |
+
"Sub" : 1,
|
| 31 |
+
"Softmax" : 12,
|
| 32 |
+
"Mul" : 13,
|
| 33 |
+
"Cast" : 2,
|
| 34 |
+
"Reshape" : 48,
|
| 35 |
+
"Add" : 38,
|
| 36 |
+
"ExpandDims" : 2,
|
| 37 |
+
"Gather" : 2
|
| 38 |
+
},
|
| 39 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
| 40 |
+
"stateSchema" : [
|
| 41 |
+
|
| 42 |
+
],
|
| 43 |
+
"isUpdatable" : "0",
|
| 44 |
+
"availability" : {
|
| 45 |
+
"macOS" : "12.0",
|
| 46 |
+
"tvOS" : "15.0",
|
| 47 |
+
"visionOS" : "1.0",
|
| 48 |
+
"watchOS" : "8.0",
|
| 49 |
+
"iOS" : "15.0",
|
| 50 |
+
"macCatalyst" : "15.0"
|
| 51 |
+
},
|
| 52 |
+
"modelType" : {
|
| 53 |
+
"name" : "MLModelType_mlProgram"
|
| 54 |
+
},
|
| 55 |
+
"inputSchema" : [
|
| 56 |
+
{
|
| 57 |
+
"hasShapeFlexibility" : "0",
|
| 58 |
+
"isOptional" : "0",
|
| 59 |
+
"dataType" : "Int32",
|
| 60 |
+
"formattedType" : "MultiArray (Int32 1 × 128)",
|
| 61 |
+
"shortDescription" : "",
|
| 62 |
+
"shape" : "[1, 128]",
|
| 63 |
+
"name" : "input_ids",
|
| 64 |
+
"type" : "MultiArray"
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"hasShapeFlexibility" : "0",
|
| 68 |
+
"isOptional" : "0",
|
| 69 |
+
"dataType" : "Int32",
|
| 70 |
+
"formattedType" : "MultiArray (Int32 1 × 128)",
|
| 71 |
+
"shortDescription" : "",
|
| 72 |
+
"shape" : "[1, 128]",
|
| 73 |
+
"name" : "attention_mask",
|
| 74 |
+
"type" : "MultiArray"
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"hasShapeFlexibility" : "0",
|
| 78 |
+
"isOptional" : "0",
|
| 79 |
+
"dataType" : "Int32",
|
| 80 |
+
"formattedType" : "MultiArray (Int32 1 × 128)",
|
| 81 |
+
"shortDescription" : "",
|
| 82 |
+
"shape" : "[1, 128]",
|
| 83 |
+
"name" : "token_type_ids",
|
| 84 |
+
"type" : "MultiArray"
|
| 85 |
+
}
|
| 86 |
+
],
|
| 87 |
+
"userDefinedMetadata" : {
|
| 88 |
+
"com.github.apple.coremltools.conversion_date" : "2026-01-12",
|
| 89 |
+
"com.github.apple.coremltools.source" : "torch==2.7.0",
|
| 90 |
+
"com.github.apple.coremltools.version" : "9.0",
|
| 91 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript"
|
| 92 |
+
},
|
| 93 |
+
"generatedClassName" : "bert_mlm",
|
| 94 |
+
"method" : "predict"
|
| 95 |
+
}
|
| 96 |
+
]
|
bert_mlm.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
bert_mlm.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d6b2be2fdcfa28070fbf231eb57b4e55696702b9ef788d7971637a22ce6aaa88
|
| 3 |
+
size 355372214
|