Feature Extraction
Transformers
Safetensors
moss-audio-tokenizer
audio
audio-tokenizer
neural-codec
moss-tts-family
float16
custom_code
Run this model with HF Jobs
Run Oulasong/MOSS-Audio-Tokenizer-fp16 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Oulasong/MOSS-Audio-Tokenizer-fp16. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Oulasong/MOSS-Audio-Tokenizer-fp16 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Oulasong/MOSS-Audio-Tokenizer-fp16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Oulasong/MOSS-Audio-Tokenizer-fp16 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Oulasong/MOSS-Audio-Tokenizer-fp16", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Oulasong/MOSS-Audio-Tokenizer-fp16", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from Oulasong/MOSS-Audio-Tokenizer-fp16: direct link, hf CLI and curl.
- Browser
- Download file 1.33 kB
-
https://huggingface.co/Oulasong/MOSS-Audio-Tokenizer-fp16/resolve/main/README.md
- Command line
-
hf download hf://Oulasong/MOSS-Audio-Tokenizer-fp16/README.md
-
curl -L -o README.md https://huggingface.co/Oulasong/MOSS-Audio-Tokenizer-fp16/resolve/main/README.md
1.33 kB
| license: apache-2.0 | |
| library_name: transformers | |
| base_model: OpenMOSS-Team/MOSS-Audio-Tokenizer | |
| tags: | |
| - audio | |
| - audio-tokenizer | |
| - neural-codec | |
| - moss-tts-family | |
| - float16 | |
| # MOSS-Audio-Tokenizer, float16 | |
| [OpenMOSS-Team/MOSS-Audio-Tokenizer](https://huggingface.co/OpenMOSS-Team/MOSS-Audio-Tokenizer) | |
| (revision `3cd226ba`) with its weights stored in float16: 3.3 GB instead of 7.1 GB. Code, config and | |
| architecture are unchanged; see the original model card for what the tokenizer is and how it was trained. | |
| Used by [ThunderTalk](https://github.com/realAllenSong/ThunderTalk) for MOSS-TTSD multi-speaker dialogue on | |
| Apple Silicon (MLX), which loads this folder as the dialogue model's audio tokenizer. | |
| ## How close it is to the original | |
| Measured on an M3 Max (36 GB), macOS 15: | |
| - Decoding the same codes with both: signal-to-noise ratio of the float16 output against the float32 output, | |
| 60.5 dB. | |
| - Encoding the same audio with both: 98.3 % of the codes identical. | |
| The mlx-community 8-bit conversion of this tokenizer did not load with mlx-audio's MOSS-TTSD code (tensor names | |
| differ), which is why this float16 copy exists. | |
| ## License | |
| Apache-2.0, as the original ([LICENSE](LICENSE)). MOSS-Audio-Tokenizer by the OpenMOSS team; converted to | |
| float16 by [realAllenSong](https://github.com/realAllenSong). | |