How to use voidful/hubert-tiny-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="voidful/hubert-tiny-v2")
# Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("voidful/hubert-tiny-v2") model = AutoModel.from_pretrained("voidful/hubert-tiny-v2")
What is a pickle import?