Instructions to use OSTswiss/ReGeo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OSTswiss/ReGeo 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="OSTswiss/ReGeo")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OSTswiss/ReGeo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.fadf2c6
-
add link to demo
Verified signature13e841d
-
Update README.md
Verified signaturece6e624 -
Update README.md
Verified signature3c67fc0 -
add model link to example
Verified signature91ab0ec -
add example inference code
Verified signaturec9ead0f -
Update config.json
Verified signature96d4ee7 -
Rename model-vit-v1-ep16.pt to pytorch_model.bin
Verified signature6374dbd -
Update config.json
Verified signaturea537b20 -
Update config.json
Verified signature7d74ad0 -
rename
Verified signaturebc3fead -
Update README.md
Verified signature3b86aa7 -
Update README.md
Verified signature736cba2 -
Update README.md
Verified signature8c0a182 -
create README
Verified signatureaad006a -
upload model
Verified signature085b09f -
initial commit
Verified signature005270a