Transformers How to use ybelkada/tiny-random-flava with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="ybelkada/tiny-random-flava") # Load model directly
from transformers import AutoProcessor, AutoModel
processor = AutoProcessor.from_pretrained("ybelkada/tiny-random-flava")
model = AutoModel.from_pretrained("ybelkada/tiny-random-flava")