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")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("gitlost-murali/pix2struct-refexp-base") model = AutoModelForMultimodalLM.from_pretrained("gitlost-murali/pix2struct-refexp-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from gitlost-murali/pix2struct-refexp-base: direct link, hf CLI and curl.
- Browser
- Download file 1.13 GB
-
https://huggingface.co/gitlost-murali/pix2struct-refexp-base/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://gitlost-murali/pix2struct-refexp-base/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/gitlost-murali/pix2struct-refexp-base/resolve/main/pytorch_model.bin
1.13 GB
- 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.