Update README.md 8ce9942 verified
Brandon B. May commited on
How to use theaiinstitute/theia-tiny-patch16-224-cddsv with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="theaiinstitute/theia-tiny-patch16-224-cddsv", trust_remote_code=True) # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("theaiinstitute/theia-tiny-patch16-224-cddsv", trust_remote_code=True, dtype="auto")