Instructions to use gitlost-murali/pix2struct-refexp-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gitlost-murali/pix2struct-refexp-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="gitlost-murali/pix2struct-refexp-base")# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("gitlost-murali/pix2struct-refexp-base") model = AutoModelForImageTextToText.from_pretrained("gitlost-murali/pix2struct-refexp-base") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- eb9a97d9278b49cf07da12fc9bf4b27c4400d77bd4e7c651f47bfc14a0d9378f
- Size of remote file:
- 1.13 GB
- SHA256:
- 2e7624e67de1356a94adf8a748fa601098c900298f1b1919e13b5f86bd7cebfb
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.