Instructions to use masahiroid/table-transformer-detection-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use masahiroid/table-transformer-detection-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download masahiroid/table-transformer-detection-mlx --local-dir table-transformer-detection-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Security: bilingual SECURITY.md with verified-conversion audit (model-audit-lite 0.5.2), ML-BOM, README link
Browse files- README.md +8 -0
- SECURITY.md +60 -9
- bom.json +116 -0
README.md
CHANGED
|
@@ -91,6 +91,10 @@ Compared against the PyTorch fp32 reference on a COCO validation image:
|
|
| 91 |
- Security audit uses [model-audit-lite](https://github.com/masahirocom/model-audit-lite)
|
| 92 |
(see `SECURITY.md` for details).
|
| 93 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
---
|
| 95 |
|
| 96 |
## モデルの概要
|
|
@@ -161,3 +165,7 @@ PyTorch fp32リファレンスと、COCO検証画像1枚で比較:
|
|
| 161 |
- 本変換は非公式のコミュニティ版です。
|
| 162 |
- セキュリティー監査には[model-audit-lite](https://github.com/masahirocom/model-audit-lite)を
|
| 163 |
使用しています(詳細は`SECURITY.md`)。
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
- Security audit uses [model-audit-lite](https://github.com/masahirocom/model-audit-lite)
|
| 92 |
(see `SECURITY.md` for details).
|
| 93 |
|
| 94 |
+
### Security
|
| 95 |
+
|
| 96 |
+
Audited against its upstream with [model-audit-lite](https://github.com/masahirocom/model-audit-lite): weight format, bundled code, and a machine-readable lineage (ML-BOM). Details, checksums and how to reproduce: [SECURITY.md](SECURITY.md).
|
| 97 |
+
|
| 98 |
---
|
| 99 |
|
| 100 |
## モデルの概要
|
|
|
|
| 165 |
- 本変換は非公式のコミュニティ版です。
|
| 166 |
- セキュリティー監査には[model-audit-lite](https://github.com/masahirocom/model-audit-lite)を
|
| 167 |
使用しています(詳細は`SECURITY.md`)。
|
| 168 |
+
|
| 169 |
+
### セキュリティー
|
| 170 |
+
|
| 171 |
+
[model-audit-lite](https://github.com/masahirocom/model-audit-lite) で変換元と突き合わせて監査済みです(重みの形式、同梱コード、機械可読な系譜=ML-BOM)。詳細・チェックサム・再現方法は [SECURITY.md](SECURITY.md) をご覧ください。
|
SECURITY.md
CHANGED
|
@@ -1,20 +1,71 @@
|
|
| 1 |
-
# セキュリティー
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
-
##
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
```
|
| 14 |
a7296b8c8a41ca85b5f37132a9d06c8a067297d7dcc6ad29bcd717d973d9f23e model.safetensors
|
| 15 |
246ead198b6013af0c62890ed8fe1118a1971df237f677b6440d90eb38b38a91 table_transformer_mlx.py
|
| 16 |
```
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
---
|
| 19 |
|
| 20 |
-
|
|
|
|
| 1 |
+
# Security / セキュリティー
|
| 2 |
|
| 3 |
+
[English](#english) | [日本語](#日本語)
|
| 4 |
|
| 5 |
+
## English
|
| 6 |
|
| 7 |
+
**Verified conversion.** `table-transformer-detection-mlx` was audited on 2026-10-03 with [model-audit-lite](https://github.com/masahirocom/model-audit-lite) v0.5.2 against its upstream, [`microsoft/table-transformer-detection`](https://huggingface.co/microsoft/table-transformer-detection). Everything below can be re-run by you with one command.
|
| 8 |
+
|
| 9 |
+
### What was verified
|
| 10 |
+
|
| 11 |
+
| Check | Result |
|
| 12 |
+
|---|---|
|
| 13 |
+
| Weight format | `safetensors` only. No pickle-format files (`.bin` / `.pt` / `.pkl`), the format family that can execute code when loaded. |
|
| 14 |
+
| Lineage | A CycloneDX 1.6 ML-BOM ([`bom.json`](bom.json)) records every file's SHA-256 and the conversion chain back to [`microsoft/table-transformer-detection`](https://huggingface.co/microsoft/table-transformer-detection) (audited revision `2b99b8b612c9`). |
|
| 15 |
+
| Bundled code | Added by this conversion (not in upstream): `table_transformer_mlx.py`. Plain source written for this conversion (inference / export helpers); it runs only if you import or execute it. Hashes below; read before use. |
|
| 16 |
+
| Safety behavior | Not applicable: this is not an instruction-following chat model, so there is no instruction behavior to probe. |
|
| 17 |
+
|
| 18 |
+
### Why use this build rather than another conversion of the same model
|
| 19 |
+
|
| 20 |
+
You normally cannot tell what a conversion you did not make has changed. Here you can: every file is hashed, the lineage back to upstream is machine-readable, and the audit is reproducible with one command. The command is at the bottom.
|
| 21 |
+
|
| 22 |
+
### Scope
|
| 23 |
+
|
| 24 |
+
This audit covers the distribution (files, lineage). It does not inspect the weights for backdoors. Model behavior comes from the upstream model; format conversion and quantization can shift it in either direction.
|
| 25 |
+
|
| 26 |
+
### Checksums (SHA-256)
|
| 27 |
|
| 28 |
```
|
| 29 |
a7296b8c8a41ca85b5f37132a9d06c8a067297d7dcc6ad29bcd717d973d9f23e model.safetensors
|
| 30 |
246ead198b6013af0c62890ed8fe1118a1971df237f677b6440d90eb38b38a91 table_transformer_mlx.py
|
| 31 |
```
|
| 32 |
|
| 33 |
+
### Reproduce
|
| 34 |
+
|
| 35 |
+
```bash
|
| 36 |
+
pip install git+https://github.com/masahirocom/model-audit-lite.git
|
| 37 |
+
model-audit-lite scan masahiroid/table-transformer-detection-mlx --base microsoft/table-transformer-detection
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
+
## 日本語
|
| 41 |
+
|
| 42 |
+
**検証済みの変換版です。** `table-transformer-detection-mlx` は 2026-10-03 に [model-audit-lite](https://github.com/masahirocom/model-audit-lite) v0.5.2 で、変換元 [`microsoft/table-transformer-detection`](https://huggingface.co/microsoft/table-transformer-detection) と突き合わせて監査しました。以下はすべて、1コマンドであなた自身が再実行できます。
|
| 43 |
+
|
| 44 |
+
### 検証した内容
|
| 45 |
+
|
| 46 |
+
| 項目 | 結果 |
|
| 47 |
+
|---|---|
|
| 48 |
+
| 重みの形式 | `safetensors` のみ。pickle形式(`.bin` / `.pt` / `.pkl`)のファイルはありません。読み込み時にコードを実行しうる形式群です。 |
|
| 49 |
+
| 系譜 | CycloneDX 1.6 の ML-BOM([`bom.json`](bom.json))に、全ファイルのSHA-256と、[`microsoft/table-transformer-detection`](https://huggingface.co/microsoft/table-transformer-detection) までの変換の経路を記録しています(監査したリビジョン `2b99b8b612c9`)。 |
|
| 50 |
+
| 同梱コード | この変換で追加(変換元には無い): `table_transformer_mlx.py`。この変換のために書いた平文のソース(推論・変換の補助)で、importや実行をしない限り動きません。ハッシュは下記。使う前に中身をご確認ください。 |
|
| 51 |
+
| 安全性の挙動 | 対象外: 指示に従うチャットモデルではないため、指示への挙動を試験する対象がありません。 |
|
| 52 |
+
|
| 53 |
+
### 同じモデルの他の変換版ではなく、これを選ぶ理由
|
| 54 |
+
|
| 55 |
+
自分で作っていない変換版が何を変えたのかは、普通は分かりません。この版は、全ファイルにハッシュがあり、変換元までの系譜が機械可読で、1コマンドで再現できます。 再現のコマンドは末尾にあります。
|
| 56 |
+
|
| 57 |
+
### 範囲
|
| 58 |
+
|
| 59 |
+
この監査の対象は、配布物(ファイル・系譜)です。重みのバックドアの検査は含みません。モデルの挙動は変換元に由来し、形式変換や量子化で良くも悪くも変わりうるため、変換前後の差は保証しません。
|
| 60 |
+
|
| 61 |
+
### チェックサム (SHA-256)
|
| 62 |
+
|
| 63 |
+
上記の英語セクション��同じです([`bom.json`](bom.json) にも機械可読で記載)。
|
| 64 |
+
|
| 65 |
+
### 再現方法
|
| 66 |
+
|
| 67 |
+
上記の英語セクションと同じコマンドです。
|
| 68 |
+
|
| 69 |
---
|
| 70 |
|
| 71 |
+
[model-audit-lite](https://github.com/masahirocom/model-audit-lite) (MIT License) — you can run the same audit on your own models. / 自分のモデルにも同じ監査を適用できます。
|
bom.json
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bomFormat": "CycloneDX",
|
| 3 |
+
"specVersion": "1.6",
|
| 4 |
+
"serialNumber": "urn:uuid:db35b4fe-0c75-428c-a6d2-7a871716e852",
|
| 5 |
+
"version": 1,
|
| 6 |
+
"metadata": {
|
| 7 |
+
"timestamp": "2026-10-03T12:15:27Z",
|
| 8 |
+
"tools": {
|
| 9 |
+
"components": [
|
| 10 |
+
{
|
| 11 |
+
"type": "application",
|
| 12 |
+
"name": "model-audit-lite",
|
| 13 |
+
"version": "0.5.2"
|
| 14 |
+
}
|
| 15 |
+
]
|
| 16 |
+
},
|
| 17 |
+
"component": {
|
| 18 |
+
"type": "machine-learning-model",
|
| 19 |
+
"bom-ref": "hf:masahiroid/table-transformer-detection-mlx@2b99b8b612c961f76669b704057c5d2e1ee3fcef",
|
| 20 |
+
"name": "masahiroid/table-transformer-detection-mlx",
|
| 21 |
+
"version": "2b99b8b612c961f76669b704057c5d2e1ee3fcef"
|
| 22 |
+
}
|
| 23 |
+
},
|
| 24 |
+
"components": [
|
| 25 |
+
{
|
| 26 |
+
"type": "machine-learning-model",
|
| 27 |
+
"bom-ref": "hf:masahiroid/table-transformer-detection-mlx@2b99b8b612c961f76669b704057c5d2e1ee3fcef",
|
| 28 |
+
"name": "masahiroid/table-transformer-detection-mlx",
|
| 29 |
+
"externalReferences": [
|
| 30 |
+
{
|
| 31 |
+
"type": "distribution",
|
| 32 |
+
"url": "https://huggingface.co/masahiroid/table-transformer-detection-mlx"
|
| 33 |
+
}
|
| 34 |
+
],
|
| 35 |
+
"version": "2b99b8b612c961f76669b704057c5d2e1ee3fcef",
|
| 36 |
+
"licenses": [
|
| 37 |
+
{
|
| 38 |
+
"license": {
|
| 39 |
+
"id": "mit"
|
| 40 |
+
}
|
| 41 |
+
}
|
| 42 |
+
],
|
| 43 |
+
"components": [
|
| 44 |
+
{
|
| 45 |
+
"type": "file",
|
| 46 |
+
"bom-ref": "hf:masahiroid/table-transformer-detection-mlx@2b99b8b612c961f76669b704057c5d2e1ee3fcef#model.safetensors",
|
| 47 |
+
"name": "model.safetensors",
|
| 48 |
+
"hashes": [
|
| 49 |
+
{
|
| 50 |
+
"alg": "SHA-256",
|
| 51 |
+
"content": "a7296b8c8a41ca85b5f37132a9d06c8a067297d7dcc6ad29bcd717d973d9f23e"
|
| 52 |
+
}
|
| 53 |
+
]
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"type": "file",
|
| 57 |
+
"bom-ref": "hf:masahiroid/table-transformer-detection-mlx@2b99b8b612c961f76669b704057c5d2e1ee3fcef#table_transformer_mlx.py",
|
| 58 |
+
"name": "table_transformer_mlx.py",
|
| 59 |
+
"hashes": [
|
| 60 |
+
{
|
| 61 |
+
"alg": "SHA-256",
|
| 62 |
+
"content": "246ead198b6013af0c62890ed8fe1118a1971df237f677b6440d90eb38b38a91"
|
| 63 |
+
}
|
| 64 |
+
]
|
| 65 |
+
}
|
| 66 |
+
],
|
| 67 |
+
"pedigree": {
|
| 68 |
+
"ancestors": [
|
| 69 |
+
{
|
| 70 |
+
"type": "machine-learning-model",
|
| 71 |
+
"bom-ref": "hf:microsoft/table-transformer-detection@2357cbe2b5a5d1c03e54f32764f06058933b65ab",
|
| 72 |
+
"name": "microsoft/table-transformer-detection",
|
| 73 |
+
"externalReferences": [
|
| 74 |
+
{
|
| 75 |
+
"type": "distribution",
|
| 76 |
+
"url": "https://huggingface.co/microsoft/table-transformer-detection"
|
| 77 |
+
}
|
| 78 |
+
],
|
| 79 |
+
"version": "2357cbe2b5a5d1c03e54f32764f06058933b65ab"
|
| 80 |
+
}
|
| 81 |
+
],
|
| 82 |
+
"notes": "Converted/derived from microsoft/table-transformer-detection. Lineage is declared by the publisher; see properties for checks."
|
| 83 |
+
},
|
| 84 |
+
"properties": [
|
| 85 |
+
{
|
| 86 |
+
"name": "model-audit-lite:total-files",
|
| 87 |
+
"value": "5"
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"name": "model-audit-lite:risky-pickle-files",
|
| 91 |
+
"value": "0"
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"name": "model-audit-lite:custom-code-files",
|
| 95 |
+
"value": "1"
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"name": "model-audit-lite:custom-code-file",
|
| 99 |
+
"value": "table_transformer_mlx.py"
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"name": "model-audit-lite:formats",
|
| 103 |
+
"value": "safetensors,mlx"
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"name": "model-audit-lite:derived-from",
|
| 107 |
+
"value": "microsoft/table-transformer-detection"
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"name": "model-audit-lite:chat-template-changed",
|
| 111 |
+
"value": "false"
|
| 112 |
+
}
|
| 113 |
+
]
|
| 114 |
+
}
|
| 115 |
+
]
|
| 116 |
+
}
|