SiT: Self-supervised vIsion Transformer
Paper โข 2104.03602 โข Published
Run erow/SiT 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:
Use HF Jobs to fine-tune https://huggingface.co/erow/SiT. 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.
Use HF Jobs to run batch inference with https://huggingface.co/erow/SiT 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.
How to use erow/SiT with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModelForPreTraining
model = AutoModelForPreTraining.from_pretrained("erow/SiT", device_map="auto")SiT is a self-supervised learning model that combines masked image modeling and contrastive learning. The model is trained on ImageNet-1K.
Sara Atito, Muhammad Awais, Josef Kittler
from modeling_sit import ViTSiTForPreTraining
# reload
model = ViTSiTForPreTraining.from_pretrained("erow/SiT")
@inproceedings{atito2023sit,
title={SiT is all you need},
author={Atito, Sara and Awais, Muhammed and Nandam, Srinivasa and Kittler, Josef},
booktitle={2023 IEEE International Conference on Image Processing (ICIP)},
pages={2125--2129},
year={2023},
organization={IEEE}
}