Automatic Speech Recognition
Transformers
Safetensors
GGUF
Arabic
English
qwen3_asr
asr
speech-recognition
arabic
arabic-asr
dialectal-arabic
emirati
gulf-arabic
streaming
realtime
llama-cpp
on-device
edge
audar
custom_code
conversational
Instructions to use audarai/Audar-ASR-V1-Flash with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use audarai/Audar-ASR-V1-Flash with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="audarai/Audar-ASR-V1-Flash", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("audarai/Audar-ASR-V1-Flash", trust_remote_code=True) model = AutoModelForMultimodalLM.from_pretrained("audarai/Audar-ASR-V1-Flash", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - llama-cpp-python
How to use audarai/Audar-ASR-V1-Flash with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="audarai/Audar-ASR-V1-Flash", filename="Audar-ASR-V1-Flash-Q4_K_M.gguf", )
llm.create_chat_completion( messages = "\"sample1.flac\"" )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use audarai/Audar-ASR-V1-Flash with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf audarai/Audar-ASR-V1-Flash:Q4_K_M # Run inference directly in the terminal: llama cli -hf audarai/Audar-ASR-V1-Flash:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf audarai/Audar-ASR-V1-Flash:Q4_K_M # Run inference directly in the terminal: llama cli -hf audarai/Audar-ASR-V1-Flash:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf audarai/Audar-ASR-V1-Flash:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf audarai/Audar-ASR-V1-Flash:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf audarai/Audar-ASR-V1-Flash:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf audarai/Audar-ASR-V1-Flash:Q4_K_M
Use Docker
docker model run hf.co/audarai/Audar-ASR-V1-Flash:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use audarai/Audar-ASR-V1-Flash with Ollama:
ollama run hf.co/audarai/Audar-ASR-V1-Flash:Q4_K_M
- Unsloth Studio
How to use audarai/Audar-ASR-V1-Flash with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for audarai/Audar-ASR-V1-Flash to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for audarai/Audar-ASR-V1-Flash to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for audarai/Audar-ASR-V1-Flash to start chatting
- Atomic Chat new
- Docker Model Runner
How to use audarai/Audar-ASR-V1-Flash with Docker Model Runner:
docker model run hf.co/audarai/Audar-ASR-V1-Flash:Q4_K_M
- Lemonade
How to use audarai/Audar-ASR-V1-Flash with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull audarai/Audar-ASR-V1-Flash:Q4_K_M
Run and chat with the model
lemonade run user.Audar-ASR-V1-Flash-Q4_K_M
List all available models
lemonade list
Fix loadability: add auto_map (config+preprocessor) + qwen3_asr modeling code + chat_template
2108441 verified | { | |
| "architectures": [ | |
| "Qwen3ASRForConditionalGeneration" | |
| ], | |
| "dtype": "bfloat16", | |
| "eos_token_id": 151645, | |
| "model_type": "qwen3_asr", | |
| "pad_token_id": 151643, | |
| "support_languages": [ | |
| "Chinese", | |
| "English", | |
| "Cantonese", | |
| "Arabic", | |
| "German", | |
| "French", | |
| "Spanish", | |
| "Portuguese", | |
| "Indonesian", | |
| "Italian", | |
| "Korean", | |
| "Russian", | |
| "Thai", | |
| "Vietnamese", | |
| "Japanese", | |
| "Turkish", | |
| "Hindi", | |
| "Malay", | |
| "Dutch", | |
| "Swedish", | |
| "Danish", | |
| "Finnish", | |
| "Polish", | |
| "Czech", | |
| "Filipino", | |
| "Persian", | |
| "Greek", | |
| "Romanian", | |
| "Hungarian", | |
| "Macedonian" | |
| ], | |
| "thinker_config": { | |
| "architectures": [ | |
| "Qwen3ASRForConditionalGeneration" | |
| ], | |
| "audio_config": { | |
| "_name_or_path": "", | |
| "activation_dropout": 0, | |
| "activation_function": "gelu", | |
| "add_cross_attention": false, | |
| "architectures": null, | |
| "attention_dropout": 0, | |
| "bad_words_ids": null, | |
| "begin_suppress_tokens": null, | |
| "bos_token_id": null, | |
| "chunk_size_feed_forward": 0, | |
| "conv_chunksize": 500, | |
| "cross_attention_hidden_size": null, | |
| "d_model": 896, | |
| "decoder_start_token_id": null, | |
| "diversity_penalty": 0.0, | |
| "do_sample": false, | |
| "downsample_hidden_size": 480, | |
| "dropout": 0, | |
| "dtype": null, | |
| "early_stopping": false, | |
| "encoder_attention_heads": 14, | |
| "encoder_ffn_dim": 3584, | |
| "encoder_layers": 18, | |
| "encoder_no_repeat_ngram_size": 0, | |
| "eos_token_id": null, | |
| "exponential_decay_length_penalty": null, | |
| "finetuning_task": null, | |
| "forced_bos_token_id": null, | |
| "forced_eos_token_id": null, | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1" | |
| }, | |
| "initializer_range": 0.02, | |
| "is_decoder": false, | |
| "is_encoder_decoder": false, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1 | |
| }, | |
| "length_penalty": 1.0, | |
| "max_length": 20, | |
| "max_source_positions": 1500, | |
| "min_length": 0, | |
| "model_type": "qwen3_asr_audio_encoder", | |
| "n_window": 50, | |
| "n_window_infer": 800, | |
| "no_repeat_ngram_size": 0, | |
| "num_beam_groups": 1, | |
| "num_beams": 1, | |
| "num_hidden_layers": 18, | |
| "num_mel_bins": 128, | |
| "num_return_sequences": 1, | |
| "output_attentions": false, | |
| "output_dim": 1024, | |
| "output_hidden_states": false, | |
| "output_scores": false, | |
| "pad_token_id": null, | |
| "prefix": null, | |
| "problem_type": null, | |
| "pruned_heads": {}, | |
| "remove_invalid_values": false, | |
| "repetition_penalty": 1.0, | |
| "return_dict": true, | |
| "return_dict_in_generate": false, | |
| "scale_embedding": false, | |
| "sep_token_id": null, | |
| "suppress_tokens": null, | |
| "task_specific_params": null, | |
| "temperature": 1.0, | |
| "tf_legacy_loss": false, | |
| "tie_encoder_decoder": false, | |
| "tie_word_embeddings": true, | |
| "tokenizer_class": null, | |
| "top_k": 50, | |
| "top_p": 1.0, | |
| "torchscript": false, | |
| "typical_p": 1.0, | |
| "use_bfloat16": false | |
| }, | |
| "audio_end_token_id": 151670, | |
| "audio_start_token_id": 151669, | |
| "audio_token_id": 151676, | |
| "dtype": "bfloat16", | |
| "initializer_range": 0.02, | |
| "model_type": "qwen3_asr_thinker", | |
| "text_config": { | |
| "_name_or_path": "", | |
| "add_cross_attention": false, | |
| "architectures": null, | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bad_words_ids": null, | |
| "begin_suppress_tokens": null, | |
| "bos_token_id": null, | |
| "chunk_size_feed_forward": 0, | |
| "cross_attention_hidden_size": null, | |
| "decoder_start_token_id": null, | |
| "diversity_penalty": 0.0, | |
| "do_sample": false, | |
| "dtype": null, | |
| "early_stopping": false, | |
| "encoder_no_repeat_ngram_size": 0, | |
| "eos_token_id": null, | |
| "exponential_decay_length_penalty": null, | |
| "finetuning_task": null, | |
| "forced_bos_token_id": null, | |
| "forced_eos_token_id": null, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 1024, | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "is_decoder": false, | |
| "is_encoder_decoder": false, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1 | |
| }, | |
| "length_penalty": 1.0, | |
| "max_length": 20, | |
| "max_position_embeddings": 65536, | |
| "min_length": 0, | |
| "model_type": "qwen3_asr_text", | |
| "no_repeat_ngram_size": 0, | |
| "num_attention_heads": 16, | |
| "num_beam_groups": 1, | |
| "num_beams": 1, | |
| "num_hidden_layers": 28, | |
| "num_key_value_heads": 8, | |
| "num_return_sequences": 1, | |
| "output_attentions": false, | |
| "output_hidden_states": false, | |
| "output_scores": false, | |
| "pad_token_id": null, | |
| "prefix": null, | |
| "problem_type": null, | |
| "pruned_heads": {}, | |
| "remove_invalid_values": false, | |
| "repetition_penalty": 1.0, | |
| "return_dict": true, | |
| "return_dict_in_generate": false, | |
| "rms_norm_eps": 1e-06, | |
| "rope_scaling": { | |
| "interleaved": true, | |
| "mrope_interleaved": true, | |
| "mrope_section": [ | |
| 24, | |
| 20, | |
| 20 | |
| ], | |
| "rope_type": "default", | |
| "type": "default" | |
| }, | |
| "rope_theta": 1000000, | |
| "sep_token_id": null, | |
| "suppress_tokens": null, | |
| "task_specific_params": null, | |
| "temperature": 1.0, | |
| "tf_legacy_loss": false, | |
| "tie_encoder_decoder": false, | |
| "tie_word_embeddings": true, | |
| "tokenizer_class": null, | |
| "top_k": 50, | |
| "top_p": 1.0, | |
| "torchscript": false, | |
| "typical_p": 1.0, | |
| "use_bfloat16": false, | |
| "use_cache": true, | |
| "vocab_size": 151936 | |
| }, | |
| "user_token_id": 872 | |
| }, | |
| "transformers_version": "4.57.6", | |
| "auto_map": { | |
| "AutoConfig": "configuration_qwen3_asr.Qwen3ASRConfig", | |
| "AutoModel": "modeling_qwen3_asr.Qwen3ASRForConditionalGeneration", | |
| "AutoModelForCausalLM": "modeling_qwen3_asr.Qwen3ASRForConditionalGeneration", | |
| "AutoProcessor": "processing_qwen3_asr.Qwen3ASRProcessor" | |
| } | |
| } |