Automatic Speech Recognition
Transformers
Safetensors
English
Chinese
glmasr
text2text-generation
Eval Results
Instructions to use zai-org/GLM-ASR-Nano-2512 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zai-org/GLM-ASR-Nano-2512 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="zai-org/GLM-ASR-Nano-2512")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("zai-org/GLM-ASR-Nano-2512") model = AutoModelForMultimodalLM.from_pretrained("zai-org/GLM-ASR-Nano-2512", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update processor_config.json
Browse files- processor_config.json +1 -1
processor_config.json
CHANGED
|
@@ -15,6 +15,6 @@
|
|
| 15 |
"return_attention_mask": false,
|
| 16 |
"sampling_rate": 16000
|
| 17 |
},
|
| 18 |
-
"max_audio_len":
|
| 19 |
"processor_class": "GlmAsrProcessor"
|
| 20 |
}
|
|
|
|
| 15 |
"return_attention_mask": false,
|
| 16 |
"sampling_rate": 16000
|
| 17 |
},
|
| 18 |
+
"max_audio_len": 655,
|
| 19 |
"processor_class": "GlmAsrProcessor"
|
| 20 |
}
|