Run this model with HF Jobs
Run kunal18/Vilt_Model 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/kunal18/Vilt_Model. 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/kunal18/Vilt_Model 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 kunal18/Vilt_Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kunal18/Vilt_Model with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "visual-question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("visual-question-answering", model="kunal18/Vilt_Model")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForVisualQuestionAnswering processor = AutoProcessor.from_pretrained("kunal18/Vilt_Model") model = AutoModelForVisualQuestionAnswering.from_pretrained("kunal18/Vilt_Model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 200
Browse filesFiles changed (10)
- config.jsonAdded
- model.safetensorsAdded+3
- preprocessor_config.jsonAdded+40
- runs/Apr01_15-36-41_c2179/events.out.tfevents.1712000241.c2179.25857.0Added+3
- runs/Apr01_15-36-41_c2179/events.out.tfevents.1712000546.c2179.25857.1Added+3
- special_tokens_map.jsonAdded+37
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+56
- training_args.binAdded+3
- vocab.txtAdded
123version https://git-lfs.github.com/spec/v1oid sha256:18776e2891efbd5b64fefa4d6e305a4cfbb5198da3fd09ec69da6f90a8c90dcdsize 46132911612345678910111213141516171819202122232425262728293031323334353637383940{ "_valid_processor_keys": [ "images", "do_resize", "size", "size_divisor", "resample", "do_rescale", "rescale_factor", "do_normalize", "image_mean", "image_std", "do_pad", "return_tensors", "data_format", "input_data_format" ], "do_normalize": true, "do_pad": true, "do_rescale": true, "do_resize": true, "image_mean": [ 0.5, 0.5, 0.5 ], "image_processor_type": "ViltImageProcessor", "image_std": [ 0.5, 0.5, 0.5 ], "processor_class": "ViltProcessor", "resample": 3, "rescale_factor": 0.00392156862745098, "size": { "shortest_edge": 384 }, "size_divisor": 32}123version https://git-lfs.github.com/spec/v1oid sha256:e0a7725ac75afa613d346cabaefa9601fbb23cb7b9ba6c12de66121e8e3ffff9size 121173123version https://git-lfs.github.com/spec/v1oid sha256:d22e53562e167ca4df7a2344f1c65224bf8ce23fffed53b79e879899d77e46d7size 12200912345678910111213141516171819202122232425262728293031323334353637{ "cls_token": { "content": "[CLS]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "mask_token": { "content": "[MASK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "[PAD]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "sep_token": { "content": "[SEP]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "unk_token": { "content": "[UNK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ "added_tokens_decoder": { "0": { "content": "[PAD]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "100": { "content": "[UNK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "101": { "content": "[CLS]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "102": { "content": "[SEP]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "103": { "content": "[MASK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "clean_up_tokenization_spaces": true, "cls_token": "[CLS]", "do_lower_case": true, "mask_token": "[MASK]", "model_max_length": 40, "pad_token": "[PAD]", "processor_class": "ViltProcessor", "sep_token": "[SEP]", "strip_accents": null, "tokenize_chinese_chars": true, "tokenizer_class": "BertTokenizer", "unk_token": "[UNK]"}123version https://git-lfs.github.com/spec/v1oid sha256:f605df1a328c4d14f2e7162774f795e08529a4ed95358560e672b5bd3b76d6f8size 4920config.jsonAdded
model.safetensorsAdded+3
preprocessor_config.jsonAdded+40
runs/Apr01_15-36-41_c2179/events.out.tfevents.1712000241.c2179.25857.0Added+3
runs/Apr01_15-36-41_c2179/events.out.tfevents.1712000546.c2179.25857.1Added+3
special_tokens_map.jsonAdded+37
tokenizer.jsonAdded
tokenizer_config.jsonAdded+56
training_args.binAdded+3
vocab.txtAdded