SAG-ViT / test_model_loading.py
shravvvv's picture
Updated files
a041fbe
raw
history blame contribute delete
225 Bytes
from transformers import AutoModel, AutoConfig
# Load Config and Model
config = AutoConfig.from_pretrained("shravvvv/SAG-ViT")
model = AutoModel.from_pretrained("shravvvv/SAG-ViT", config=config)
# Check Model
print(model)