Transformers How to use RioJune/AG-KD with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("zero-shot-object-detection", model="RioJune/AG-KD", trust_remote_code=True) # Load model directly
from transformers import AutoProcessor, AutoModelForImageTextToText
processor = AutoProcessor.from_pretrained("RioJune/AG-KD", trust_remote_code=True)
model = AutoModelForImageTextToText.from_pretrained("RioJune/AG-KD", trust_remote_code=True)