Text Generation
MLX
Safetensors
English
nvfp4
4-bit precision
quantized
mixture-of-experts
apple-silicon
custom_code
audio
audio-language-modeling
audio-understanding
text-to-speech
text-to-audio
speech-recognition
speech-translation
long-context
Instructions to use txgsync/Nemotron-Labs-Audex-30B-A3B-NVFP4-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use txgsync/Nemotron-Labs-Audex-30B-A3B-NVFP4-mlx with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("txgsync/Nemotron-Labs-Audex-30B-A3B-NVFP4-mlx") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use txgsync/Nemotron-Labs-Audex-30B-A3B-NVFP4-mlx with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "txgsync/Nemotron-Labs-Audex-30B-A3B-NVFP4-mlx" --prompt "Once upon a time"
| { | |
| "architectures": [ | |
| "Qwen2AudioForConditionalGeneration" | |
| ], | |
| "audio_config": { | |
| "model_type": "qwen2_audio_encoder", | |
| "num_mel_bins": 128, | |
| "encoder_layers": 32, | |
| "encoder_attention_heads": 20, | |
| "encoder_ffn_dim": 5120, | |
| "d_model": 1280, | |
| "activation_function": "gelu", | |
| "scale_embedding": false, | |
| "max_source_positions": 1500 | |
| }, | |
| "audio_token_index": 151646, | |
| "ignore_index": -100, | |
| "model_type": "qwen2_audio", | |
| "text_config": { | |
| "bos_token_id": 151643, | |
| "eos_token_id": 151645, | |
| "intermediate_size": 11008, | |
| "max_position_embeddings": 8192, | |
| "model_type": "qwen2", | |
| "rope_theta": 10000, | |
| "rms_norm_eps": 1e-05, | |
| "sliding_window": 32768, | |
| "torch_dtype": "bfloat16", | |
| "use_mrope": false, | |
| "vocab_size": 156032 | |
| }, | |
| "transformers_version": "4.38.1", | |
| "vocab_size": 156032, | |
| "audio_model_type": "NV-Whisper" | |
| } | |