Automatic Speech Recognition
Transformers
Safetensors
English
qwen3_asr
feature-extraction
speech-recognition
asr
english
distillation
looped-transformer
parameter-sharing
qwen3-asr
custom_code
Eval Results (legacy)
Instructions to use oruk/oruk-loop-153M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use oruk/oruk-loop-153M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="oruk/oruk-loop-153M", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("oruk/oruk-loop-153M", trust_remote_code=True) model = AutoModel.from_pretrained("oruk/oruk-loop-153M", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from oruk/oruk-loop-153M: direct link, hf CLI and curl.
- Browser
- Download file 2.77 kB
-
https://huggingface.co/oruk/oruk-loop-153M/resolve/main/config.json
- Command line
-
hf download hf://oruk/oruk-loop-153M/config.json
-
curl -L -o config.json https://huggingface.co/oruk/oruk-loop-153M/resolve/main/config.json
2.77 kB
| { | |
| "architectures": [ | |
| "OrukLoopForConditionalGeneration" | |
| ], | |
| "audio_config": { | |
| "activation_dropout": 0, | |
| "activation_function": "gelu", | |
| "attention_dropout": 0, | |
| "conv_chunksize": 500, | |
| "d_model": 1024, | |
| "downsample_hidden_size": 480, | |
| "dropout": 0, | |
| "encoder_attention_heads": 16, | |
| "encoder_ffn_dim": 4096, | |
| "encoder_layers": 24, | |
| "initializer_range": 0.02, | |
| "max_position_embeddings": 13, | |
| "model_type": "qwen3_asr_encoder", | |
| "n_window": 50, | |
| "n_window_infer": 800, | |
| "num_key_value_heads": 16, | |
| "num_mel_bins": 128, | |
| "output_dim": 2048, | |
| "scale_embedding": false | |
| }, | |
| "audio_token_id": 151676, | |
| "dtype": "bfloat16", | |
| "eos_token_id": [ | |
| 151643, | |
| 151645 | |
| ], | |
| "initializer_range": 0.02, | |
| "model_type": "qwen3_asr", | |
| "pad_token_id": 151645, | |
| "text_config": { | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": null, | |
| "eos_token_id": null, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 2048, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 6144, | |
| "layer_types": [ | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention" | |
| ], | |
| "max_position_embeddings": 65536, | |
| "max_window_layers": 28, | |
| "model_type": "qwen3", | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 28, | |
| "num_key_value_heads": 8, | |
| "pad_token_id": null, | |
| "rms_norm_eps": 1e-06, | |
| "rope_parameters": { | |
| "rope_theta": 1000000, | |
| "rope_type": "default" | |
| }, | |
| "sliding_window": null, | |
| "tie_word_embeddings": false, | |
| "use_cache": true, | |
| "use_sliding_window": false, | |
| "vocab_size": 151936 | |
| }, | |
| "tie_word_embeddings": false, | |
| "timestamp_token_id": 151705, | |
| "token_classification_bias": false, | |
| "auto_map": { | |
| "AutoModel": "modeling_oruk_loop.OrukLoopForConditionalGeneration", | |
| "AutoModelForSpeechSeq2Seq": "modeling_oruk_loop.OrukLoopForConditionalGeneration" | |
| }, | |
| "oruk_loop": { | |
| "encoder_rank": 64, | |
| "decoder_rank": 16, | |
| "encoder_loops": 24, | |
| "decoder_loops": 28, | |
| "table_rows": 36974, | |
| "table_exact": 368, | |
| "table_rank": 729, | |
| "stored_parameters": 153202638 | |
| } | |
| } | |