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:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("microsoft/OmniParser-v2.0", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
How do i run the safetensor icon_caption model/is there a .pt version?
#14
by RishaanDevz - opened
I can run the .pt model from icon_detect but I can't seem to figure out how to run the .safetensors version in icon_caption (the version i need!). I'm running on the cloud service Modal. does anyone by chance have like code for that or smth? or maybe a pt version of the captioning model? thanks!