File size: 1,445 Bytes
8b464e4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | {
"kind": "textEmbedding",
"model": "ibm-granite/granite-embedding-97m-multilingual-r2",
"revision": "835ad14087e140460703cf0fae09f97d469d65c2",
"variants": {
"macos": {
"path": "macos/fp32-s512",
"sizeMB": 396,
"format": "aimodel"
},
"macos-s128": {
"path": "macos/fp32-s128",
"sizeMB": 396,
"format": "aimodel"
},
"ios-gpu-h18p": {
"path": "ios/fp32-s512",
"sizeMB": 396,
"format": "aimodelc",
"architecture": "h18p",
"minOS": "27.0"
},
"ios-gpu-h18p-s128": {
"path": "ios/fp32-s128",
"sizeMB": 396,
"format": "aimodelc",
"architecture": "h18p",
"minOS": "27.0"
},
"macos-w8": {
"path": "macos/w8-fp32table-s512",
"sizeMB": 315,
"format": "aimodel"
},
"ios-gpu-h18p-w8": {
"path": "ios/w8-fp32table-s512",
"sizeMB": 315,
"format": "aimodelc",
"architecture": "h18p",
"minOS": "27.0"
}
},
"host": {
"tokenizer": "host/GraniteTokenizer.swift",
"pad_id": 179935,
"cls_id": 179934,
"sep_id": 179938,
"body_truncation": "S-2",
"prefix": "",
"strip": false,
"ignore_merges": true
},
"graph": {
"inputs": {
"input_ids": "[1,S] int32",
"attention_mask": "[1,S] int32"
},
"outputs": {
"embedding": "[1,384] fp32 L2-normalized"
},
"grids": [
128,
512
]
}
}
|