Instructions to use qantev/trocr-large-spanish with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use qantev/trocr-large-spanish 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="qantev/trocr-large-spanish")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("qantev/trocr-large-spanish") model = AutoModelForMultimodalLM.from_pretrained("qantev/trocr-large-spanish", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- ab89fe53b64323b75cda5a799375818db271e77cea9b40181c199d8039571e7b
- Size of remote file:
- 2.44 GB
- SHA256:
- 4d1613c357e404fa580a79cab1b60adabd09f6536d53112bfb9599ce8f7840e9
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.