init commit 00cb8cd
xj commited on
How to use jxu124/TiO with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="jxu124/TiO", trust_remote_code=True) # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("jxu124/TiO", trust_remote_code=True, device_map="auto")