Audio-Text-to-Text
Transformers
Safetensors
English
musicflamingo
text2text-generation
audio
speech
sound
music
reasoning
audio understanding
audio captioning
long-context
long-form-captioning
audio-language-model
long-audio
timestamp-grounding
Instructions to use nvidia/audio-flamingo-next-captioner-hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nvidia/audio-flamingo-next-captioner-hf with Transformers:
# Load model directly from transformers import AutoProcessor, AutoModelForSeq2SeqLM processor = AutoProcessor.from_pretrained("nvidia/audio-flamingo-next-captioner-hf") model = AutoModelForSeq2SeqLM.from_pretrained("nvidia/audio-flamingo-next-captioner-hf", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "audio_bos_token": "<|sound_bos|>", | |
| "audio_eos_token": "<|sound_eos|>", | |
| "audio_token": "<sound>", | |
| "feature_extractor": { | |
| "chunk_length": 30, | |
| "dither": 0.0, | |
| "feature_extractor_type": "WhisperFeatureExtractor", | |
| "feature_size": 128, | |
| "hop_length": 160, | |
| "n_fft": 400, | |
| "n_samples": 480000, | |
| "nb_max_frames": 3000, | |
| "padding_side": "right", | |
| "padding_value": 0.0, | |
| "return_attention_mask": true, | |
| "sampling_rate": 16000 | |
| }, | |
| "max_audio_len": 1800, | |
| "processor_class": "MusicFlamingoProcessor" | |
| } | |