Automatic Speech Recognition
Transformers
Safetensors
PyTorch
arkasr
text-generation
speech
audio
vllm
ark-asr
custom_code
Eval Results
Instructions to use Edge0/ARK-ASR-3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Edge0/ARK-ASR-3B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="Edge0/ARK-ASR-3B", trust_remote_code=True)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("Edge0/ARK-ASR-3B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download chat_template.jinja from Edge0/ARK-ASR-3B: direct link, hf CLI and curl.
- Browser
- Download file 334 Bytes
-
https://huggingface.co/Edge0/ARK-ASR-3B/resolve/9c9ed0ebcbd1967a706e293560724f9ca6242e76/chat_template.jinja
- Command line
-
hf download hf://Edge0/ARK-ASR-3B@9c9ed0ebcbd1967a706e293560724f9ca6242e76/chat_template.jinja
-
curl -L -o chat_template.jinja https://huggingface.co/Edge0/ARK-ASR-3B/resolve/9c9ed0ebcbd1967a706e293560724f9ca6242e76/chat_template.jinja
334 Bytes
| {% for message in messages %} | |
| {% if message.role == "system" %} | |
| <|system|> | |
| {{ message.content }} | |
| {% elif message.role == "user" %} | |
| <|user|> | |
| {{ message.content }} | |
| {% elif message.role == "assistant" %} | |
| <|assistant|> | |
| {{ message.content }} | |
| {% endif %} | |
| {% endfor %} | |
| {% if add_generation_prompt %} | |
| <|assistant|> | |
| {% endif %} |