Instructions to use scrapegoat/Neural-Audio-Codec with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use scrapegoat/Neural-Audio-Codec with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("scrapegoat/Neural-Audio-Codec", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 271 Bytes
8d7f03b | 1 2 3 4 5 6 7 8 9 | # Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
# flake8: noqa
from .vq import QuantizedResult, ResidualVectorQuantizer
|