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 in progress, epoch 2
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:63fbf4759d8d9c5d4f38a8f89e883c850a40fa22ebb3ccfa762bc14266c2c699
|
| 3 |
size 809169048
|