Instructions to use mispeech/r1-aqa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mispeech/r1-aqa with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("mispeech/r1-aqa") model = AutoModelForMultimodalLM.from_pretrained("mispeech/r1-aqa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from mispeech/r1-aqa: direct link, hf CLI and curl.
- Browser
- Download file 342 Bytes
-
https://huggingface.co/mispeech/r1-aqa/resolve/refs%2Fpr%2F3/preprocessor_config.json
- Command line
-
hf download hf://mispeech/r1-aqa@refs/pr/3/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/mispeech/r1-aqa/resolve/refs%2Fpr%2F3/preprocessor_config.json
342 Bytes
| { | |
| "chunk_length": 30, | |
| "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, | |
| "processor_class": "Qwen2AudioProcessor", | |
| "return_attention_mask": true, | |
| "sampling_rate": 16000 | |
| } | |