Instructions to use mdevst/trocr-large-handwritten with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mdevst/trocr-large-handwritten 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="mdevst/trocr-large-handwritten")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("mdevst/trocr-large-handwritten") model = AutoModelForMultimodalLM.from_pretrained("mdevst/trocr-large-handwritten", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Delete decoder_model_merged.onnx
Browse files
decoder_model_merged.onnx
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b61abcbc4efdebe624c2ce198156c9bd55d72378b9c78f8f1a5eb352e5a3e001
|
| 3 |
-
size 1221209247
|
|
|
|
|
|
|
|
|
|
|
|