Instructions to use microsoft/OmniParser-v2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/OmniParser-v2.0 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("microsoft/OmniParser-v2.0", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from microsoft/OmniParser-v2.0: direct link, hf CLI and curl.
- Browser
- Download file 0 Bytes
-
https://huggingface.co/microsoft/OmniParser-v2.0/resolve/refs%2Fpr%2F21/config.json
- Command line
-
hf download hf://microsoft/OmniParser-v2.0@refs/pr/21/config.json
-
curl -L -o config.json https://huggingface.co/microsoft/OmniParser-v2.0/resolve/refs%2Fpr%2F21/config.json
0 Bytes
Invalid JSON:Unexpected end of JSON input