{ "format": "openmed-onnx", "format_version": 1, "formats": [ "onnx-android", "onnx-int8", "ort-android" ], "task": "token-classification", "family": "modernbert", "source_model_id": "OpenMed/OpenMed-PII-Dutch-BioClinicalModern-Base-149M-v1", "config_path": "config.json", "label_map_path": "id2label.json", "artifacts": [ { "format": "onnx-android", "path": "model.onnx", "precision": "float32", "metadata": { "profile": "android", "opset": 18, "execution_providers": [ "NNAPI", "XNNPACK" ], "inputs": [ { "name": "input_ids", "dtype": "int64", "axes": [ "batch", "sequence" ], "shape": [ { "kind": "dynamic", "name": "batch" }, { "kind": "dynamic", "name": "sequence" } ] }, { "name": "attention_mask", "dtype": "int64", "axes": [ "batch", "sequence" ], "shape": [ { "kind": "dynamic", "name": "batch" }, { "kind": "dynamic", "name": "sequence" } ] } ], "outputs": [ { "name": "logits", "dtype": "float32", "axes": [ "batch", "sequence", "labels" ], "shape": [ { "kind": "dynamic", "name": "batch" }, { "kind": "dynamic", "name": "sequence" }, { "kind": "static", "value": 76 } ] } ], "operators": [ "Shape", "Constant", "Gather", "Cast", "Range", "Unsqueeze", "LayerNormalization", "ConstantOfShape", "GreaterOrEqual", "And", "Flatten", "Mul", "Add", "Reshape", "Concat", "Equal", "Where", "Expand", "Sub", "Abs", "LessOrEqual", "MatMul", "Transpose", "Cos", "Sin", "Split", "Squeeze", "Div", "Slice", "Neg", "Softmax", "IsNaN", "Erf", "Sigmoid" ], "unsupported_ops": [ "GreaterOrEqual", "Flatten", "Abs", "LessOrEqual", "Cos", "Sin", "IsNaN" ], "warnings": [ "GreaterOrEqual is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set", "Flatten is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set", "Abs is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set", "LessOrEqual is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set", "Cos is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set", "Sin is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set", "IsNaN is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set" ] } }, { "format": "onnx-android", "path": "model_fp16.onnx", "precision": "float16", "metadata": { "profile": "android", "opset": 18, "execution_providers": [ "NNAPI", "XNNPACK" ], "inputs": [ { "name": "input_ids", "dtype": "int64", "axes": [ "batch", "sequence" ], "shape": [ { "kind": "dynamic", "name": "batch" }, { "kind": "dynamic", "name": "sequence" } ] }, { "name": "attention_mask", "dtype": "int64", "axes": [ "batch", "sequence" ], "shape": [ { "kind": "dynamic", "name": "batch" }, { "kind": "dynamic", "name": "sequence" } ] } ], "outputs": [ { "name": "logits", "dtype": "float32", "axes": [ "batch", "sequence", "labels" ], "shape": [ { "kind": "dynamic", "name": "batch" }, { "kind": "dynamic", "name": "sequence" }, { "kind": "static", "value": 76 } ] } ], "operators": [ "Shape", "Constant", "Gather", "Cast", "Range", "Unsqueeze", "LayerNormalization", "ConstantOfShape", "GreaterOrEqual", "And", "Flatten", "Mul", "Add", "Reshape", "Concat", "Equal", "Where", "Expand", "Sub", "Abs", "LessOrEqual", "MatMul", "Transpose", "Cos", "Sin", "Split", "Squeeze", "Div", "Slice", "Neg", "Softmax", "IsNaN", "Erf", "Sigmoid" ], "unsupported_ops": [ "GreaterOrEqual", "Flatten", "Abs", "LessOrEqual", "Cos", "Sin", "IsNaN" ], "warnings": [ "GreaterOrEqual is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set", "Flatten is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set", "Abs is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set", "LessOrEqual is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set", "Cos is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set", "Sin is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set", "IsNaN is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set" ] } }, { "format": "onnx-int8", "path": "model_int8.onnx", "precision": "int8", "metadata": { "format": "onnx-int8", "quantization": { "scheme": "dynamic", "weight_type": "qint8", "op_types": [ "MatMul", "Gemm" ], "calibration": "none", "target": "arm64-cpu", "output": "model_int8.onnx" }, "profile": "android", "opset": 18, "execution_providers": [ "NNAPI", "XNNPACK" ], "inputs": [ { "name": "input_ids", "dtype": "int64", "axes": [ "batch", "sequence" ], "shape": [ { "kind": "dynamic", "name": "batch" }, { "kind": "dynamic", "name": "sequence" } ] }, { "name": "attention_mask", "dtype": "int64", "axes": [ "batch", "sequence" ], "shape": [ { "kind": "dynamic", "name": "batch" }, { "kind": "dynamic", "name": "sequence" } ] } ], "outputs": [ { "name": "logits", "dtype": "float32", "axes": [ "batch", "sequence", "labels" ], "shape": [ { "kind": "dynamic", "name": "batch" }, { "kind": "dynamic", "name": "sequence" }, { "kind": "static", "value": 76 } ] } ], "operators": [ "Constant", "Cast", "Shape", "Gather", "ConstantOfShape", "Flatten", "LayerNormalization", "DynamicQuantizeLinear", "Unsqueeze", "Range", "Mul", "MatMulInteger", "Concat", "Reshape", "Split", "Squeeze", "GreaterOrEqual", "Sub", "Transpose", "Abs", "Add", "Equal", "And", "LessOrEqual", "Where", "Div", "Expand", "MatMul", "Slice", "Neg", "Cos", "Sin", "Softmax", "IsNaN", "Erf", "Sigmoid" ], "unsupported_ops": [ "Flatten", "DynamicQuantizeLinear", "MatMulInteger", "GreaterOrEqual", "Abs", "LessOrEqual", "Cos", "Sin", "IsNaN" ], "warnings": [ "Flatten is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set", "DynamicQuantizeLinear is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set", "MatMulInteger is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set", "GreaterOrEqual is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set", "Abs is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set", "LessOrEqual is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set", "Cos is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set", "Sin is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set", "IsNaN is not in the Android ONNX Runtime Mobile NNAPI/XNNPACK safe set" ] } }, { "format": "ort-android", "path": "model.ort", "precision": "float32", "metadata": { "format": "ort-android", "profile": "android", "source_onnx_path": "model.onnx", "optimization_style": "Fixed", "target_platform": "arm", "op_config_type": "required_operators_and_types", "enable_type_reduction": true, "ort_path": "model.ort", "op_config_path": "model.required_operators_and_types.config", "operators": [ "Shape", "Constant", "Gather", "Cast", "Range", "Unsqueeze", "LayerNormalization", "ConstantOfShape", "GreaterOrEqual", "And", "Flatten", "Mul", "Add", "Reshape", "Concat", "Equal", "Where", "Expand", "Sub", "Abs", "LessOrEqual", "MatMul", "Transpose", "Cos", "Sin", "Split", "Squeeze", "Div", "Slice", "Neg", "Softmax", "IsNaN", "Erf", "Sigmoid" ], "opset": 18 } } ], "minimum_opset": 18, "max_sequence_length": 512, "dynamic_shapes": { "batch_axis": "dynamic", "sequence_axis": "dynamic", "shape_buckets": { "strategy": "next_configured_bucket_or_exact", "axes": { "input": [ "batch", "sequence" ], "output": [ "batch", "sequence" ] }, "buckets": [ 8, 16, 32, 64, 128, 256, 512, 1024, 2048 ], "min_length": 8, "max_length": 2048, "overflow": "exact_length" } }, "optimization": { "enabled": false, "minimum_opset": 18 }, "validation": {}, "operator_fallbacks": [], "tokenizer": { "path": ".", "files": [ "tokenizer.json", "tokenizer_config.json" ] } }