Automatic Speech Recognition
Transformers
Safetensors
Chinese
English
voxtral_realtime
realtime
speech-recognition
streaming-asr
bilingual
Instructions to use x-square-robot/X2-ASR-4B-0812 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use x-square-robot/X2-ASR-4B-0812 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="x-square-robot/X2-ASR-4B-0812")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("x-square-robot/X2-ASR-4B-0812") model = AutoModelForMultimodalLM.from_pretrained("x-square-robot/X2-ASR-4B-0812", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "bos_token_id": 1, | |
| "eos_token_id": 2, | |
| "output_attentions": false, | |
| "output_hidden_states": false, | |
| "pad_token_id": 11, | |
| "transformers_version": "5.2.0.dev0", | |
| "use_cache": true | |
| } | |