File size: 258 Bytes
dd9585a
 
 
 
 
1
2
3
4
5
# Load model directly
from transformers import AutoProcessor, AutoModelForImageTextToText

processor = AutoProcessor.from_pretrained("bytedance-research/UI-TARS-2B-SFT")
model = AutoModelForImageTextToText.from_pretrained("bytedance-research/UI-TARS-2B-SFT")