How to use descript/dac_16khz with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="descript/dac_16khz")
# Load model directly from transformers import AutoFeatureExtractor, AutoModel extractor = AutoFeatureExtractor.from_pretrained("descript/dac_16khz") model = AutoModel.from_pretrained("descript/dac_16khz")
Fixing hop length, see https://github.com/huggingface/transformers/pull/39313
· Sign up or log in to comment