Audio-Text-to-Text
Transformers
Safetensors
step_audio_2
text-generation
audio-reasoning
chain-of-thought
multi-modal
step-audio-r1
custom_code
Instructions to use stepfun-ai/Step-Audio-R1.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use stepfun-ai/Step-Audio-R1.1 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("stepfun-ai/Step-Audio-R1.1", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config_origin.json from stepfun-ai/Step-Audio-R1.1: direct link, hf CLI and curl.
- Browser
- Download file 811 Bytes
-
https://huggingface.co/stepfun-ai/Step-Audio-R1.1/resolve/main/config_origin.json
- Command line
-
hf download hf://stepfun-ai/Step-Audio-R1.1/config_origin.json
-
curl -L -o config_origin.json https://huggingface.co/stepfun-ai/Step-Audio-R1.1/resolve/main/config_origin.json
811 Bytes
| { | |
| "architectures": [ | |
| "StepAudioForCausalLMV2" | |
| ], | |
| "model_type": "step_audio_qwen2", | |
| "hidden_size": 5120, | |
| "intermediate_size": 27648, | |
| "num_attention_heads": 40, | |
| "num_attention_groups": 8, | |
| "num_key_value_heads": 8, | |
| "num_hidden_layers": 64, | |
| "max_seq_len": 65536, | |
| "vocab_size": 158720, | |
| "rms_norm_eps": 1e-05, | |
| "eos_token_id": 151643, | |
| "pad_token_id": 151643, | |
| "rope_theta": 1000000.0, | |
| "max_position_embeddings": 65536, | |
| "rope_scaling": null, | |
| "torch_dtype": "bfloat16", | |
| "audio_encoder_config": { | |
| "n_mels": 128, | |
| "n_audio_ctx": 1500, | |
| "n_audio_state": 1280, | |
| "n_audio_head": 20, | |
| "n_audio_layer": 32, | |
| "n_codebook_size": 4096, | |
| "llm_dim": 5120, | |
| "kernel_size": 3, | |
| "adapter_stride": 2 | |
| } | |
| } | |