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