Run this model with HF Jobs
Run TomasFAV/Pix2StructCzechInvoiceV0R on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/TomasFAV/Pix2StructCzechInvoiceV0R. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/TomasFAV/Pix2StructCzechInvoiceV0R on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/TomasFAV/Pix2StructCzechInvoiceV0R. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/TomasFAV/Pix2StructCzechInvoiceV0R. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use TomasFAV/Pix2StructCzechInvoiceV0R with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TomasFAV/Pix2StructCzechInvoiceV0R with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="TomasFAV/Pix2StructCzechInvoiceV0R")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("TomasFAV/Pix2StructCzechInvoiceV0R") model = AutoModelForMultimodalLM.from_pretrained("TomasFAV/Pix2StructCzechInvoiceV0R", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use TomasFAV/Pix2StructCzechInvoiceV0R with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TomasFAV/Pix2StructCzechInvoiceV0R" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TomasFAV/Pix2StructCzechInvoiceV0R", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/TomasFAV/Pix2StructCzechInvoiceV0R
- SGLang
How to use TomasFAV/Pix2StructCzechInvoiceV0R 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/Pix2StructCzechInvoiceV0R" \ --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/Pix2StructCzechInvoiceV0R", "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/Pix2StructCzechInvoiceV0R" \ --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/Pix2StructCzechInvoiceV0R", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use TomasFAV/Pix2StructCzechInvoiceV0R with Docker Model Runner:
docker model run hf.co/TomasFAV/Pix2StructCzechInvoiceV0R
Delete runs
Browse filesFiles changed (8)
- runs/Mar22_20-15-29_f19e679754fa/events.out.tfevents.1774210529.f19e679754fa.1384.0Deleted-3
- runs/Mar25_19-33-12_9aa19c99723b/events.out.tfevents.1774467192.9aa19c99723b.792.0Deleted-3
- runs/Mar25_20-21-43_81ab0780e482/events.out.tfevents.1774470103.81ab0780e482.673.0Deleted-3
- runs/Mar25_20-22-14_81ab0780e482/events.out.tfevents.1774470134.81ab0780e482.673.1Deleted-3
- runs/Mar25_21-04-39_ba3ce52423f7/events.out.tfevents.1774472679.ba3ce52423f7.711.0Deleted-3
- runs/Mar25_21-21-03_ba3ce52423f7/events.out.tfevents.1774473663.ba3ce52423f7.5607.0Deleted-3
- runs/Mar25_22-16-03_ba3ce52423f7/events.out.tfevents.1774476963.ba3ce52423f7.5607.1Deleted-3
- runs/Mar25_22-39-53_ba3ce52423f7/events.out.tfevents.1774478393.ba3ce52423f7.26611.0Deleted-3
123version https://git-lfs.github.com/spec/v1oid sha256:25ed1f20eadd7f1d4275e01f1f92d48cf9546013bf53c0417fe6f0f4af38ee4esize 34656123version https://git-lfs.github.com/spec/v1oid sha256:a6242849d44b31e7683beb066bc6b3c0cfd0d03edf224c1a8c954d8dce159f1dsize 20519123version https://git-lfs.github.com/spec/v1oid sha256:965b08f492d899ef18e37ff225f2547bd5694f83c1863bf1cf5ff9d04fb398c7size 6465123version https://git-lfs.github.com/spec/v1oid sha256:94258889e3fa6267aad329ec8f64329102cc3d199c31519e6c015d63c3b3a9b2size 46289123version https://git-lfs.github.com/spec/v1oid sha256:286b4d0c0d38cd6d773c81df9b89a1cea1afe235945e759e4c7add7394167899size 19815123version https://git-lfs.github.com/spec/v1oid sha256:2cfe6b6bf747276442480b25b7a51c733bbb2889e6c3f6f20ac08bbaeb726cd7size 73761123version https://git-lfs.github.com/spec/v1oid sha256:4806a4cd6f0bc8edc31e671aaf8011b230e4b62083a0eeb7073db2fa69a08568size 42021123version https://git-lfs.github.com/spec/v1oid sha256:57fcc8d8dcfddc91b8cdf32ac0c8f81d87908a5be2ec7bc30de2970b71f7f8b7size 93503runs/Mar22_20-15-29_f19e679754fa/events.out.tfevents.1774210529.f19e679754fa.1384.0Deleted-3
runs/Mar25_19-33-12_9aa19c99723b/events.out.tfevents.1774467192.9aa19c99723b.792.0Deleted-3
runs/Mar25_20-21-43_81ab0780e482/events.out.tfevents.1774470103.81ab0780e482.673.0Deleted-3
runs/Mar25_20-22-14_81ab0780e482/events.out.tfevents.1774470134.81ab0780e482.673.1Deleted-3
runs/Mar25_21-04-39_ba3ce52423f7/events.out.tfevents.1774472679.ba3ce52423f7.711.0Deleted-3
runs/Mar25_21-21-03_ba3ce52423f7/events.out.tfevents.1774473663.ba3ce52423f7.5607.0Deleted-3
runs/Mar25_22-16-03_ba3ce52423f7/events.out.tfevents.1774476963.ba3ce52423f7.5607.1Deleted-3
runs/Mar25_22-39-53_ba3ce52423f7/events.out.tfevents.1774478393.ba3ce52423f7.26611.0Deleted-3