initial commit 5ba40bd verified
Brandon May commited on
How to use 229nagibator229/theia-small-patch16-224-cdiv with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="229nagibator229/theia-small-patch16-224-cdiv", trust_remote_code=True) # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("229nagibator229/theia-small-patch16-224-cdiv", trust_remote_code=True, dtype="auto")