Instructions to use alibaba-damo/mgp-str-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alibaba-damo/mgp-str-base with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("image-to-text", model="alibaba-damo/mgp-str-base")# Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("alibaba-damo/mgp-str-base") model = AutoModel.from_pretrained("alibaba-damo/mgp-str-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- b3e332036ef0ac12e97ba20e3fc3e7ae427fe0f3fb61df7ac4a513e2459024d2
- Size of remote file:
- 592 MB
- SHA256:
- 5fd53e97eef15dfaa5dd3a10fd44d4d84ad4927e8def4c2e2cc4f373feef5353
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.