Run this model with HF Jobs
Run UiPath/pix2struct-vision-large 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 to fine-tune https://huggingface.co/UiPath/pix2struct-vision-large. 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/UiPath/pix2struct-vision-large 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.
Instructions to use UiPath/pix2struct-vision-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use UiPath/pix2struct-vision-large with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("UiPath/pix2struct-vision-large") model = AutoModel.from_pretrained("UiPath/pix2struct-vision-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload model
Browse filesFiles changed (2)
- config.jsonAdded+27
- pytorch_model.binAdded+3
123456789101112131415161718192021222324252627{ "architectures": [ "Pix2StructVisionModel" ], "attention_dropout": 0.0, "d_ff": 3968, "d_kv": 64, "dense_act_fn": "gelu_new", "dropout_rate": 0.0, "hidden_size": 1536, "initializer_factor": 1.0, "initializer_range": 0.02, "layer_norm_bias": false, "layer_norm_eps": 1e-06, "model_type": "pix2struct_vision_model", "num_attention_heads": 24, "num_channels": 3, "num_hidden_layers": 18, "patch_embed_hidden_size": 768, "patch_size": 16, "projection_dim": 768, "relative_attention_max_distance": 128, "relative_attention_num_buckets": 32, "seq_len": 4096, "torch_dtype": "float32", "transformers_version": "4.30.2"}123version https://git-lfs.github.com/spec/v1oid sha256:408da52a1d9ec7fc7b21dd3798abae4deeba02745cf8553f0b83d7acd872c593size 2051301609config.jsonAdded+27
pytorch_model.binAdded+3