Instructions to use LudovA/donut_tests_newcode_E200 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LudovA/donut_tests_newcode_E200 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="LudovA/donut_tests_newcode_E200")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("LudovA/donut_tests_newcode_E200") model = AutoModelForMultimodalLM.from_pretrained("LudovA/donut_tests_newcode_E200", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use LudovA/donut_tests_newcode_E200 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "LudovA/donut_tests_newcode_E200" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "LudovA/donut_tests_newcode_E200", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/LudovA/donut_tests_newcode_E200
- SGLang
How to use LudovA/donut_tests_newcode_E200 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "LudovA/donut_tests_newcode_E200" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "LudovA/donut_tests_newcode_E200", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "LudovA/donut_tests_newcode_E200" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "LudovA/donut_tests_newcode_E200", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use LudovA/donut_tests_newcode_E200 with Docker Model Runner:
docker model run hf.co/LudovA/donut_tests_newcode_E200
Commit History
-
Training done
19a2441 -
Training done
ea166d7 -
Training in progress, epoch 199
6fa5003 -
Training in progress, epoch 198
fff0925 -
Training in progress, epoch 197
38ed19f -
Training in progress, epoch 196
c0a1944 -
Training in progress, epoch 195
36eadf8 -
Training in progress, epoch 194
46ee9ff -
Training in progress, epoch 193
2304d16 -
Training in progress, epoch 192
4e33ed4 -
Training in progress, epoch 191
218929d -
Training in progress, epoch 190
a127b5e -
Training in progress, epoch 189
3e88770 -
Training in progress, epoch 188
2facf59 -
Training in progress, epoch 187
96ac781 -
Training in progress, epoch 186
b209233 -
Training in progress, epoch 185
99f0546 -
Training in progress, epoch 184
0e22b73 -
Training in progress, epoch 183
916b402 -
Training in progress, epoch 182
e06f947 -
Training in progress, epoch 181
4b4ad75 -
Training in progress, epoch 180
e60257e -
Training in progress, epoch 179
4b583b5 -
Training in progress, epoch 178
a808b26 -
Training in progress, epoch 177
1c7e504 -
Training in progress, epoch 176
2b1be89 -
Training in progress, epoch 175
2e4b529 -
Training in progress, epoch 174
4198613 -
Training in progress, epoch 173
ea9b6b9 -
Training in progress, epoch 172
ab54782 -
Training in progress, epoch 171
2edc6c3 -
Training in progress, epoch 170
15d0176 -
Training in progress, epoch 169
b4d8d42 -
Training in progress, epoch 168
75c4490 -
Training in progress, epoch 167
9e62553 -
Training in progress, epoch 166
b9b2f4a -
Training in progress, epoch 165
e9f3eb3 -
Training in progress, epoch 164
5c92e7c -
Training in progress, epoch 163
f8f0e80 -
Training in progress, epoch 162
c405e5d -
Training in progress, epoch 161
9f2c0da -
Training in progress, epoch 160
14f88f5 -
Training in progress, epoch 159
a7d0a75 -
Training in progress, epoch 158
b140b1b -
Training in progress, epoch 157
5e20de2 -
Training in progress, epoch 156
1dd228c -
Training in progress, epoch 155
8439632 -
Training in progress, epoch 154
2939611 -
Training in progress, epoch 153
d5f747f -
Training in progress, epoch 152
40f03ec