Image-Text-to-Text
Transformers
TensorBoard
Safetensors
vision-encoder-decoder
Generated from Trainer
Instructions to use TomasFAV/DonutInvoiceCzechV03 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TomasFAV/DonutInvoiceCzechV03 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="TomasFAV/DonutInvoiceCzechV03")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("TomasFAV/DonutInvoiceCzechV03") model = AutoModelForMultimodalLM.from_pretrained("TomasFAV/DonutInvoiceCzechV03", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use TomasFAV/DonutInvoiceCzechV03 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TomasFAV/DonutInvoiceCzechV03" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TomasFAV/DonutInvoiceCzechV03", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/TomasFAV/DonutInvoiceCzechV03
- SGLang
How to use TomasFAV/DonutInvoiceCzechV03 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/DonutInvoiceCzechV03" \ --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/DonutInvoiceCzechV03", "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/DonutInvoiceCzechV03" \ --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/DonutInvoiceCzechV03", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use TomasFAV/DonutInvoiceCzechV03 with Docker Model Runner:
docker model run hf.co/TomasFAV/DonutInvoiceCzechV03
Commit History
-
Update README.md
Verified signaturef27a346
-
End of training
Verified signature00586f7 -
Model save
Verified signature8eccc97 -
Training in progress, epoch 20
Verified signature73af18a -
Training in progress, epoch 19
Verified signature9e046ce -
Training in progress, epoch 18
Verified signature57d2fcf -
Training in progress, epoch 17
Verified signature94c8cd1 -
Training in progress, epoch 16
Verified signatureaa7b16a -
Training in progress, epoch 15
Verified signature826cf22 -
Training in progress, epoch 14
Verified signature405d623 -
Training in progress, epoch 13
Verified signatureb485fcc -
Training in progress, epoch 12
Verified signaturef89f69d -
Training in progress, epoch 11
Verified signaturefa1d9d6 -
Training in progress, epoch 10
Verified signature9eb82e6 -
Training in progress, epoch 9
Verified signature4d616b8 -
Training in progress, epoch 8
Verified signature3d33179 -
Training in progress, epoch 7
Verified signature33d293b -
Training in progress, epoch 6
Verified signature2e33579 -
Training in progress, epoch 5
Verified signature5a90e54 -
Training in progress, epoch 4
Verified signaturedee9417 -
Training in progress, epoch 3
Verified signature64994e1 -
Training in progress, epoch 2
Verified signature63d19a1 -
Training in progress, epoch 1
Verified signature9235e7a -
initial commit
Verified signaturefadf121