Add macos-compiled nllb200-coreml-1024-pal8
Browse files- .gitattributes +1 -0
- NLLB_Decoder_1024_init.mlmodelc/analytics/coremldata.bin +3 -0
- NLLB_Decoder_1024_init.mlmodelc/coremldata.bin +3 -0
- NLLB_Decoder_1024_init.mlmodelc/metadata.json +149 -0
- NLLB_Decoder_1024_init.mlmodelc/model.mil +0 -0
- NLLB_Decoder_1024_init.mlmodelc/weights/weight.bin +3 -0
- NLLB_Decoder_1024_init.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- NLLB_Decoder_1024_init.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- NLLB_Decoder_1024_init.mlpackage/Manifest.json +18 -0
- NLLB_Decoder_1024_step.mlmodelc/analytics/coremldata.bin +3 -0
- NLLB_Decoder_1024_step.mlmodelc/coremldata.bin +3 -0
- NLLB_Decoder_1024_step.mlmodelc/metadata.json +203 -0
- NLLB_Decoder_1024_step.mlmodelc/model.mil +0 -0
- NLLB_Decoder_1024_step.mlmodelc/weights/weight.bin +3 -0
- NLLB_Decoder_1024_step.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- NLLB_Decoder_1024_step.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- NLLB_Decoder_1024_step.mlpackage/Manifest.json +18 -0
- NLLB_Encoder_1024.mlmodelc/analytics/coremldata.bin +3 -0
- NLLB_Encoder_1024.mlmodelc/coremldata.bin +3 -0
- NLLB_Encoder_1024.mlmodelc/metadata.json +97 -0
- NLLB_Encoder_1024.mlmodelc/model.mil +0 -0
- NLLB_Encoder_1024.mlmodelc/weights/weight.bin +3 -0
- NLLB_Encoder_1024.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- NLLB_Encoder_1024.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- NLLB_Encoder_1024.mlpackage/Manifest.json +18 -0
- compile_manifest.json +6 -0
- config.json +34 -0
- tokenizer/special_tokens_map.json +219 -0
- tokenizer/tokenizer.json +3 -0
- tokenizer/tokenizer_config.json +24 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
NLLB_Decoder_1024_init.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0c96dbe8a0cecdb31c5cafbf100bcba68093a05bd2c85345511707ac25f9438
|
| 3 |
+
size 243
|
NLLB_Decoder_1024_init.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:24d82a8892a78efb3f77f9c172e7be856f82d18bec6c7b1db6016e0440f074d1
|
| 3 |
+
size 612
|
NLLB_Decoder_1024_init.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"metadataOutputVersion" : "3.0",
|
| 4 |
+
"storagePrecision" : "Mixed (Float32, Palettized (8 bits))",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Float32",
|
| 10 |
+
"formattedType" : "MultiArray (Float32 1 × 1 × 256206)",
|
| 11 |
+
"shortDescription" : "",
|
| 12 |
+
"shape" : "[1, 1, 256206]",
|
| 13 |
+
"name" : "logits",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"hasShapeFlexibility" : "0",
|
| 18 |
+
"isOptional" : "0",
|
| 19 |
+
"dataType" : "Float32",
|
| 20 |
+
"formattedType" : "MultiArray (Float32 12 × 1 × 16 × 2 × 64)",
|
| 21 |
+
"shortDescription" : "",
|
| 22 |
+
"shape" : "[12, 1, 16, 2, 64]",
|
| 23 |
+
"name" : "past_self_key",
|
| 24 |
+
"type" : "MultiArray"
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"hasShapeFlexibility" : "0",
|
| 28 |
+
"isOptional" : "0",
|
| 29 |
+
"dataType" : "Float32",
|
| 30 |
+
"formattedType" : "MultiArray (Float32 12 × 1 × 16 × 2 × 64)",
|
| 31 |
+
"shortDescription" : "",
|
| 32 |
+
"shape" : "[12, 1, 16, 2, 64]",
|
| 33 |
+
"name" : "past_self_value",
|
| 34 |
+
"type" : "MultiArray"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"hasShapeFlexibility" : "0",
|
| 38 |
+
"isOptional" : "0",
|
| 39 |
+
"dataType" : "Float32",
|
| 40 |
+
"formattedType" : "MultiArray (Float32)",
|
| 41 |
+
"shortDescription" : "",
|
| 42 |
+
"shape" : "[]",
|
| 43 |
+
"name" : "past_cross_key",
|
| 44 |
+
"type" : "MultiArray"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"hasShapeFlexibility" : "0",
|
| 48 |
+
"isOptional" : "0",
|
| 49 |
+
"dataType" : "Float32",
|
| 50 |
+
"formattedType" : "MultiArray (Float32)",
|
| 51 |
+
"shortDescription" : "",
|
| 52 |
+
"shape" : "[]",
|
| 53 |
+
"name" : "past_cross_value",
|
| 54 |
+
"type" : "MultiArray"
|
| 55 |
+
}
|
| 56 |
+
],
|
| 57 |
+
"modelParameters" : [
|
| 58 |
+
|
| 59 |
+
],
|
| 60 |
+
"specificationVersion" : 7,
|
| 61 |
+
"mlProgramOperationTypeHistogram" : {
|
| 62 |
+
"Transpose" : 108,
|
| 63 |
+
"Ios16.gather" : 15,
|
| 64 |
+
"Ios16.softmax" : 24,
|
| 65 |
+
"Ios16.notEqual" : 1,
|
| 66 |
+
"Ios16.linear" : 121,
|
| 67 |
+
"Select" : 2,
|
| 68 |
+
"Concat" : 61,
|
| 69 |
+
"Ios16.realDiv" : 1,
|
| 70 |
+
"Ios16.add" : 62,
|
| 71 |
+
"Tile" : 1,
|
| 72 |
+
"Shape" : 14,
|
| 73 |
+
"ExpandDims" : 2,
|
| 74 |
+
"Ios16.sub" : 1,
|
| 75 |
+
"Ios16.cast" : 3,
|
| 76 |
+
"Ios16.reshape" : 99,
|
| 77 |
+
"Ios16.constexprLutToDense" : 122,
|
| 78 |
+
"Ios16.matmul" : 48,
|
| 79 |
+
"Ios16.layerNorm" : 37,
|
| 80 |
+
"Ios16.scatter" : 1,
|
| 81 |
+
"SliceByIndex" : 13,
|
| 82 |
+
"Ios16.equal" : 1,
|
| 83 |
+
"Ios16.relu" : 12,
|
| 84 |
+
"Stack" : 4,
|
| 85 |
+
"Ios16.mul" : 26,
|
| 86 |
+
"Ios16.cumsum" : 1
|
| 87 |
+
},
|
| 88 |
+
"computePrecision" : "Mixed (Float32, Int32)",
|
| 89 |
+
"isUpdatable" : "0",
|
| 90 |
+
"stateSchema" : [
|
| 91 |
+
|
| 92 |
+
],
|
| 93 |
+
"availability" : {
|
| 94 |
+
"macOS" : "13.0",
|
| 95 |
+
"tvOS" : "16.0",
|
| 96 |
+
"visionOS" : "1.0",
|
| 97 |
+
"watchOS" : "9.0",
|
| 98 |
+
"iOS" : "16.0",
|
| 99 |
+
"macCatalyst" : "16.0"
|
| 100 |
+
},
|
| 101 |
+
"modelType" : {
|
| 102 |
+
"name" : "MLModelType_mlProgram"
|
| 103 |
+
},
|
| 104 |
+
"userDefinedMetadata" : {
|
| 105 |
+
"com.github.apple.coremltools.conversion_date" : "2026-03-21",
|
| 106 |
+
"com.github.apple.coremltools.source" : "torch==2.8.0",
|
| 107 |
+
"com.github.apple.coremltools.version" : "9.0",
|
| 108 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript"
|
| 109 |
+
},
|
| 110 |
+
"inputSchema" : [
|
| 111 |
+
{
|
| 112 |
+
"hasShapeFlexibility" : "0",
|
| 113 |
+
"isOptional" : "0",
|
| 114 |
+
"dataType" : "Int32",
|
| 115 |
+
"formattedType" : "MultiArray (Int32 1 × 2)",
|
| 116 |
+
"shortDescription" : "",
|
| 117 |
+
"shape" : "[1, 2]",
|
| 118 |
+
"name" : "input_ids",
|
| 119 |
+
"type" : "MultiArray"
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"dataType" : "Float32",
|
| 123 |
+
"hasShapeFlexibility" : "1",
|
| 124 |
+
"isOptional" : "0",
|
| 125 |
+
"shapeFlexibility" : "1 × 1...1024 × 1024",
|
| 126 |
+
"shapeRange" : "[[1, 1], [1, 1024], [1024, 1024]]",
|
| 127 |
+
"formattedType" : "MultiArray (Float32 1 × 1 × 1024)",
|
| 128 |
+
"type" : "MultiArray",
|
| 129 |
+
"shape" : "[1, 1, 1024]",
|
| 130 |
+
"name" : "encoder_hidden_states",
|
| 131 |
+
"shortDescription" : ""
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"dataType" : "Int32",
|
| 135 |
+
"hasShapeFlexibility" : "1",
|
| 136 |
+
"isOptional" : "0",
|
| 137 |
+
"shapeFlexibility" : "1 × 1...1024",
|
| 138 |
+
"shapeRange" : "[[1, 1], [1, 1024]]",
|
| 139 |
+
"formattedType" : "MultiArray (Int32 1 × 1)",
|
| 140 |
+
"type" : "MultiArray",
|
| 141 |
+
"shape" : "[1, 1]",
|
| 142 |
+
"name" : "encoder_attention_mask",
|
| 143 |
+
"shortDescription" : ""
|
| 144 |
+
}
|
| 145 |
+
],
|
| 146 |
+
"generatedClassName" : "NLLB_Decoder_1024_init",
|
| 147 |
+
"method" : "predict"
|
| 148 |
+
}
|
| 149 |
+
]
|
NLLB_Decoder_1024_init.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
NLLB_Decoder_1024_init.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f319e9e14fdf2af002caecefd129ce574858479ef4dc9cf32eb748216d2255db
|
| 3 |
+
size 466841272
|
NLLB_Decoder_1024_init.mlpackage/Data/com.apple.CoreML/model.mlmodel
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:993fe363d9d4bad4166d3bd49076ddc6ebccb8d2742841fa7a5ccf6af785997b
|
| 3 |
+
size 262443
|
NLLB_Decoder_1024_init.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:f319e9e14fdf2af002caecefd129ce574858479ef4dc9cf32eb748216d2255db
|
| 3 |
+
size 466841272
|
NLLB_Decoder_1024_init.mlpackage/Manifest.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"fileFormatVersion": "1.0.0",
|
| 3 |
+
"itemInfoEntries": {
|
| 4 |
+
"441AEC4E-5E70-4EF4-83B5-BAC3C87E4E4D": {
|
| 5 |
+
"author": "com.apple.CoreML",
|
| 6 |
+
"description": "CoreML Model Specification",
|
| 7 |
+
"name": "model.mlmodel",
|
| 8 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
| 9 |
+
},
|
| 10 |
+
"A04CE092-A3B3-4D95-BCF9-03DC37F2B358": {
|
| 11 |
+
"author": "com.apple.CoreML",
|
| 12 |
+
"description": "CoreML Model Weights",
|
| 13 |
+
"name": "weights",
|
| 14 |
+
"path": "com.apple.CoreML/weights"
|
| 15 |
+
}
|
| 16 |
+
},
|
| 17 |
+
"rootModelIdentifier": "441AEC4E-5E70-4EF4-83B5-BAC3C87E4E4D"
|
| 18 |
+
}
|
NLLB_Decoder_1024_step.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2ce005dd785e954ff890fad20c69e58c9ac41df7243b900bd81ba552361fdd7f
|
| 3 |
+
size 243
|
NLLB_Decoder_1024_step.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75a5f06a3cb53da18eb56b563321985346b438c2d4458c659d27acd1f7223b6c
|
| 3 |
+
size 884
|
NLLB_Decoder_1024_step.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"metadataOutputVersion" : "3.0",
|
| 4 |
+
"storagePrecision" : "Mixed (Float32, Palettized (8 bits))",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Float32",
|
| 10 |
+
"formattedType" : "MultiArray (Float32 1 × 1 × 256206)",
|
| 11 |
+
"shortDescription" : "",
|
| 12 |
+
"shape" : "[1, 1, 256206]",
|
| 13 |
+
"name" : "logits",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"hasShapeFlexibility" : "0",
|
| 18 |
+
"isOptional" : "0",
|
| 19 |
+
"dataType" : "Float32",
|
| 20 |
+
"formattedType" : "MultiArray (Float32)",
|
| 21 |
+
"shortDescription" : "",
|
| 22 |
+
"shape" : "[]",
|
| 23 |
+
"name" : "new_past_self_key",
|
| 24 |
+
"type" : "MultiArray"
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"hasShapeFlexibility" : "0",
|
| 28 |
+
"isOptional" : "0",
|
| 29 |
+
"dataType" : "Float32",
|
| 30 |
+
"formattedType" : "MultiArray (Float32)",
|
| 31 |
+
"shortDescription" : "",
|
| 32 |
+
"shape" : "[]",
|
| 33 |
+
"name" : "new_past_self_value",
|
| 34 |
+
"type" : "MultiArray"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"hasShapeFlexibility" : "0",
|
| 38 |
+
"isOptional" : "0",
|
| 39 |
+
"dataType" : "Float32",
|
| 40 |
+
"formattedType" : "MultiArray (Float32)",
|
| 41 |
+
"shortDescription" : "",
|
| 42 |
+
"shape" : "[]",
|
| 43 |
+
"name" : "new_past_cross_key",
|
| 44 |
+
"type" : "MultiArray"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"hasShapeFlexibility" : "0",
|
| 48 |
+
"isOptional" : "0",
|
| 49 |
+
"dataType" : "Float32",
|
| 50 |
+
"formattedType" : "MultiArray (Float32)",
|
| 51 |
+
"shortDescription" : "",
|
| 52 |
+
"shape" : "[]",
|
| 53 |
+
"name" : "new_past_cross_value",
|
| 54 |
+
"type" : "MultiArray"
|
| 55 |
+
}
|
| 56 |
+
],
|
| 57 |
+
"modelParameters" : [
|
| 58 |
+
|
| 59 |
+
],
|
| 60 |
+
"specificationVersion" : 7,
|
| 61 |
+
"mlProgramOperationTypeHistogram" : {
|
| 62 |
+
"Transpose" : 72,
|
| 63 |
+
"Range1d" : 3,
|
| 64 |
+
"Fill" : 2,
|
| 65 |
+
"Squeeze" : 1,
|
| 66 |
+
"Ios16.gather" : 29,
|
| 67 |
+
"Identity" : 1,
|
| 68 |
+
"Ios16.softmax" : 24,
|
| 69 |
+
"Ios16.notEqual" : 1,
|
| 70 |
+
"Ios16.reduceProd" : 1,
|
| 71 |
+
"Ios16.linear" : 97,
|
| 72 |
+
"Select" : 4,
|
| 73 |
+
"Concat" : 101,
|
| 74 |
+
"Ios16.add" : 65,
|
| 75 |
+
"Ios16.realDiv" : 2,
|
| 76 |
+
"Tile" : 2,
|
| 77 |
+
"Ios16.greater" : 1,
|
| 78 |
+
"Shape" : 30,
|
| 79 |
+
"ExpandDims" : 7,
|
| 80 |
+
"Ios16.sub" : 1,
|
| 81 |
+
"Ios16.cast" : 8,
|
| 82 |
+
"Ios16.reshape" : 80,
|
| 83 |
+
"Ios16.constexprLutToDense" : 98,
|
| 84 |
+
"Ios16.matmul" : 48,
|
| 85 |
+
"SliceByIndex" : 74,
|
| 86 |
+
"Ios16.scatter" : 1,
|
| 87 |
+
"Ios16.layerNorm" : 37,
|
| 88 |
+
"Ios16.equal" : 2,
|
| 89 |
+
"Ios16.relu" : 12,
|
| 90 |
+
"Stack" : 4,
|
| 91 |
+
"Ios16.mul" : 27,
|
| 92 |
+
"Ios16.cumsum" : 1
|
| 93 |
+
},
|
| 94 |
+
"computePrecision" : "Mixed (Float32, Int32)",
|
| 95 |
+
"isUpdatable" : "0",
|
| 96 |
+
"stateSchema" : [
|
| 97 |
+
|
| 98 |
+
],
|
| 99 |
+
"availability" : {
|
| 100 |
+
"macOS" : "13.0",
|
| 101 |
+
"tvOS" : "16.0",
|
| 102 |
+
"visionOS" : "1.0",
|
| 103 |
+
"watchOS" : "9.0",
|
| 104 |
+
"iOS" : "16.0",
|
| 105 |
+
"macCatalyst" : "16.0"
|
| 106 |
+
},
|
| 107 |
+
"modelType" : {
|
| 108 |
+
"name" : "MLModelType_mlProgram"
|
| 109 |
+
},
|
| 110 |
+
"userDefinedMetadata" : {
|
| 111 |
+
"com.github.apple.coremltools.conversion_date" : "2026-03-21",
|
| 112 |
+
"com.github.apple.coremltools.source" : "torch==2.8.0",
|
| 113 |
+
"com.github.apple.coremltools.version" : "9.0",
|
| 114 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript"
|
| 115 |
+
},
|
| 116 |
+
"inputSchema" : [
|
| 117 |
+
{
|
| 118 |
+
"hasShapeFlexibility" : "0",
|
| 119 |
+
"isOptional" : "0",
|
| 120 |
+
"dataType" : "Int32",
|
| 121 |
+
"formattedType" : "MultiArray (Int32 1 × 1)",
|
| 122 |
+
"shortDescription" : "",
|
| 123 |
+
"shape" : "[1, 1]",
|
| 124 |
+
"name" : "input_ids",
|
| 125 |
+
"type" : "MultiArray"
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"dataType" : "Float32",
|
| 129 |
+
"hasShapeFlexibility" : "1",
|
| 130 |
+
"isOptional" : "0",
|
| 131 |
+
"shapeFlexibility" : "1 × 1...1024 × 1024",
|
| 132 |
+
"shapeRange" : "[[1, 1], [1, 1024], [1024, 1024]]",
|
| 133 |
+
"formattedType" : "MultiArray (Float32 1 × 1 × 1024)",
|
| 134 |
+
"type" : "MultiArray",
|
| 135 |
+
"shape" : "[1, 1, 1024]",
|
| 136 |
+
"name" : "encoder_hidden_states",
|
| 137 |
+
"shortDescription" : ""
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"dataType" : "Int32",
|
| 141 |
+
"hasShapeFlexibility" : "1",
|
| 142 |
+
"isOptional" : "0",
|
| 143 |
+
"shapeFlexibility" : "1 × 1...1024",
|
| 144 |
+
"shapeRange" : "[[1, 1], [1, 1024]]",
|
| 145 |
+
"formattedType" : "MultiArray (Int32 1 × 1)",
|
| 146 |
+
"type" : "MultiArray",
|
| 147 |
+
"shape" : "[1, 1]",
|
| 148 |
+
"name" : "encoder_attention_mask",
|
| 149 |
+
"shortDescription" : ""
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"dataType" : "Float16",
|
| 153 |
+
"hasShapeFlexibility" : "1",
|
| 154 |
+
"isOptional" : "0",
|
| 155 |
+
"shapeFlexibility" : "12 × 1 × 16 × 1...1023 × 64",
|
| 156 |
+
"shapeRange" : "[[12, 12], [1, 1], [16, 16], [1, 1023], [64, 64]]",
|
| 157 |
+
"formattedType" : "MultiArray (Float16 12 × 1 × 16 × 1 × 64)",
|
| 158 |
+
"type" : "MultiArray",
|
| 159 |
+
"shape" : "[12, 1, 16, 1, 64]",
|
| 160 |
+
"name" : "past_self_key",
|
| 161 |
+
"shortDescription" : ""
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"dataType" : "Float16",
|
| 165 |
+
"hasShapeFlexibility" : "1",
|
| 166 |
+
"isOptional" : "0",
|
| 167 |
+
"shapeFlexibility" : "12 × 1 × 16 × 1...1023 × 64",
|
| 168 |
+
"shapeRange" : "[[12, 12], [1, 1], [16, 16], [1, 1023], [64, 64]]",
|
| 169 |
+
"formattedType" : "MultiArray (Float16 12 × 1 × 16 × 1 × 64)",
|
| 170 |
+
"type" : "MultiArray",
|
| 171 |
+
"shape" : "[12, 1, 16, 1, 64]",
|
| 172 |
+
"name" : "past_self_value",
|
| 173 |
+
"shortDescription" : ""
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"dataType" : "Float16",
|
| 177 |
+
"hasShapeFlexibility" : "1",
|
| 178 |
+
"isOptional" : "0",
|
| 179 |
+
"shapeFlexibility" : "12 × 1 × 16 × 1...1024 × 64",
|
| 180 |
+
"shapeRange" : "[[12, 12], [1, 1], [16, 16], [1, 1024], [64, 64]]",
|
| 181 |
+
"formattedType" : "MultiArray (Float16 12 × 1 × 16 × 1 × 64)",
|
| 182 |
+
"type" : "MultiArray",
|
| 183 |
+
"shape" : "[12, 1, 16, 1, 64]",
|
| 184 |
+
"name" : "past_cross_key",
|
| 185 |
+
"shortDescription" : ""
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"dataType" : "Float16",
|
| 189 |
+
"hasShapeFlexibility" : "1",
|
| 190 |
+
"isOptional" : "0",
|
| 191 |
+
"shapeFlexibility" : "12 × 1 × 16 × 1...1024 × 64",
|
| 192 |
+
"shapeRange" : "[[12, 12], [1, 1], [16, 16], [1, 1024], [64, 64]]",
|
| 193 |
+
"formattedType" : "MultiArray (Float16 12 × 1 × 16 × 1 × 64)",
|
| 194 |
+
"type" : "MultiArray",
|
| 195 |
+
"shape" : "[12, 1, 16, 1, 64]",
|
| 196 |
+
"name" : "past_cross_value",
|
| 197 |
+
"shortDescription" : ""
|
| 198 |
+
}
|
| 199 |
+
],
|
| 200 |
+
"generatedClassName" : "NLLB_Decoder_1024_step",
|
| 201 |
+
"method" : "predict"
|
| 202 |
+
}
|
| 203 |
+
]
|
NLLB_Decoder_1024_step.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
NLLB_Decoder_1024_step.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30b37f908f4582367f1cc74f0855c581c48c9ac4d7eaff84477be3748fca9552
|
| 3 |
+
size 441551224
|
NLLB_Decoder_1024_step.mlpackage/Data/com.apple.CoreML/model.mlmodel
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c2818949a1a23d77a0ff2154d697ed8a2116b30f71f166b0d1a2846df07e5114
|
| 3 |
+
size 310753
|
NLLB_Decoder_1024_step.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:30b37f908f4582367f1cc74f0855c581c48c9ac4d7eaff84477be3748fca9552
|
| 3 |
+
size 441551224
|
NLLB_Decoder_1024_step.mlpackage/Manifest.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"fileFormatVersion": "1.0.0",
|
| 3 |
+
"itemInfoEntries": {
|
| 4 |
+
"12B8EAA2-818B-4A54-AAF6-C52B23719E5C": {
|
| 5 |
+
"author": "com.apple.CoreML",
|
| 6 |
+
"description": "CoreML Model Specification",
|
| 7 |
+
"name": "model.mlmodel",
|
| 8 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
| 9 |
+
},
|
| 10 |
+
"CCE82042-A003-4DEE-AE36-953A43ACBE1F": {
|
| 11 |
+
"author": "com.apple.CoreML",
|
| 12 |
+
"description": "CoreML Model Weights",
|
| 13 |
+
"name": "weights",
|
| 14 |
+
"path": "com.apple.CoreML/weights"
|
| 15 |
+
}
|
| 16 |
+
},
|
| 17 |
+
"rootModelIdentifier": "12B8EAA2-818B-4A54-AAF6-C52B23719E5C"
|
| 18 |
+
}
|
NLLB_Encoder_1024.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:10eee3eae7855b8c0881cbdda2893f27adac766a9b8a4fd56e5f6ad6f466fa90
|
| 3 |
+
size 243
|
NLLB_Encoder_1024.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2baf76d88628699441e831df7c38dc56dcf59b36378095fc71923a84a872a125
|
| 3 |
+
size 430
|
NLLB_Encoder_1024.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"metadataOutputVersion" : "3.0",
|
| 4 |
+
"storagePrecision" : "Mixed (Float32, Palettized (8 bits))",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Float32",
|
| 10 |
+
"formattedType" : "MultiArray (Float32)",
|
| 11 |
+
"shortDescription" : "",
|
| 12 |
+
"shape" : "[]",
|
| 13 |
+
"name" : "output",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"modelParameters" : [
|
| 18 |
+
|
| 19 |
+
],
|
| 20 |
+
"specificationVersion" : 7,
|
| 21 |
+
"mlProgramOperationTypeHistogram" : {
|
| 22 |
+
"Transpose" : 48,
|
| 23 |
+
"Ios16.gather" : 27,
|
| 24 |
+
"Ios16.softmax" : 12,
|
| 25 |
+
"Ios16.notEqual" : 1,
|
| 26 |
+
"Ios16.linear" : 72,
|
| 27 |
+
"Select" : 2,
|
| 28 |
+
"Concat" : 25,
|
| 29 |
+
"Ios16.add" : 38,
|
| 30 |
+
"Ios16.realDiv" : 1,
|
| 31 |
+
"Tile" : 1,
|
| 32 |
+
"Shape" : 26,
|
| 33 |
+
"ExpandDims" : 2,
|
| 34 |
+
"Ios16.sub" : 1,
|
| 35 |
+
"Ios16.cast" : 3,
|
| 36 |
+
"Ios16.reshape" : 50,
|
| 37 |
+
"Ios16.constexprLutToDense" : 74,
|
| 38 |
+
"Ios16.matmul" : 24,
|
| 39 |
+
"Ios16.layerNorm" : 25,
|
| 40 |
+
"SliceByIndex" : 12,
|
| 41 |
+
"Ios16.relu" : 12,
|
| 42 |
+
"Ios16.equal" : 1,
|
| 43 |
+
"Ios16.mul" : 14,
|
| 44 |
+
"Ios16.cumsum" : 1
|
| 45 |
+
},
|
| 46 |
+
"computePrecision" : "Mixed (Float32, Int32)",
|
| 47 |
+
"isUpdatable" : "0",
|
| 48 |
+
"stateSchema" : [
|
| 49 |
+
|
| 50 |
+
],
|
| 51 |
+
"availability" : {
|
| 52 |
+
"macOS" : "13.0",
|
| 53 |
+
"tvOS" : "16.0",
|
| 54 |
+
"visionOS" : "1.0",
|
| 55 |
+
"watchOS" : "9.0",
|
| 56 |
+
"iOS" : "16.0",
|
| 57 |
+
"macCatalyst" : "16.0"
|
| 58 |
+
},
|
| 59 |
+
"modelType" : {
|
| 60 |
+
"name" : "MLModelType_mlProgram"
|
| 61 |
+
},
|
| 62 |
+
"userDefinedMetadata" : {
|
| 63 |
+
"com.github.apple.coremltools.conversion_date" : "2026-03-21",
|
| 64 |
+
"com.github.apple.coremltools.source" : "torch==2.8.0",
|
| 65 |
+
"com.github.apple.coremltools.version" : "9.0",
|
| 66 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript"
|
| 67 |
+
},
|
| 68 |
+
"inputSchema" : [
|
| 69 |
+
{
|
| 70 |
+
"dataType" : "Int32",
|
| 71 |
+
"hasShapeFlexibility" : "1",
|
| 72 |
+
"isOptional" : "0",
|
| 73 |
+
"shapeFlexibility" : "1 × 1...1024",
|
| 74 |
+
"shapeRange" : "[[1, 1], [1, 1024]]",
|
| 75 |
+
"formattedType" : "MultiArray (Int32 1 × 1)",
|
| 76 |
+
"type" : "MultiArray",
|
| 77 |
+
"shape" : "[1, 1]",
|
| 78 |
+
"name" : "input_ids",
|
| 79 |
+
"shortDescription" : ""
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"dataType" : "Int32",
|
| 83 |
+
"hasShapeFlexibility" : "1",
|
| 84 |
+
"isOptional" : "0",
|
| 85 |
+
"shapeFlexibility" : "1 × 1...1024",
|
| 86 |
+
"shapeRange" : "[[1, 1], [1, 1024]]",
|
| 87 |
+
"formattedType" : "MultiArray (Int32 1 × 1)",
|
| 88 |
+
"type" : "MultiArray",
|
| 89 |
+
"shape" : "[1, 1]",
|
| 90 |
+
"name" : "attention_mask",
|
| 91 |
+
"shortDescription" : ""
|
| 92 |
+
}
|
| 93 |
+
],
|
| 94 |
+
"generatedClassName" : "NLLB_Encoder_1024",
|
| 95 |
+
"method" : "predict"
|
| 96 |
+
}
|
| 97 |
+
]
|
NLLB_Encoder_1024.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
NLLB_Encoder_1024.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0bd10d3ddd55006c099b2ff7308e44ac35cb4cf53a7eb8a8e7039933e981279d
|
| 3 |
+
size 415136448
|
NLLB_Encoder_1024.mlpackage/Data/com.apple.CoreML/model.mlmodel
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b96caa8b9614004919afc504720c50353bfb96223881286b9a931b6b5afd7b1
|
| 3 |
+
size 159705
|
NLLB_Encoder_1024.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:0bd10d3ddd55006c099b2ff7308e44ac35cb4cf53a7eb8a8e7039933e981279d
|
| 3 |
+
size 415136448
|
NLLB_Encoder_1024.mlpackage/Manifest.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"fileFormatVersion": "1.0.0",
|
| 3 |
+
"itemInfoEntries": {
|
| 4 |
+
"8987B4B9-2E39-4450-8A56-A20F171B4C46": {
|
| 5 |
+
"author": "com.apple.CoreML",
|
| 6 |
+
"description": "CoreML Model Weights",
|
| 7 |
+
"name": "weights",
|
| 8 |
+
"path": "com.apple.CoreML/weights"
|
| 9 |
+
},
|
| 10 |
+
"941EABD8-EE05-4C5C-B1E6-21D504E633DD": {
|
| 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": "941EABD8-EE05-4C5C-B1E6-21D504E633DD"
|
| 18 |
+
}
|
compile_manifest.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"slug": "nllb200-coreml-1024-pal8",
|
| 3 |
+
"compiled_at": "2026-08-26T06:56:29.196277+00:00",
|
| 4 |
+
"ios_repo": "aoiandroid/nllb200-coreml-1024-pal8-ios",
|
| 5 |
+
"macos_repo": "aoiandroid/nllb200-coreml-1024-pal8-macos"
|
| 6 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_dropout": 0.0,
|
| 3 |
+
"activation_function": "relu",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"M2M100ForConditionalGeneration"
|
| 6 |
+
],
|
| 7 |
+
"attention_dropout": 0.1,
|
| 8 |
+
"bos_token_id": 0,
|
| 9 |
+
"d_model": 1024,
|
| 10 |
+
"decoder_attention_heads": 16,
|
| 11 |
+
"decoder_ffn_dim": 4096,
|
| 12 |
+
"decoder_layerdrop": 0,
|
| 13 |
+
"decoder_layers": 12,
|
| 14 |
+
"decoder_start_token_id": 2,
|
| 15 |
+
"dropout": 0.1,
|
| 16 |
+
"encoder_attention_heads": 16,
|
| 17 |
+
"encoder_ffn_dim": 4096,
|
| 18 |
+
"encoder_layerdrop": 0,
|
| 19 |
+
"encoder_layers": 12,
|
| 20 |
+
"eos_token_id": 2,
|
| 21 |
+
"init_std": 0.02,
|
| 22 |
+
"is_encoder_decoder": true,
|
| 23 |
+
"max_position_embeddings": 1024,
|
| 24 |
+
"model_type": "m2m_100",
|
| 25 |
+
"num_hidden_layers": 12,
|
| 26 |
+
"pad_token_id": 1,
|
| 27 |
+
"scale_embedding": true,
|
| 28 |
+
"torch_dtype": "float32",
|
| 29 |
+
"transformers_version": "4.21.0.dev0",
|
| 30 |
+
"use_cache": true,
|
| 31 |
+
"vocab_size": 256206,
|
| 32 |
+
"tokenizer_class": "NllbTokenizer",
|
| 33 |
+
"max_length": 200
|
| 34 |
+
}
|
tokenizer/special_tokens_map.json
ADDED
|
@@ -0,0 +1,219 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"ace_Arab",
|
| 4 |
+
"ace_Latn",
|
| 5 |
+
"acm_Arab",
|
| 6 |
+
"acq_Arab",
|
| 7 |
+
"aeb_Arab",
|
| 8 |
+
"afr_Latn",
|
| 9 |
+
"ajp_Arab",
|
| 10 |
+
"aka_Latn",
|
| 11 |
+
"amh_Ethi",
|
| 12 |
+
"apc_Arab",
|
| 13 |
+
"arb_Arab",
|
| 14 |
+
"ars_Arab",
|
| 15 |
+
"ary_Arab",
|
| 16 |
+
"arz_Arab",
|
| 17 |
+
"asm_Beng",
|
| 18 |
+
"ast_Latn",
|
| 19 |
+
"awa_Deva",
|
| 20 |
+
"ayr_Latn",
|
| 21 |
+
"azb_Arab",
|
| 22 |
+
"azj_Latn",
|
| 23 |
+
"bak_Cyrl",
|
| 24 |
+
"bam_Latn",
|
| 25 |
+
"ban_Latn",
|
| 26 |
+
"bel_Cyrl",
|
| 27 |
+
"bem_Latn",
|
| 28 |
+
"ben_Beng",
|
| 29 |
+
"bho_Deva",
|
| 30 |
+
"bjn_Arab",
|
| 31 |
+
"bjn_Latn",
|
| 32 |
+
"bod_Tibt",
|
| 33 |
+
"bos_Latn",
|
| 34 |
+
"bug_Latn",
|
| 35 |
+
"bul_Cyrl",
|
| 36 |
+
"cat_Latn",
|
| 37 |
+
"ceb_Latn",
|
| 38 |
+
"ces_Latn",
|
| 39 |
+
"cjk_Latn",
|
| 40 |
+
"ckb_Arab",
|
| 41 |
+
"crh_Latn",
|
| 42 |
+
"cym_Latn",
|
| 43 |
+
"dan_Latn",
|
| 44 |
+
"deu_Latn",
|
| 45 |
+
"dik_Latn",
|
| 46 |
+
"dyu_Latn",
|
| 47 |
+
"dzo_Tibt",
|
| 48 |
+
"ell_Grek",
|
| 49 |
+
"eng_Latn",
|
| 50 |
+
"epo_Latn",
|
| 51 |
+
"est_Latn",
|
| 52 |
+
"eus_Latn",
|
| 53 |
+
"ewe_Latn",
|
| 54 |
+
"fao_Latn",
|
| 55 |
+
"pes_Arab",
|
| 56 |
+
"fij_Latn",
|
| 57 |
+
"fin_Latn",
|
| 58 |
+
"fon_Latn",
|
| 59 |
+
"fra_Latn",
|
| 60 |
+
"fur_Latn",
|
| 61 |
+
"fuv_Latn",
|
| 62 |
+
"gla_Latn",
|
| 63 |
+
"gle_Latn",
|
| 64 |
+
"glg_Latn",
|
| 65 |
+
"grn_Latn",
|
| 66 |
+
"guj_Gujr",
|
| 67 |
+
"hat_Latn",
|
| 68 |
+
"hau_Latn",
|
| 69 |
+
"heb_Hebr",
|
| 70 |
+
"hin_Deva",
|
| 71 |
+
"hne_Deva",
|
| 72 |
+
"hrv_Latn",
|
| 73 |
+
"hun_Latn",
|
| 74 |
+
"hye_Armn",
|
| 75 |
+
"ibo_Latn",
|
| 76 |
+
"ilo_Latn",
|
| 77 |
+
"ind_Latn",
|
| 78 |
+
"isl_Latn",
|
| 79 |
+
"ita_Latn",
|
| 80 |
+
"jav_Latn",
|
| 81 |
+
"jpn_Jpan",
|
| 82 |
+
"kab_Latn",
|
| 83 |
+
"kac_Latn",
|
| 84 |
+
"kam_Latn",
|
| 85 |
+
"kan_Knda",
|
| 86 |
+
"kas_Arab",
|
| 87 |
+
"kas_Deva",
|
| 88 |
+
"kat_Geor",
|
| 89 |
+
"knc_Arab",
|
| 90 |
+
"knc_Latn",
|
| 91 |
+
"kaz_Cyrl",
|
| 92 |
+
"kbp_Latn",
|
| 93 |
+
"kea_Latn",
|
| 94 |
+
"khm_Khmr",
|
| 95 |
+
"kik_Latn",
|
| 96 |
+
"kin_Latn",
|
| 97 |
+
"kir_Cyrl",
|
| 98 |
+
"kmb_Latn",
|
| 99 |
+
"kon_Latn",
|
| 100 |
+
"kor_Hang",
|
| 101 |
+
"kmr_Latn",
|
| 102 |
+
"lao_Laoo",
|
| 103 |
+
"lvs_Latn",
|
| 104 |
+
"lij_Latn",
|
| 105 |
+
"lim_Latn",
|
| 106 |
+
"lin_Latn",
|
| 107 |
+
"lit_Latn",
|
| 108 |
+
"lmo_Latn",
|
| 109 |
+
"ltg_Latn",
|
| 110 |
+
"ltz_Latn",
|
| 111 |
+
"lua_Latn",
|
| 112 |
+
"lug_Latn",
|
| 113 |
+
"luo_Latn",
|
| 114 |
+
"lus_Latn",
|
| 115 |
+
"mag_Deva",
|
| 116 |
+
"mai_Deva",
|
| 117 |
+
"mal_Mlym",
|
| 118 |
+
"mar_Deva",
|
| 119 |
+
"min_Latn",
|
| 120 |
+
"mkd_Cyrl",
|
| 121 |
+
"plt_Latn",
|
| 122 |
+
"mlt_Latn",
|
| 123 |
+
"mni_Beng",
|
| 124 |
+
"khk_Cyrl",
|
| 125 |
+
"mos_Latn",
|
| 126 |
+
"mri_Latn",
|
| 127 |
+
"zsm_Latn",
|
| 128 |
+
"mya_Mymr",
|
| 129 |
+
"nld_Latn",
|
| 130 |
+
"nno_Latn",
|
| 131 |
+
"nob_Latn",
|
| 132 |
+
"npi_Deva",
|
| 133 |
+
"nso_Latn",
|
| 134 |
+
"nus_Latn",
|
| 135 |
+
"nya_Latn",
|
| 136 |
+
"oci_Latn",
|
| 137 |
+
"gaz_Latn",
|
| 138 |
+
"ory_Orya",
|
| 139 |
+
"pag_Latn",
|
| 140 |
+
"pan_Guru",
|
| 141 |
+
"pap_Latn",
|
| 142 |
+
"pol_Latn",
|
| 143 |
+
"por_Latn",
|
| 144 |
+
"prs_Arab",
|
| 145 |
+
"pbt_Arab",
|
| 146 |
+
"quy_Latn",
|
| 147 |
+
"ron_Latn",
|
| 148 |
+
"run_Latn",
|
| 149 |
+
"rus_Cyrl",
|
| 150 |
+
"sag_Latn",
|
| 151 |
+
"san_Deva",
|
| 152 |
+
"sat_Beng",
|
| 153 |
+
"scn_Latn",
|
| 154 |
+
"shn_Mymr",
|
| 155 |
+
"sin_Sinh",
|
| 156 |
+
"slk_Latn",
|
| 157 |
+
"slv_Latn",
|
| 158 |
+
"smo_Latn",
|
| 159 |
+
"sna_Latn",
|
| 160 |
+
"snd_Arab",
|
| 161 |
+
"som_Latn",
|
| 162 |
+
"sot_Latn",
|
| 163 |
+
"spa_Latn",
|
| 164 |
+
"als_Latn",
|
| 165 |
+
"srd_Latn",
|
| 166 |
+
"srp_Cyrl",
|
| 167 |
+
"ssw_Latn",
|
| 168 |
+
"sun_Latn",
|
| 169 |
+
"swe_Latn",
|
| 170 |
+
"swh_Latn",
|
| 171 |
+
"szl_Latn",
|
| 172 |
+
"tam_Taml",
|
| 173 |
+
"tat_Cyrl",
|
| 174 |
+
"tel_Telu",
|
| 175 |
+
"tgk_Cyrl",
|
| 176 |
+
"tgl_Latn",
|
| 177 |
+
"tha_Thai",
|
| 178 |
+
"tir_Ethi",
|
| 179 |
+
"taq_Latn",
|
| 180 |
+
"taq_Tfng",
|
| 181 |
+
"tpi_Latn",
|
| 182 |
+
"tsn_Latn",
|
| 183 |
+
"tso_Latn",
|
| 184 |
+
"tuk_Latn",
|
| 185 |
+
"tum_Latn",
|
| 186 |
+
"tur_Latn",
|
| 187 |
+
"twi_Latn",
|
| 188 |
+
"tzm_Tfng",
|
| 189 |
+
"uig_Arab",
|
| 190 |
+
"ukr_Cyrl",
|
| 191 |
+
"umb_Latn",
|
| 192 |
+
"urd_Arab",
|
| 193 |
+
"uzn_Latn",
|
| 194 |
+
"vec_Latn",
|
| 195 |
+
"vie_Latn",
|
| 196 |
+
"war_Latn",
|
| 197 |
+
"wol_Latn",
|
| 198 |
+
"xho_Latn",
|
| 199 |
+
"ydd_Hebr",
|
| 200 |
+
"yor_Latn",
|
| 201 |
+
"yue_Hant",
|
| 202 |
+
"zho_Hans",
|
| 203 |
+
"zho_Hant",
|
| 204 |
+
"zul_Latn"
|
| 205 |
+
],
|
| 206 |
+
"bos_token": "<s>",
|
| 207 |
+
"cls_token": "<s>",
|
| 208 |
+
"eos_token": "</s>",
|
| 209 |
+
"mask_token": {
|
| 210 |
+
"content": "<mask>",
|
| 211 |
+
"lstrip": true,
|
| 212 |
+
"normalized": true,
|
| 213 |
+
"rstrip": false,
|
| 214 |
+
"single_word": false
|
| 215 |
+
},
|
| 216 |
+
"pad_token": "<pad>",
|
| 217 |
+
"sep_token": "</s>",
|
| 218 |
+
"unk_token": "<unk>"
|
| 219 |
+
}
|
tokenizer/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e316b82de11d0f951f370943b3c438311629547285129b0b81dadabd01bca665
|
| 3 |
+
size 17331176
|
tokenizer/tokenizer_config.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": null,
|
| 3 |
+
"bos_token": "<s>",
|
| 4 |
+
"cls_token": "<s>",
|
| 5 |
+
"eos_token": "</s>",
|
| 6 |
+
"mask_token": {
|
| 7 |
+
"__type": "AddedToken",
|
| 8 |
+
"content": "<mask>",
|
| 9 |
+
"lstrip": true,
|
| 10 |
+
"normalized": true,
|
| 11 |
+
"rstrip": false,
|
| 12 |
+
"single_word": false
|
| 13 |
+
},
|
| 14 |
+
"model_max_length": 1024,
|
| 15 |
+
"name_or_path": "facebook/nllb-200-distilled-600M",
|
| 16 |
+
"pad_token": "<pad>",
|
| 17 |
+
"sep_token": "</s>",
|
| 18 |
+
"sp_model_kwargs": {},
|
| 19 |
+
"special_tokens_map_file": null,
|
| 20 |
+
"src_lang": null,
|
| 21 |
+
"tgt_lang": null,
|
| 22 |
+
"tokenizer_class": "NllbTokenizer",
|
| 23 |
+
"unk_token": "<unk>"
|
| 24 |
+
}
|