Object Detection
Safetensors
MLX
ax-doclayout-mlx
document-layout
apple-silicon
metal
axq
mxfp8
mixed-precision
Instructions to use AutomatosX/AXDocLayout-M-v1.2-MLX-AXQ-MXFP8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use AutomatosX/AXDocLayout-M-v1.2-MLX-AXQ-MXFP8 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download AutomatosX/AXDocLayout-M-v1.2-MLX-AXQ-MXFP8 --local-dir AXDocLayout-M-v1.2-MLX-AXQ-MXFP8
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download preprocessor_config.json from AutomatosX/AXDocLayout-M-v1.2-MLX-AXQ-MXFP8: direct link, hf CLI and curl.
- Browser
- Download file 353 Bytes
-
https://huggingface.co/AutomatosX/AXDocLayout-M-v1.2-MLX-AXQ-MXFP8/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://AutomatosX/AXDocLayout-M-v1.2-MLX-AXQ-MXFP8/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/AutomatosX/AXDocLayout-M-v1.2-MLX-AXQ-MXFP8/resolve/main/preprocessor_config.json
353 Bytes
| {"channel_order":"RGB","input_dtype":"uint8","input_layout":"HWC","interpolation":"bilinear","normalization":{"dtype":"float32","scale":0.00392156862745098},"pad_odd_remainder":"bottom-right","pad_value_rgb":[255,255,255],"preprocess":"rgb-letterbox-1024/1","preserve_aspect_ratio":true,"schema_version":"ax-doclayout.preprocessor-config/1","size":1024} |