ZachNagengast commited on
Commit
b8f21db
1 Parent(s): bba1fd5

Upload 5 files

Browse files
TextEncoderT5.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56cfd984d31ea96116300be7d8109899a5c45b815a040b9c661ed28135f5dd68
3
+ size 243
TextEncoderT5.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4aca7133761035bd997317f526ec28d4f06c87c26b49461241e6cf6fc9c4324d
3
+ size 359
TextEncoderT5.mlmodelc/metadata.json ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "metadataOutputVersion" : "3.0",
4
+ "storagePrecision" : "Float16",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float16",
10
+ "formattedType" : "MultiArray (Float16 1 × 4096 × 1 × 77)",
11
+ "shortDescription" : "",
12
+ "shape" : "[1, 4096, 1, 77]",
13
+ "name" : "encoder_hidden_states",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "modelParameters" : [
18
+
19
+ ],
20
+ "specificationVersion" : 7,
21
+ "mlProgramOperationTypeHistogram" : {
22
+ "Ios16.rsqrt" : 49,
23
+ "Ios16.mul" : 171,
24
+ "Transpose" : 1,
25
+ "Ios16.conv" : 168,
26
+ "Ios16.add" : 145,
27
+ "Ios16.reduceMean" : 49,
28
+ "Ios16.matmul" : 48,
29
+ "Ios16.clip" : 49,
30
+ "Ios16.gelu" : 24,
31
+ "ExpandDims" : 3,
32
+ "Ios16.gather" : 1,
33
+ "Ios16.softmax" : 24,
34
+ "Ios16.reshape" : 96
35
+ },
36
+ "computePrecision" : "Mixed (Float16, Int32)",
37
+ "isUpdatable" : "0",
38
+ "availability" : {
39
+ "macOS" : "13.0",
40
+ "tvOS" : "16.0",
41
+ "visionOS" : "1.0",
42
+ "watchOS" : "9.0",
43
+ "iOS" : "16.0",
44
+ "macCatalyst" : "16.0"
45
+ },
46
+ "modelType" : {
47
+ "name" : "MLModelType_mlProgram"
48
+ },
49
+ "userDefinedMetadata" : {
50
+ "com.github.apple.coremltools.source_dialect" : "TorchScript",
51
+ "com.github.apple.coremltools.source" : "torch==2.2.1",
52
+ "com.github.apple.coremltools.version" : "7.1"
53
+ },
54
+ "inputSchema" : [
55
+ {
56
+ "hasShapeFlexibility" : "0",
57
+ "isOptional" : "0",
58
+ "dataType" : "Int32",
59
+ "formattedType" : "MultiArray (Int32 1 × 77)",
60
+ "shortDescription" : "",
61
+ "shape" : "[1, 77]",
62
+ "name" : "input_ids",
63
+ "type" : "MultiArray"
64
+ },
65
+ {
66
+ "hasShapeFlexibility" : "0",
67
+ "isOptional" : "0",
68
+ "dataType" : "Float16",
69
+ "formattedType" : "MultiArray (Float16 1 × 77)",
70
+ "shortDescription" : "",
71
+ "shape" : "[1, 77]",
72
+ "name" : "attention_mask",
73
+ "type" : "MultiArray"
74
+ }
75
+ ],
76
+ "generatedClassName" : "T5Encoder_maxSeqLen77",
77
+ "method" : "predict"
78
+ }
79
+ ]
TextEncoderT5.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
TextEncoderT5.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31de12bb2612db581d39fe60cc302c64c3c6bdaf82493dcad19a7f3b5d9c9c84
3
+ size 9525419008