{
  "common": {
    "url": "blobs/sha256/2495a913705099f6b69b20f0f68c7f908f1c681b03e116d29b60efa921f6d1d7",
    "sha256": "2495a913705099f6b69b20f0f68c7f908f1c681b03e116d29b60efa921f6d1d7",
    "size": 7127,
    "unpacked_size": 28691
  },
  "configs": {
    "korean-mobile": {
      "tag": "korean-mobile"
    },
    "mobile": {
      "tag": "mobile"
    },
    "server": {
      "tag": "server"
    }
  },
  "id": "pp-ocrv5",
  "manifest": {
    "core_api": 1,
    "core_max_exclusive": "1.0.0",
    "core_min": "0.1.0",
    "default": "pp-ocrv5:server",
    "display_name": "PP-OCRv5",
    "entrypoint": "commons.adapter:Runtime",
    "id": "pp-ocrv5",
    "license": "Apache-2.0",
    "license_acceptance": {
      "required": false
    },
    "model_type": "common_model",
    "requires_features": [
      "box",
      "texts"
    ],
    "runtimes": {
      "macos-metal": {
        "accelerator": "mps",
        "arch": "arm64",
        "entrypoint": "inference.runtime:Backend",
        "lockfiles": [
          "models/macos-metal/runtime/requirements.lock"
        ],
        "os": "darwin",
        "path": "models/macos-metal",
        "platform": "macos-metal",
        "probe_imports": [
          "torch",
          "safetensors",
          "PIL"
        ],
        "python": "3.11",
        "supported_devices": [
          "mps",
          "cpu"
        ],
        "wheels": []
      }
    },
    "schema_version": 2,
    "timeout_seconds": 600,
    "tools": [
      "tools/ocr_auto-type.json"
    ],
    "variants": {
      "korean-mobile": {
        "config": "configs/korean-mobile.json",
        "inference_weight_paths": [
          "model.safetensors"
        ],
        "languages": [
          "Korean",
          "English"
        ],
        "supported_profiles": [
          "macos-metal"
        ],
        "weights": "weights/korean-mobile/weights.json"
      },
      "mobile": {
        "config": "configs/mobile.json",
        "inference_weight_paths": [
          "model.safetensors"
        ],
        "languages": [
          "Chinese-Simplified",
          "Chinese-Traditional",
          "English",
          "Japanese"
        ],
        "supported_profiles": [
          "macos-metal"
        ],
        "weights": "weights/mobile/weights.json"
      },
      "server": {
        "config": "configs/server.json",
        "inference_weight_paths": [
          "model.safetensors"
        ],
        "languages": [
          "Chinese-Simplified",
          "Chinese-Traditional",
          "English",
          "Japanese"
        ],
        "supported_profiles": [
          "macos-metal"
        ],
        "weights": "weights/server/weights.json"
      }
    },
    "version": "0.0.3",
    "worker_protocol": 1
  },
  "overrides": {},
  "profiles": {
    "macos-metal": {
      "url": "blobs/sha256/52aa206f317fe4db35ae30e6259983195872ffa9b0a8dd3fee473a7f4d88f45d",
      "sha256": "52aa206f317fe4db35ae30e6259983195872ffa9b0a8dd3fee473a7f4d88f45d",
      "size": 26667,
      "unpacked_size": 93057
    }
  },
  "schema_version": 2,
  "version": "0.0.3",
  "weights": {
    "korean-mobile": [
      {
        "path": "config.json",
        "size": 2088,
        "sha256": "96481635294a6f65675f454e45367e43e375a559949f7dfddbe5d72cbd343404",
        "url": "https://models.boat-annotation.com/blobs/sha256/96481635294a6f65675f454e45367e43e375a559949f7dfddbe5d72cbd343404",
        "requires_token": false
      },
      {
        "path": "model.safetensors",
        "size": 28035900,
        "sha256": "d636a01a66c6efd9f344865fd43111f8d12098131e4d416c6c7488e1022fb162",
        "url": "https://models.boat-annotation.com/blobs/sha256/d636a01a66c6efd9f344865fd43111f8d12098131e4d416c6c7488e1022fb162",
        "requires_token": false
      },
      {
        "path": "preprocessor_config.json",
        "size": 131403,
        "sha256": "b2ec2b91bcdbe548bee7aae5952921a36377caececf74705280df82dbb637d3d",
        "url": "https://models.boat-annotation.com/blobs/sha256/b2ec2b91bcdbe548bee7aae5952921a36377caececf74705280df82dbb637d3d",
        "requires_token": false
      }
    ],
    "mobile": [
      {
        "path": "config.json",
        "size": 1134,
        "sha256": "e33ccc6f68b0e710bbc5116b38995d8430f4ead7f6e15e745325e844cfe463f4",
        "url": "https://models.boat-annotation.com/blobs/sha256/e33ccc6f68b0e710bbc5116b38995d8430f4ead7f6e15e745325e844cfe463f4",
        "requires_token": false
      },
      {
        "path": "model.safetensors",
        "size": 31152668,
        "sha256": "0bce74901be5dc8aef6d62a09eef40e46d9687fe7b087b37639e80f5d80219a3",
        "url": "https://models.boat-annotation.com/blobs/sha256/0bce74901be5dc8aef6d62a09eef40e46d9687fe7b087b37639e80f5d80219a3",
        "requires_token": false
      },
      {
        "path": "preprocessor_config.json",
        "size": 203006,
        "sha256": "66c17f46fe813495d27e2c246de2256b5d7388780b8c87861f0fb47c5043427f",
        "url": "https://models.boat-annotation.com/blobs/sha256/66c17f46fe813495d27e2c246de2256b5d7388780b8c87861f0fb47c5043427f",
        "requires_token": false
      }
    ],
    "server": [
      {
        "path": "config.json",
        "size": 768,
        "sha256": "6e37472f191320b7da226b924ec282e5c5dbf4ac06f0f5ddf6d466ead60665c4",
        "url": "https://models.boat-annotation.com/blobs/sha256/6e37472f191320b7da226b924ec282e5c5dbf4ac06f0f5ddf6d466ead60665c4",
        "requires_token": false
      },
      {
        "path": "model.safetensors",
        "size": 84442268,
        "sha256": "da94c5dd42c88b00c44081942b157bee8eda9ccd0481dbd0af3824f6c241aa91",
        "url": "https://models.boat-annotation.com/blobs/sha256/da94c5dd42c88b00c44081942b157bee8eda9ccd0481dbd0af3824f6c241aa91",
        "requires_token": false
      },
      {
        "path": "preprocessor_config.json",
        "size": 202967,
        "sha256": "2f9968f3f38a6fa0b94fd7342dcdbf3a8a53c20bb9e4ab23820a2170480381bf",
        "url": "https://models.boat-annotation.com/blobs/sha256/2f9968f3f38a6fa0b94fd7342dcdbf3a8a53c20bb9e4ab23820a2170480381bf",
        "requires_token": false
      }
    ]
  }
}
