Text-to-Audio
MLX
Safetensors
Chinese
English
audio
sound-effects
audio-generation
apple-silicon
quantized
4bit
Instructions to use mlx-community/MOSS-SoundEffect-MLX-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/MOSS-SoundEffect-MLX-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir MOSS-SoundEffect-MLX-4bit mlx-community/MOSS-SoundEffect-MLX-4bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- LM Studio
Update model card: remove stub, add duration note
Browse files
README.md
CHANGED
|
@@ -46,20 +46,12 @@ This repository contains an MLX-native 4-bit conversion of MOSS SoundEffect for
|
|
| 46 |
Command-line generation with [`mlx-speech`](https://github.com/appautomaton/mlx-speech):
|
| 47 |
|
| 48 |
```bash
|
| 49 |
-
python scripts/
|
| 50 |
--ambient-sound "rolling thunder with steady rainfall on a metal roof" \
|
| 51 |
--duration-seconds 8 \
|
| 52 |
--output outputs/thunder.wav
|
| 53 |
```
|
| 54 |
|
| 55 |
-
Minimal Python usage:
|
| 56 |
-
|
| 57 |
-
```python
|
| 58 |
-
from mlx_speech.generation import MossSoundEffectModel
|
| 59 |
-
|
| 60 |
-
model = MossSoundEffectModel.from_path("mlx-4bit")
|
| 61 |
-
```
|
| 62 |
-
|
| 63 |
## Notes
|
| 64 |
|
| 65 |
- This repo contains the quantized MLX runtime artifact only.
|
|
|
|
| 46 |
Command-line generation with [`mlx-speech`](https://github.com/appautomaton/mlx-speech):
|
| 47 |
|
| 48 |
```bash
|
| 49 |
+
python scripts/generate/moss_sound_effect.py \
|
| 50 |
--ambient-sound "rolling thunder with steady rainfall on a metal roof" \
|
| 51 |
--duration-seconds 8 \
|
| 52 |
--output outputs/thunder.wav
|
| 53 |
```
|
| 54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
## Notes
|
| 56 |
|
| 57 |
- This repo contains the quantized MLX runtime artifact only.
|