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