Image-Text-to-Text
Transformers
TensorBoard
Safetensors
pix2struct
Generated from Trainer
invoice-processing
information-extraction
czech-language
document-ai
multimodal-model
generative-model
synthetic-data
Instructions to use TomasFAV/Pix2StructCzechInvoiceV0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TomasFAV/Pix2StructCzechInvoiceV0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="TomasFAV/Pix2StructCzechInvoiceV0")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("TomasFAV/Pix2StructCzechInvoiceV0") model = AutoModelForMultimodalLM.from_pretrained("TomasFAV/Pix2StructCzechInvoiceV0", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use TomasFAV/Pix2StructCzechInvoiceV0 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TomasFAV/Pix2StructCzechInvoiceV0" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TomasFAV/Pix2StructCzechInvoiceV0", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/TomasFAV/Pix2StructCzechInvoiceV0
- SGLang
How to use TomasFAV/Pix2StructCzechInvoiceV0 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/Pix2StructCzechInvoiceV0" \ --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/Pix2StructCzechInvoiceV0", "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/Pix2StructCzechInvoiceV0" \ --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/Pix2StructCzechInvoiceV0", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use TomasFAV/Pix2StructCzechInvoiceV0 with Docker Model Runner:
docker model run hf.co/TomasFAV/Pix2StructCzechInvoiceV0
Delete runs
Browse files- runs/Dec29_20-07-00_2e8f3bb6a9b3/events.out.tfevents.1767038821.2e8f3bb6a9b3.786.0 +0 -3
- runs/Dec29_21-19-00_2e8f3bb6a9b3/events.out.tfevents.1767043158.2e8f3bb6a9b3.20933.0 +0 -3
- runs/Dec29_22-19-42_909928e8acea/events.out.tfevents.1767046791.909928e8acea.2636.0 +0 -3
- runs/Dec30_11-36-31_46327ada4835/events.out.tfevents.1767094593.46327ada4835.830.0 +0 -3
- runs/Dec30_13-20-55_46327ada4835/events.out.tfevents.1767100858.46327ada4835.29676.0 +0 -3
- runs/Dec30_13-22-15_46327ada4835/events.out.tfevents.1767100936.46327ada4835.29676.1 +0 -3
- runs/Jan17_20-24-26_64770ddf2cf9/events.out.tfevents.1768681469.64770ddf2cf9.1478.0 +0 -3
- runs/Jan17_20-24-37_64770ddf2cf9/events.out.tfevents.1768681479.64770ddf2cf9.1478.1 +0 -3
- runs/Jan17_23-13-24_faf17d8c1870/events.out.tfevents.1768691607.faf17d8c1870.2899.0 +0 -3
- runs/Jan17_23-14-16_faf17d8c1870/events.out.tfevents.1768691658.faf17d8c1870.4081.0 +0 -3
- runs/Jan17_23-15-16_faf17d8c1870/events.out.tfevents.1768691717.faf17d8c1870.4411.0 +0 -3
- runs/Jan17_23-35-12_faf17d8c1870/events.out.tfevents.1768692915.faf17d8c1870.4411.1 +0 -3
- runs/Jan22_19-30-25_696b0f7cfc0e/events.out.tfevents.1769110239.696b0f7cfc0e.1522.0 +0 -3
- runs/Jan22_19-31-18_696b0f7cfc0e/events.out.tfevents.1769110281.696b0f7cfc0e.1522.1 +0 -3
- runs/Jan22_19-54-40_696b0f7cfc0e/events.out.tfevents.1769111683.696b0f7cfc0e.10150.0 +0 -3
- runs/Jan22_20-11-13_696b0f7cfc0e/events.out.tfevents.1769112676.696b0f7cfc0e.14377.0 +0 -3
- runs/Jan22_20-28-03_696b0f7cfc0e/events.out.tfevents.1769113685.696b0f7cfc0e.18855.0 +0 -3
runs/Dec29_20-07-00_2e8f3bb6a9b3/events.out.tfevents.1767038821.2e8f3bb6a9b3.786.0
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:972b4ff07064afaf6c0d784bfe266db4f2746c1e55f221a2bd8043fff32541da
|
| 3 |
-
size 19347
|
|
|
|
|
|
|
|
|
|
|
|
runs/Dec29_21-19-00_2e8f3bb6a9b3/events.out.tfevents.1767043158.2e8f3bb6a9b3.20933.0
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f281a3f9c6000f2fb5962de99d13b479a5320b6903270f8d46882359435c12b4
|
| 3 |
-
size 9922
|
|
|
|
|
|
|
|
|
|
|
|
runs/Dec29_22-19-42_909928e8acea/events.out.tfevents.1767046791.909928e8acea.2636.0
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:8af3271fe1af77389f2fa6abedc416596c39cb77ce5c597ba4631e98fa3dc3cd
|
| 3 |
-
size 12574
|
|
|
|
|
|
|
|
|
|
|
|
runs/Dec30_11-36-31_46327ada4835/events.out.tfevents.1767094593.46327ada4835.830.0
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:6b932416717096c0b3a09ffc7210ab44687a79149fda07be023e392dfec63566
|
| 3 |
-
size 37553
|
|
|
|
|
|
|
|
|
|
|
|
runs/Dec30_13-20-55_46327ada4835/events.out.tfevents.1767100858.46327ada4835.29676.0
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:47b8eeac73036e6c39300681ff3d69512a4021828b962bd3086865665e0c0556
|
| 3 |
-
size 6176
|
|
|
|
|
|
|
|
|
|
|
|
runs/Dec30_13-22-15_46327ada4835/events.out.tfevents.1767100936.46327ada4835.29676.1
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f37f88b61a65bb9edb7cb42d95ba1b7e9ac2ec91ccbe3557238d6bdab57ecfe2
|
| 3 |
-
size 8592
|
|
|
|
|
|
|
|
|
|
|
|
runs/Jan17_20-24-26_64770ddf2cf9/events.out.tfevents.1768681469.64770ddf2cf9.1478.0
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:8edd6950a9a5556677b403b740bc29f7010d04349dd76d27791b816f20b6e244
|
| 3 |
-
size 6176
|
|
|
|
|
|
|
|
|
|
|
|
runs/Jan17_20-24-37_64770ddf2cf9/events.out.tfevents.1768681479.64770ddf2cf9.1478.1
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:0f6a05969a4f1e73e2c55eb3df3a379fb5c7ad3fbd7f798661c683fe54a9118c
|
| 3 |
-
size 8226
|
|
|
|
|
|
|
|
|
|
|
|
runs/Jan17_23-13-24_faf17d8c1870/events.out.tfevents.1768691607.faf17d8c1870.2899.0
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e057fb4008a1eb5054ce59e61889c68c1ee633e7946e2ef06f93f794bf2cf6fc
|
| 3 |
-
size 4184
|
|
|
|
|
|
|
|
|
|
|
|
runs/Jan17_23-14-16_faf17d8c1870/events.out.tfevents.1768691658.faf17d8c1870.4081.0
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:edde2f06d18e2ad735d77d93b2052e930b34429b02eeffc78b2f84d8567c1677
|
| 3 |
-
size 4184
|
|
|
|
|
|
|
|
|
|
|
|
runs/Jan17_23-15-16_faf17d8c1870/events.out.tfevents.1768691717.faf17d8c1870.4411.0
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d80934d4c66c7bfd344968c56eee4a3645c98991420bd6f49a184b3e519d4542
|
| 3 |
-
size 27435
|
|
|
|
|
|
|
|
|
|
|
|
runs/Jan17_23-35-12_faf17d8c1870/events.out.tfevents.1768692915.faf17d8c1870.4411.1
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:12a47886030b35d1e2da7026cc1eed4992f7a09102132d8972f8cb7aa204d655
|
| 3 |
-
size 27253
|
|
|
|
|
|
|
|
|
|
|
|
runs/Jan22_19-30-25_696b0f7cfc0e/events.out.tfevents.1769110239.696b0f7cfc0e.1522.0
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:41a7a19986895bdc94ed9a20c8389154bca45a2272508047da1f3e650e525cf2
|
| 3 |
-
size 6155
|
|
|
|
|
|
|
|
|
|
|
|
runs/Jan22_19-31-18_696b0f7cfc0e/events.out.tfevents.1769110281.696b0f7cfc0e.1522.1
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c0041c1d0d5fe3819f0ed7d04d52f4697af05c3e1d44501b17b74f559a5e6693
|
| 3 |
-
size 12695
|
|
|
|
|
|
|
|
|
|
|
|
runs/Jan22_19-54-40_696b0f7cfc0e/events.out.tfevents.1769111683.696b0f7cfc0e.10150.0
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:da483f23ef98790f43fd47b035a1a618148e03a008be53a329ee5302f7c5747f
|
| 3 |
-
size 12695
|
|
|
|
|
|
|
|
|
|
|
|
runs/Jan22_20-11-13_696b0f7cfc0e/events.out.tfevents.1769112676.696b0f7cfc0e.14377.0
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:88e5dd6b3fb0f91e7e7181775b27fd99aab19e8da5de5fe71b01f0360236d928
|
| 3 |
-
size 16071
|
|
|
|
|
|
|
|
|
|
|
|
runs/Jan22_20-28-03_696b0f7cfc0e/events.out.tfevents.1769113685.696b0f7cfc0e.18855.0
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:1bae287fc06d471002e899c25a51e3f91c454f6c580af2fdf01992eac445bd04
|
| 3 |
-
size 59113
|
|
|
|
|
|
|
|
|
|
|
|