Transformers How to use hf-internal-testing/tiny-random-imagegpt with Transformers:
# Load model directly
from transformers import AutoImageProcessor, ImageGPTForCausalImageModeling
processor = AutoImageProcessor.from_pretrained("hf-internal-testing/tiny-random-imagegpt")
model = ImageGPTForCausalImageModeling.from_pretrained("hf-internal-testing/tiny-random-imagegpt")