Instructions to use aglaia-models/surya-ocr-2-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use aglaia-models/surya-ocr-2-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir surya-ocr-2-mlx aglaia-models/surya-ocr-2-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download generation_config.json from aglaia-models/surya-ocr-2-mlx: direct link, hf CLI and curl.
- Browser
- Download file 131 Bytes
-
https://huggingface.co/aglaia-models/surya-ocr-2-mlx/resolve/main/generation_config.json
- Command line
-
hf download hf://aglaia-models/surya-ocr-2-mlx/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/aglaia-models/surya-ocr-2-mlx/resolve/main/generation_config.json
131 Bytes
| { | |
| "_from_model_config": true, | |
| "eos_token_id": 2, | |
| "pad_token_id": 0, | |
| "transformers_version": "5.2.0", | |
| "use_cache": true | |
| } | |