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