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