finnvoorhees commited on
Commit
f0540d3
·
1 Parent(s): dbae32f

Add quantized models

Browse files
ModernBERT-base-4bit.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a92e9ca48ff235d69963aae1243cc46012dfafac748c1a28e548c5a43cb032c
3
+ size 278858
ModernBERT-base-4bit.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:b3a5666be7f1e8b97958b772c387beecb0dca963c02b63b7175a1dc91cb06a65
3
+ size 84325376
ModernBERT-base-4bit.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "9BD93E54-BA9D-470F-B2B6-0C4E6EF68B69": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "9EE76E38-2157-40A9-B3E0-1974022135F2": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "9BD93E54-BA9D-470F-B2B6-0C4E6EF68B69"
18
+ }
ModernBERT-base.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json DELETED
@@ -1,21 +0,0 @@
1
- {
2
- "Inputs" : {
3
- "attention_mask" : {
4
- "MLFeatureShortDescription" : "--"
5
- },
6
- "input_ids" : {
7
- "MLFeatureShortDescription" : "--"
8
- }
9
- },
10
- "Outputs" : {
11
- "logits" : {
12
- "MLFeatureShortDescription" : "--"
13
- }
14
- },
15
- "TrainingInputs" : {
16
-
17
- },
18
- "States" : {
19
-
20
- }
21
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ModernBERT-base.mlpackage/Data/com.apple.CoreML/Metadata.json DELETED
@@ -1,11 +0,0 @@
1
- {
2
- "MLModelVersionStringKey" : "--",
3
- "MLModelDescriptionKey" : "ModernBERT is a modernized bidirectional encoder-only Transformer model (BERT-style) pre-trained on 2 trillion tokens of English and code data with a native context length of up to 8,192 tokens.\n\nhttps:\/\/huggingface.co\/answerdotai\/ModernBERT-base",
4
- "MLModelCreatorDefinedKey" : {
5
- "com.github.apple.coremltools.source_dialect" : "TorchScript",
6
- "com.github.apple.coremltools.source" : "torch==2.5.1",
7
- "com.github.apple.coremltools.version" : "8.1"
8
- },
9
- "MLModelAuthorKey" : "Answer.AI",
10
- "MLModelLicenseKey" : "Apache license 2.0"
11
- }
 
 
 
 
 
 
 
 
 
 
 
 
ModernBERT-base.mlpackage/Data/com.apple.CoreML/model.mlmodel CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ebcc912b77e91056515709e659752d132ad97e78e2e4a6032bee1aec80fedf90
3
- size 266649
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:769355987eb544d7ce0e25260e07dcc407b42a7044aa08835e3d434019b6629d
3
+ size 266877
ModernBERT-base.mlpackage/Manifest.json CHANGED
@@ -1,30 +1,18 @@
1
  {
2
  "fileFormatVersion": "1.0.0",
3
  "itemInfoEntries": {
4
- "06E6264F-CB31-4D71-A23C-A3D3689A565C": {
5
  "author": "com.apple.CoreML",
6
  "description": "CoreML Model Weights",
7
  "name": "weights",
8
  "path": "com.apple.CoreML/weights"
9
  },
10
- "5510B1F0-2CBA-49A0-B455-0C475F598606": {
11
- "author": "com.apple.CoreML",
12
- "description": "External FeatureDescription Overlay",
13
- "name": "FeatureDescriptions.json",
14
- "path": "com.apple.CoreML/FeatureDescriptions.json"
15
- },
16
- "90F77D61-5B31-4442-BA5D-CFF0227A04B1": {
17
  "author": "com.apple.CoreML",
18
  "description": "CoreML Model Specification",
19
  "name": "model.mlmodel",
20
  "path": "com.apple.CoreML/model.mlmodel"
21
- },
22
- "F4E8C7BD-D5AA-4A9E-B724-C70CE42D4C48": {
23
- "author": "com.apple.CoreML",
24
- "description": "External Metadata Overlay",
25
- "name": "Metadata.json",
26
- "path": "com.apple.CoreML/Metadata.json"
27
  }
28
  },
29
- "rootModelIdentifier": "90F77D61-5B31-4442-BA5D-CFF0227A04B1"
30
  }
 
1
  {
2
  "fileFormatVersion": "1.0.0",
3
  "itemInfoEntries": {
4
+ "5DE8F5DD-BC7D-4275-90A0-85F8F3B565E9": {
5
  "author": "com.apple.CoreML",
6
  "description": "CoreML Model Weights",
7
  "name": "weights",
8
  "path": "com.apple.CoreML/weights"
9
  },
10
+ "6B85C700-26D7-47DD-9768-DA523F859464": {
 
 
 
 
 
 
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": "6B85C700-26D7-47DD-9768-DA523F859464"
18
  }
ModernBERT-large-4bit.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc436ae7fd0bc2824bd12f0c0049db5d15234510d9ec73b78fa441d440b455ac
3
+ size 350781
ModernBERT-large-4bit.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:8199fdbc40912c1226b1f153a179b92e5d7eb3e5e2ddc74f684fdc1a67c33913
3
+ size 222878784
ModernBERT-large-4bit.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "69217F75-A051-4A83-B7B8-3F3A04468AD6": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "D932257A-B814-45A2-B0A2-9CD3B727AF75": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "69217F75-A051-4A83-B7B8-3F3A04468AD6"
18
+ }
ModernBERT-large.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json DELETED
@@ -1,21 +0,0 @@
1
- {
2
- "Inputs" : {
3
- "attention_mask" : {
4
- "MLFeatureShortDescription" : ""
5
- },
6
- "input_ids" : {
7
- "MLFeatureShortDescription" : ""
8
- }
9
- },
10
- "Outputs" : {
11
- "logits" : {
12
- "MLFeatureShortDescription" : ""
13
- }
14
- },
15
- "TrainingInputs" : {
16
-
17
- },
18
- "States" : {
19
-
20
- }
21
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ModernBERT-large.mlpackage/Data/com.apple.CoreML/Metadata.json DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "MLModelDescriptionKey" : "ModernBERT is a modernized bidirectional encoder-only Transformer model (BERT-style) pre-trained on 2 trillion tokens of English and code data with a native context length of up to 8,192 tokens.\n\nhttps:\/\/huggingface.co\/answerdotai\/ModernBERT-large",
3
- "MLModelCreatorDefinedKey" : {
4
- "com.github.apple.coremltools.source_dialect" : "TorchScript",
5
- "com.github.apple.coremltools.version" : "8.1",
6
- "com.github.apple.coremltools.source" : "torch==2.5.1"
7
- },
8
- "MLModelAuthorKey" : "Answer.AI",
9
- "MLModelLicenseKey" : "Apache license 2.0"
10
- }
 
 
 
 
 
 
 
 
 
 
 
ModernBERT-large.mlpackage/Data/com.apple.CoreML/model.mlmodel CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9cf60aa2e976e2c594e83db8f8ba42ecf9cc9f14348b4221347b7df6f612a8bd
3
- size 335419
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab69e9172a16cb1a6ed2efd5557c957446df8b6db7bc7cbfd83be23635ba71f6
3
+ size 335647
ModernBERT-large.mlpackage/Manifest.json CHANGED
@@ -1,30 +1,18 @@
1
  {
2
  "fileFormatVersion": "1.0.0",
3
  "itemInfoEntries": {
4
- "0B8AE6F6-1317-4127-8BD5-2AB46EC557CE": {
5
- "author": "com.apple.CoreML",
6
- "description": "External Metadata Overlay",
7
- "name": "Metadata.json",
8
- "path": "com.apple.CoreML/Metadata.json"
9
- },
10
- "3D71FBFB-60F3-48A0-8F1B-8550A02403E1": {
11
  "author": "com.apple.CoreML",
12
  "description": "CoreML Model Specification",
13
  "name": "model.mlmodel",
14
  "path": "com.apple.CoreML/model.mlmodel"
15
  },
16
- "56305CCC-0DD8-43A2-8834-124ACA88424A": {
17
- "author": "com.apple.CoreML",
18
- "description": "External FeatureDescription Overlay",
19
- "name": "FeatureDescriptions.json",
20
- "path": "com.apple.CoreML/FeatureDescriptions.json"
21
- },
22
- "75F45B20-DDAB-400A-8F8E-87D2E0A4DFB6": {
23
  "author": "com.apple.CoreML",
24
  "description": "CoreML Model Weights",
25
  "name": "weights",
26
  "path": "com.apple.CoreML/weights"
27
  }
28
  },
29
- "rootModelIdentifier": "3D71FBFB-60F3-48A0-8F1B-8550A02403E1"
30
  }
 
1
  {
2
  "fileFormatVersion": "1.0.0",
3
  "itemInfoEntries": {
4
+ "D1999926-212D-4488-9717-A26B486AE1EE": {
 
 
 
 
 
 
5
  "author": "com.apple.CoreML",
6
  "description": "CoreML Model Specification",
7
  "name": "model.mlmodel",
8
  "path": "com.apple.CoreML/model.mlmodel"
9
  },
10
+ "E3431F6D-5367-47DA-8179-3E46922823A0": {
 
 
 
 
 
 
11
  "author": "com.apple.CoreML",
12
  "description": "CoreML Model Weights",
13
  "name": "weights",
14
  "path": "com.apple.CoreML/weights"
15
  }
16
  },
17
+ "rootModelIdentifier": "D1999926-212D-4488-9717-A26B486AE1EE"
18
  }
README.md CHANGED
@@ -2,6 +2,10 @@
2
  license: apache-2.0
3
  language:
4
  - en
 
 
 
 
5
  tags:
6
  - fill-mask
7
  - masked-lm
 
2
  license: apache-2.0
3
  language:
4
  - en
5
+ base_model:
6
+ - answerdotai/ModernBERT-base
7
+ - answerdotai/ModernBERT-large
8
+ base_model_relation: quantized
9
  tags:
10
  - fill-mask
11
  - masked-lm