Instructions to use Mit1208/UDOP-finetuned-DocLayNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Mit1208/UDOP-finetuned-DocLayNet with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Mit1208/UDOP-finetuned-DocLayNet")# Load model directly from transformers import AutoProcessor, AutoModelForTokenClassification processor = AutoProcessor.from_pretrained("Mit1208/UDOP-finetuned-DocLayNet") model = AutoModelForTokenClassification.from_pretrained("Mit1208/UDOP-finetuned-DocLayNet", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -32,8 +32,10 @@ It achieves the following results on the evaluation set:
|
|
| 32 |
|
| 33 |
|
| 34 |
## Training procedure
|
| 35 |
-
Training code:
|
| 36 |
-
|
|
|
|
|
|
|
| 37 |
|
| 38 |
### Training hyperparameters
|
| 39 |
|
|
|
|
| 32 |
|
| 33 |
|
| 34 |
## Training procedure
|
| 35 |
+
### Training code:
|
| 36 |
+
https://github.com/mit1280/Document-AI/blob/main/UDOPEncoderModel_fine_tune_DocLayNet.ipynb
|
| 37 |
+
### Inference code:
|
| 38 |
+
https://github.com/mit1280/Document-AI/blob/main/UDOP_DocLayNet_Inference.ipynb
|
| 39 |
|
| 40 |
### Training hyperparameters
|
| 41 |
|