How to use mlx-community/MOSS-Audio-Tokenizer-Nano with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="mlx-community/MOSS-Audio-Tokenizer-Nano", trust_remote_code=True)
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mlx-community/MOSS-Audio-Tokenizer-Nano", trust_remote_code=True, dtype="auto")
How to use mlx-community/MOSS-Audio-Tokenizer-Nano with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir MOSS-Audio-Tokenizer-Nano mlx-community/MOSS-Audio-Tokenizer-Nano
The community tab is the place to discuss and collaborate with the HF community!