Image-to-Text
Transformers
Safetensors
vision-encoder-decoder
image-text-to-text
donut
document-parsing
lhdn
ebc
Instructions to use acceler-technology/dev-lhdn-parse-donut-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use acceler-technology/dev-lhdn-parse-donut-model 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="acceler-technology/dev-lhdn-parse-donut-model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("acceler-technology/dev-lhdn-parse-donut-model") model = AutoModelForMultimodalLM.from_pretrained("acceler-technology/dev-lhdn-parse-donut-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training done
Browse files- model.safetensors +1 -1
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 809169048
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e118c677167e77dffbe603917f9e2885550d023c838a9d9bd23d255d7a4364e
|
| 3 |
size 809169048
|