Tiny dummy models
Collection
Randomly initialized tiny models for debugging/testing purpose • 176 items • Updated • 6
# Load model directly
from transformers import AutoImageProcessor, AutoModel
processor = AutoImageProcessor.from_pretrained("yujiepan/tiny-random-SwinModel")
model = AutoModel.from_pretrained("yujiepan/tiny-random-SwinModel")No model card
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="yujiepan/tiny-random-SwinModel")