Run this model with HF Jobs
Run UiPath/pix2struct-vision-base 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-base. 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-base 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-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use UiPath/pix2struct-vision-base with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("UiPath/pix2struct-vision-base") model = AutoModel.from_pretrained("UiPath/pix2struct-vision-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload model
Browse filesFiles changed (2)
- config.jsonAdded+28
- pytorch_model.binAdded+3
12345678910111213141516171819202122232425262728{ "architectures": [ "Pix2StructVisionModel" ], "attention_dropout": 0.2, "d_ff": 2048, "d_kv": 64, "dense_act_fn": "gelu_new", "dropout_rate": 0.2, "hidden_dropout_prob": 0.2, "hidden_size": 768, "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": 12, "num_channels": 3, "num_hidden_layers": 12, "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:6d6ebda87eaf5b19e1ec9be1ee7ee751a17fed9befc06979915fe9e41cdd8d50size 367379601config.jsonAdded+28
pytorch_model.binAdded+3