--- 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).