How to use safe-models/ContentVec with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="safe-models/ContentVec")
# Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("safe-models/ContentVec") model = AutoModel.from_pretrained("safe-models/ContentVec")
The community tab is the place to discuss and collaborate with the HF community!