Instructions to use pedro1111/layout2_large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pedro1111/layout2_large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="pedro1111/layout2_large")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForDocumentQuestionAnswering processor = AutoProcessor.from_pretrained("pedro1111/layout2_large") model = AutoModelForDocumentQuestionAnswering.from_pretrained("pedro1111/layout2_large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.75cf64a
-
End of training
Verified signature3a6bfe1 -
Training in progress, step 4400
Verified signature53fc58a -
Training in progress, step 4200
Verified signature0445f11 -
Training in progress, step 4000
Verified signature53725eb -
Training in progress, step 3800
Verified signatureecce6ea -
Training in progress, step 3600
Verified signature81fad6d -
Training in progress, step 3400
Verified signature013c972 -
Training in progress, step 3200
Verified signature3acf9fd -
Training in progress, step 3000
Verified signature33e0b45 -
Training in progress, step 2800
Verified signature9da2770 -
Training in progress, step 2600
Verified signature6ce7adb -
Training in progress, step 2400
Verified signaturee36079a -
Training in progress, step 2200
Verified signaturec78f673 -
Training in progress, step 2000
Verified signature152fc13 -
Training in progress, step 1800
Verified signaturee0890c5 -
Training in progress, step 1600
Verified signaturef9eb5e0 -
Training in progress, step 1400
Verified signature8ca7276 -
Training in progress, step 1200
Verified signature5b2b6ee -
Training in progress, step 1000
Verified signature3898a77 -
Training in progress, step 800
Verified signaturea4f7038 -
Training in progress, step 600
Verified signature91343ec -
Training in progress, step 400
Verified signature5443079 -
Training in progress, step 200
Verified signatureaf240a5 -
initial commit
Verified signature40786ea