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:
- 21e14b87bfc9a88c5bae3b71c25df3735db352b9aca75092f1b4da2de52cc94f
- Size of remote file:
- 4.22 kB
- SHA256:
- 7c993f98f6063ff0cb800e08f158acc0ebb2d3c2af87fa0034b7129d0443e01b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.