Automatic Speech Recognition
Transformers
Safetensors
English
Chinese
glmasr
text2text-generation
Eval Results
Instructions to use AIArchiveInfo/GLM-ASR-Nano-2512 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AIArchiveInfo/GLM-ASR-Nano-2512 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="AIArchiveInfo/GLM-ASR-Nano-2512")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("AIArchiveInfo/GLM-ASR-Nano-2512") model = AutoModelForMultimodalLM.from_pretrained("AIArchiveInfo/GLM-ASR-Nano-2512", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 817 Bytes
bd782c8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | {
"backend": "tokenizers",
"clean_up_tokenization_spaces": false,
"do_lower_case": false,
"eos_token": "<|endoftext|>",
"extra_special_tokens": [
"<|endoftext|>",
"[MASK]",
"[gMASK]",
"[sMASK]",
"<sop>",
"<eop>",
"<|system|>",
"<|user|>",
"<|assistant|>",
"<|observation|>",
"<|begin_of_image|>",
"<|end_of_image|>",
"<|begin_of_video|>",
"<|end_of_video|>",
"<|pad|>",
"<|begin_of_audio|>",
"<|end_of_audio|>"
],
"is_local": false,
"model_input_names": [
"input_ids",
"attention_mask"
],
"model_max_length": 65536,
"model_specific_special_tokens": {},
"pad_token": "<|endoftext|>",
"padding_side": "left",
"processor_class": "GlmAsrProcessor",
"remove_space": false,
"tokenizer_class": "TokenizersBackend"
}
|