Instructions to use adrianccy/donut-fine-tuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use adrianccy/donut-fine-tuned with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("adrianccy/donut-fine-tuned", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from adrianccy/donut-fine-tuned: direct link, hf CLI and curl.
- Browser
- Download file 404 Bytes
-
https://huggingface.co/adrianccy/donut-fine-tuned/resolve/main/config.json
- Command line
-
hf download hf://adrianccy/donut-fine-tuned/config.json
-
curl -L -o config.json https://huggingface.co/adrianccy/donut-fine-tuned/resolve/main/config.json
404 Bytes
| { | |
| "_name_or_path": "naver-clova-ix/donut-base", | |
| "align_long_axis": false, | |
| "architectures": [ | |
| "DonutModel" | |
| ], | |
| "decoder_layer": 4, | |
| "encoder_layer": [ | |
| 2, | |
| 2, | |
| 14, | |
| 2 | |
| ], | |
| "input_size": [ | |
| 1280, | |
| 960 | |
| ], | |
| "max_length": 768, | |
| "max_position_embeddings": 768, | |
| "model_type": "donut", | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.24.0", | |
| "window_size": 10 | |
| } | |