Image-Text-to-Text
Transformers
TensorBoard
Safetensors
vision-encoder-decoder
Generated from Trainer
Instructions to use TomasFAV/DonutInvoiceCzechV3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TomasFAV/DonutInvoiceCzechV3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="TomasFAV/DonutInvoiceCzechV3")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("TomasFAV/DonutInvoiceCzechV3") model = AutoModelForMultimodalLM.from_pretrained("TomasFAV/DonutInvoiceCzechV3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use TomasFAV/DonutInvoiceCzechV3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TomasFAV/DonutInvoiceCzechV3" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TomasFAV/DonutInvoiceCzechV3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/TomasFAV/DonutInvoiceCzechV3
- SGLang
How to use TomasFAV/DonutInvoiceCzechV3 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 "TomasFAV/DonutInvoiceCzechV3" \ --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": "TomasFAV/DonutInvoiceCzechV3", "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 "TomasFAV/DonutInvoiceCzechV3" \ --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": "TomasFAV/DonutInvoiceCzechV3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use TomasFAV/DonutInvoiceCzechV3 with Docker Model Runner:
docker model run hf.co/TomasFAV/DonutInvoiceCzechV3
Commit History
-
End of training
Verified signatureb0135c3 -
Model save
Verified signature6a88f74 -
Training in progress, epoch 40
Verified signaturee62641b -
Training in progress, epoch 39
Verified signature3cc0542 -
Training in progress, epoch 38
Verified signature304cf4d -
Training in progress, epoch 37
Verified signaturea0ceb21 -
Training in progress, epoch 36
Verified signature96b5700 -
Training in progress, epoch 35
Verified signature4866ced -
Training in progress, epoch 34
Verified signaturec263929 -
Training in progress, epoch 33
Verified signaturebdcf49e -
Training in progress, epoch 32
Verified signature680cca1 -
Training in progress, epoch 31
Verified signature1c4567d -
Training in progress, epoch 30
Verified signature59c243d -
Training in progress, epoch 29
Verified signaturee93ca86 -
Training in progress, epoch 28
Verified signature4241f2d -
Training in progress, epoch 27
Verified signature4e47c74 -
Training in progress, epoch 26
Verified signature6aed641 -
Training in progress, epoch 25
Verified signaturefbcc6fc -
Training in progress, epoch 24
Verified signature4c83630 -
Training in progress, epoch 23
Verified signaturef74bdc6 -
Training in progress, epoch 22
Verified signature6c6ecf6 -
Training in progress, epoch 21
Verified signature07f7b3c -
Training in progress, epoch 20
Verified signature6ccbb23 -
Training in progress, epoch 19
Verified signatured61acae -
Training in progress, epoch 18
Verified signature112bdd7 -
Training in progress, epoch 17
Verified signaturee7667bc -
Training in progress, epoch 16
Verified signature1ed8f08 -
Training in progress, epoch 15
Verified signature6719ed0 -
Training in progress, epoch 14
Verified signature79ad713 -
Training in progress, epoch 13
Verified signature8c1718a -
Training in progress, epoch 12
Verified signatured47727b -
Training in progress, epoch 11
Verified signatureac236d3 -
Training in progress, epoch 10
Verified signature37e5516 -
Training in progress, epoch 9
Verified signaturedcfa072 -
Training in progress, epoch 8
Verified signature041cd2f -
Training in progress, epoch 7
Verified signaturecc0ac9c -
Training in progress, epoch 6
Verified signature44122cc -
Training in progress, epoch 5
Verified signaturefa2dfa2 -
Training in progress, epoch 4
Verified signaturec66bdc2 -
Training in progress, epoch 3
Verified signaturef8ab64d -
Training in progress, epoch 2
Verified signature88e42e6 -
Training in progress, epoch 1
Verified signature8ef599b -
initial commit
Verified signaturef4fc4d3