Add Resemblyzer torch-native model c0ca900
Project Beatrice commited on
How to use prj-beatrice/resemblyzer-torch-native with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="prj-beatrice/resemblyzer-torch-native", trust_remote_code=True) # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("prj-beatrice/resemblyzer-torch-native", trust_remote_code=True, device_map="auto")