Upload folder using huggingface_hub
Browse files- .DS_Store +0 -0
- Model.mlmodelc/analytics/coremldata.bin +3 -0
- Model.mlmodelc/coremldata.bin +3 -0
- Model.mlmodelc/metadata.json +92 -0
- Model.mlmodelc/model.mil +0 -0
- Model.mlmodelc/weights/weight.bin +3 -0
- outTokens.txt +47 -0
- vocab.txt +0 -0
.DS_Store
ADDED
|
Binary file (6.15 kB). View file
|
|
|
Model.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:da83adf323e1737454e13c4d1fe19046a6c87b10bf0cb9f2eaafb71d55dc1d8b
|
| 3 |
+
size 243
|
Model.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d967a48e1db1b46e735992259e33078a4b5d41611f8b67472c85687b6f93d2d4
|
| 3 |
+
size 1120
|
Model.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"metadataOutputVersion" : "3.0",
|
| 4 |
+
"shortDescription" : "Tahsin\/BERT-finetuned-conll2003-POS (token-classification)",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Float32",
|
| 10 |
+
"formattedType" : "MultiArray (Float32 1 × 128 × 47)",
|
| 11 |
+
"shortDescription" : "Classification scores for each vocabulary token (after softmax)",
|
| 12 |
+
"shape" : "[1, 128, 47]",
|
| 13 |
+
"name" : "token_scores",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"storagePrecision" : "Float16",
|
| 18 |
+
"modelParameters" : [
|
| 19 |
+
|
| 20 |
+
],
|
| 21 |
+
"specificationVersion" : 6,
|
| 22 |
+
"mlProgramOperationTypeHistogram" : {
|
| 23 |
+
"Select" : 1,
|
| 24 |
+
"Linear" : 73,
|
| 25 |
+
"LayerNorm" : 25,
|
| 26 |
+
"Transpose" : 48,
|
| 27 |
+
"Sub" : 1,
|
| 28 |
+
"Matmul" : 24,
|
| 29 |
+
"Gelu" : 12,
|
| 30 |
+
"Softmax" : 13,
|
| 31 |
+
"Mul" : 12,
|
| 32 |
+
"Tile" : 1,
|
| 33 |
+
"Cast" : 3,
|
| 34 |
+
"Add" : 38,
|
| 35 |
+
"ExpandDims" : 2,
|
| 36 |
+
"Reshape" : 48,
|
| 37 |
+
"Gather" : 1
|
| 38 |
+
},
|
| 39 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
| 40 |
+
"isUpdatable" : "0",
|
| 41 |
+
"stateSchema" : [
|
| 42 |
+
|
| 43 |
+
],
|
| 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" : "Indices of input sequence tokens in the vocabulary",
|
| 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" : "Mask to avoid performing attention on padding token indices (1 = not masked, 0 = masked)",
|
| 72 |
+
"shape" : "[1, 128]",
|
| 73 |
+
"name" : "attention_mask",
|
| 74 |
+
"type" : "MultiArray"
|
| 75 |
+
}
|
| 76 |
+
],
|
| 77 |
+
"userDefinedMetadata" : {
|
| 78 |
+
"com.github.apple.coremltools.source" : "torch==2.7.1",
|
| 79 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
| 80 |
+
"transformers_version" : "4.15.0",
|
| 81 |
+
"co.huggingface.exporters.precision" : "float16",
|
| 82 |
+
"com.github.apple.coremltools.version" : "8.3.0",
|
| 83 |
+
"classes" : "\",'',#,$,(,),,,.,:,``,CC,CD,DT,EX,FW,IN,JJ,JJR,JJS,LS,MD,NN,NNP,NNPS,NNS,NN|SYM,PDT,POS,PRP,PRP$,RB,RBR,RBS,RP,SYM,TO,UH,VB,VBD,VBG,VBN,VBP,VBZ,WDT,WP,WP$,WRB",
|
| 84 |
+
"co.huggingface.exporters.name" : "Tahsin\/BERT-finetuned-conll2003-POS",
|
| 85 |
+
"co.huggingface.exporters.framework" : "pytorch",
|
| 86 |
+
"co.huggingface.exporters.architecture" : "BertForTokenClassification",
|
| 87 |
+
"co.huggingface.exporters.task" : "token-classification"
|
| 88 |
+
},
|
| 89 |
+
"generatedClassName" : "Model",
|
| 90 |
+
"method" : "predict"
|
| 91 |
+
}
|
| 92 |
+
]
|
Model.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Model.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:24a50b79b7d422b64ea5742bc428c1c26e61b8e9276c2e3c004c7a18bc5053db
|
| 3 |
+
size 215128158
|
outTokens.txt
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"
|
| 2 |
+
''
|
| 3 |
+
#
|
| 4 |
+
$
|
| 5 |
+
(
|
| 6 |
+
)
|
| 7 |
+
,
|
| 8 |
+
.
|
| 9 |
+
:
|
| 10 |
+
``
|
| 11 |
+
CC
|
| 12 |
+
CD
|
| 13 |
+
DT
|
| 14 |
+
EX
|
| 15 |
+
FW
|
| 16 |
+
IN
|
| 17 |
+
JJ
|
| 18 |
+
JJR
|
| 19 |
+
JJS
|
| 20 |
+
LS
|
| 21 |
+
MD
|
| 22 |
+
NN
|
| 23 |
+
NNP
|
| 24 |
+
NNPS
|
| 25 |
+
NNS
|
| 26 |
+
NN|SYM
|
| 27 |
+
PDT
|
| 28 |
+
POS
|
| 29 |
+
PRP
|
| 30 |
+
PRP$
|
| 31 |
+
RB
|
| 32 |
+
RBR
|
| 33 |
+
RBS
|
| 34 |
+
RP
|
| 35 |
+
SYM
|
| 36 |
+
TO
|
| 37 |
+
UH
|
| 38 |
+
VB
|
| 39 |
+
VBD
|
| 40 |
+
VBG
|
| 41 |
+
VBN
|
| 42 |
+
VBP
|
| 43 |
+
VBZ
|
| 44 |
+
WDT
|
| 45 |
+
WP
|
| 46 |
+
WP$
|
| 47 |
+
WRB
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|