Upload folder using huggingface_hub
Browse files- README.md +615 -3
- added_tokens.json +32 -0
- chat_template.jinja +85 -0
- config.json +109 -0
- configuration_moss_audio.py +31 -0
- generation_config.json +6 -0
- merges.txt +0 -0
- model-00001-of-00004.safetensors +3 -0
- model-00002-of-00004.safetensors +3 -0
- model-00003-of-00004.safetensors +3 -0
- model-00004-of-00004.safetensors +3 -0
- model.safetensors.index.json +909 -0
- preprocessor_config.json +6 -0
- processing_moss_audio.py +407 -0
- special_tokens_map.json +31 -0
- tokenizer_config.json +271 -0
- vocab.json +0 -0
README.md
CHANGED
|
@@ -1,3 +1,615 @@
|
|
| 1 |
-
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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="./assets/moss-audio-logo.png" width="55%" />
|
| 6 |
+
</p>
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
<div align="center">
|
| 11 |
+
<a href="https://huggingface.co/collections/OpenMOSS-Team/moss-audio"><img src="https://img.shields.io/badge/Huggingface-Models-orange?logo=huggingface&"></a>
|
| 12 |
+
<img src="https://img.shields.io/badge/Blog-Coming_Soon-blue?logo=internet-explorer&">
|
| 13 |
+
<img src="https://img.shields.io/badge/Arxiv-Coming_Soon-red?logo=Arxiv&">
|
| 14 |
+
|
| 15 |
+
<a href="https://x.com/Open_MOSS"><img src="https://img.shields.io/badge/Twitter-Follow-black?logo=x&"></a>
|
| 16 |
+
<a href="https://discord.gg/Xf3aXddCjc"><img src="https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&"></a>
|
| 17 |
+
<a href="./assets/wechat.jpg"><img src="https://img.shields.io/badge/WeChat-Join-07C160?logo=wechat&logoColor=white" alt="WeChat"></a>
|
| 18 |
+
</div>
|
| 19 |
+
|
| 20 |
+
<p align="center">
|
| 21 |
+
<a href="./README.md">English</a> | <a href="./README_zh.md">简体中文</a>
|
| 22 |
+
</p>
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
MOSS-Audio is an open-source **audio understanding model** from [MOSI.AI](https://mosi.cn/#hero), the [OpenMOSS team](https://www.open-moss.com/), and [Shanghai Innovation Institute](https://www.sii.edu.cn/). It performs unified modeling over complex real-world audio, supporting **speech understanding, environmental sound understanding, music understanding, audio captioning, time-aware QA, and complex reasoning**. In this release, we provide **four models**: **MOSS-Audio-4B-Instruct**, **MOSS-Audio-4B-Thinking**, **MOSS-Audio-8B-Instruct**, and **MOSS-Audio-8B-Thinking**. The Instruct variants are optimized for direct instruction following, while the Thinking variants provide stronger chain-of-thought reasoning capabilities.
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
## News
|
| 31 |
+
* 2026.4.13: 🎉🎉🎉 We have released [MOSS-Audio](https://huggingface.co/collections/OpenMOSS-Team/moss-audio). Blog and paper coming soon!
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
## Contents
|
| 35 |
+
|
| 36 |
+
- [Introduction](#introduction)
|
| 37 |
+
- [Model Architecture](#model-architecture)
|
| 38 |
+
- [DeepStack Cross-Layer Feature Injection](#deepstack-cross-layer-feature-injection)
|
| 39 |
+
- [Time-Aware Representation](#time-aware-representation)
|
| 40 |
+
- [Released Models](#released-models)
|
| 41 |
+
- [Evaluation](#evaluation)
|
| 42 |
+
- [Quickstart](#quickstart)
|
| 43 |
+
- [Environment Setup](#environment-setup)
|
| 44 |
+
- [Basic Usage](#basic-usage)
|
| 45 |
+
- [Gradio App](#gradio-app)
|
| 46 |
+
- [SGLang Serving](#sglang-serving)
|
| 47 |
+
- [More Information](#more-information)
|
| 48 |
+
- [Citation](#citation)
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
## Introduction
|
| 52 |
+
|
| 53 |
+
<p align="center">
|
| 54 |
+
<img src="./assets/moss-audio-image.png" width="95%" />
|
| 55 |
+
</p>
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
Understanding audio requires more than simply transcribing words — it demands the ability to perceive acoustic cues, recognize speakers and emotions, interpret environmental sounds, reason over temporal context, and handle complex multi-step inference. **MOSS-Audio** is built to unify these capabilities within a single model.
|
| 60 |
+
|
| 61 |
+
- **Speech & Content Understanding**: Accurately recognizes and transcribes spoken content from audio inputs, producing clean and well-structured text outputs. Supports both word-level and sentence-level timestamp alignment.
|
| 62 |
+
- **Speaker, Emotion & Event Analysis**: Identifies speaker characteristics, analyzes emotional states based on tone, timbre, and context, and detects key acoustic events within the audio.
|
| 63 |
+
- **Scene & Sound Cue Extraction**: Extracts meaningful cues from background sounds, environmental noise, music, and non-speech signals to infer scene context and atmosphere.
|
| 64 |
+
- **Music Understanding**: Analyzes musical style, emotional progression, instrumentation, and salient acoustic features in music segments.
|
| 65 |
+
- **Audio Question Answering & Summarization**: Answers questions and generates summaries about speech, podcasts, meetings, interviews, and environmental recordings, helping users efficiently extract key information.
|
| 66 |
+
- **Time-Aware QA**: Supports time-aware questions, including word-level and sentence-level timestamp ASR.
|
| 67 |
+
- **Complex Reasoning**: Performs multi-hop reasoning over audio content, powered by chain-of-thought training and reinforcement learning.
|
| 68 |
+
|
| 69 |
+
## Model Architecture
|
| 70 |
+
|
| 71 |
+
<p align="center">
|
| 72 |
+
<img src="./assets/moss-audio-architecture.svg" width="95%" />
|
| 73 |
+
</p>
|
| 74 |
+
|
| 75 |
+
MOSS-Audio follows a modular design comprising three components: an audio encoder, a modality adapter, and a large language model. Raw audio is first encoded by **MOSS-Audio-Encoder** into continuous temporal representations at **12.5 Hz**, which are then projected into the language model's embedding space through the adapter and finally consumed by the LLM for auto-regressive text generation.
|
| 76 |
+
|
| 77 |
+
Rather than relying on off-the-shelf audio frontends, we train a dedicated encoder from scratch to obtain more robust speech representations, tighter temporal alignment, and better extensibility across acoustic domains.
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
### DeepStack Cross-Layer Feature Injection
|
| 81 |
+
|
| 82 |
+
Using only the encoder's top-layer features tends to lose low-level prosody, transient events, and local time-frequency structure. To address this, we design a **DeepStack**-inspired cross-layer injection module between the encoder and the language model: in addition to the encoder's final-layer output, features from earlier and intermediate layers are selected, independently projected, and injected into the language model's early layers, preserving multi-granularity information from low-level acoustic details to high-level semantic abstractions.
|
| 83 |
+
|
| 84 |
+
This design is especially well-suited for audio understanding tasks, as it helps retain rhythm, timbre, transients, and background structure — information that a single high-level representation cannot fully capture.
|
| 85 |
+
|
| 86 |
+
### Time-Aware Representation
|
| 87 |
+
|
| 88 |
+
Time is a critical dimension in audio understanding. To enhance explicit temporal awareness, we adopt a **time-marker insertion** strategy during pretraining: explicit time tokens are inserted between audio frame representations at fixed time intervals to indicate temporal positions. This design enables the model to learn "what happened when" within a unified text generation framework, naturally supporting timestamp ASR, event localization, time-based QA, and long-audio retrospection.
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
## Released Models
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
| Model | Audio Encoder | LLM Backbone | Total Size | Hugging Face |
|
| 95 |
+
|---|---|---|---:|---|
|
| 96 |
+
| **MOSS-Audio-4B-Instruct** | MOSS-Audio-Encoder | Qwen3-4B | ~4.6B | [](https://huggingface.co/OpenMOSS-Team/MOSS-Audio-4B-Instruct)
|
| 97 |
+
| **MOSS-Audio-4B-Thinking** | MOSS-Audio-Encoder | Qwen3-4B | ~4.6B | [](https://huggingface.co/OpenMOSS-Team/MOSS-Audio-4B-Thinking)
|
| 98 |
+
| **MOSS-Audio-8B-Instruct** | MOSS-Audio-Encoder | Qwen3-8B | ~8.6B | [](https://huggingface.co/OpenMOSS-Team/MOSS-Audio-8B-Instruct)
|
| 99 |
+
| **MOSS-Audio-8B-Thinking** | MOSS-Audio-Encoder | Qwen3-8B | ~8.6B | [](https://huggingface.co/OpenMOSS-Team/MOSS-Audio-8B-Thinking)
|
| 100 |
+
|
| 101 |
+
> More model families, sizes, and variants will be released in the future. Stay tuned!
|
| 102 |
+
|
| 103 |
+
|
| 104 |
+
## Evaluation
|
| 105 |
+
|
| 106 |
+
We evaluate MOSS-Audio on a comprehensive set of audio understanding benchmarks. Key results:
|
| 107 |
+
|
| 108 |
+
- **General Audio Understanding**: MOSS-Audio-8B-Thinking achieves an average accuracy of **70.80**, outperforming all of the open-source models.
|
| 109 |
+
- **Speech Captioning**: MOSS-Audio-Instruct variants lead across **11 out of 13** fine-grained speech description dimensions, with **MOSS-Audio-8B-Instruct** achieving the best overall average score (**3.7252**).
|
| 110 |
+
- **ASR**: On a diverse ASR benchmark suite spanning 12 evaluation dimensions, MOSS-Audio achieves the **lowest overall CER (11.30)**, with particular strength in health-condition, code-switching, dialect, singing, and non-speech scenarios.
|
| 111 |
+
- **Timestamp ASR**: MOSS-Audio-8B-Instruct achieves **35.77 AAS** on AISHELL-1 and **131.61 AAS** on LibriSpeech, dramatically outperforming Qwen3-Omni (833.66) and Gemini-3.1-Pro (708.24) in timestamp asr accuracy.
|
| 112 |
+
|
| 113 |
+
### General Audio Understanding (Accuracy↑)
|
| 114 |
+
|
| 115 |
+
<p align="center">
|
| 116 |
+
<img src="./assets/general_audio_bar.svg" width="75%" />
|
| 117 |
+
</p>
|
| 118 |
+
|
| 119 |
+
<table>
|
| 120 |
+
<thead>
|
| 121 |
+
<tr>
|
| 122 |
+
<th>Model</th>
|
| 123 |
+
<th>Model Size</th>
|
| 124 |
+
<th>MMAU</th>
|
| 125 |
+
<th>MMAU-Pro</th>
|
| 126 |
+
<th>MMAR</th>
|
| 127 |
+
<th>MMSU</th>
|
| 128 |
+
<th>Avg</th>
|
| 129 |
+
</tr>
|
| 130 |
+
</thead>
|
| 131 |
+
<tbody>
|
| 132 |
+
<tr><td colspan="7"><em><strong>Open Source (small)</strong></em></td></tr>
|
| 133 |
+
<tr>
|
| 134 |
+
<td>Kimi-Audio</td><td>7B</td><td>72.41</td><td>56.58</td><td>60.82</td><td>54.74</td><td>61.14</td>
|
| 135 |
+
</tr>
|
| 136 |
+
<tr>
|
| 137 |
+
<td>Qwen2.5-Omni</td><td>7B</td><td>65.60</td><td>52.20</td><td>56.70</td><td>61.32</td><td>58.96</td>
|
| 138 |
+
</tr>
|
| 139 |
+
<tr>
|
| 140 |
+
<td>Audio Flamingo 3</td><td>7B</td><td>61.23</td><td>51.70</td><td>57.96</td><td>60.04</td><td>57.73</td>
|
| 141 |
+
</tr>
|
| 142 |
+
<tr>
|
| 143 |
+
<td>MiMo-Audio-7B</td><td>7B</td><td>74.90</td><td>53.35</td><td>61.70</td><td>61.94</td><td>62.97</td>
|
| 144 |
+
</tr>
|
| 145 |
+
<tr>
|
| 146 |
+
<td>MiniCPM-o-4.5</td><td>9B</td><td>70.97</td><td>39.65</td><td>55.75</td><td>60.96</td><td>56.83</td>
|
| 147 |
+
</tr>
|
| 148 |
+
<tr>
|
| 149 |
+
<td><strong>MOSS-Audio-4B-Instruct</strong></td><td><strong>4B</strong></td><td>75.79</td><td>58.16</td><td>59.68</td><td>59.68</td><td>64.04</td>
|
| 150 |
+
</tr>
|
| 151 |
+
<tr>
|
| 152 |
+
<td><strong>MOSS-Audio-4B-Thinking</strong></td><td><strong>4B</strong></td><td><strong>77.64</strong></td><td>60.75</td><td>63.91</td><td>71.20</td><td>68.37</td>
|
| 153 |
+
</tr>
|
| 154 |
+
<tr>
|
| 155 |
+
<td><strong>MOSS-Audio-8B-Instruct</strong></td><td><strong>8B</strong></td><td>77.03</td><td>57.48</td><td>64.42</td><td>66.36</td><td>66.32</td>
|
| 156 |
+
</tr>
|
| 157 |
+
<tr>
|
| 158 |
+
<td><strong>MOSS-Audio-8B-Thinking</strong></td><td><strong>8B</strong></td><td>77.13</td><td><strong>64.29</strong></td><td><strong>65.73</strong></td><td><strong>76.06</strong></td><td><strong>70.80</strong></td>
|
| 159 |
+
</tr>
|
| 160 |
+
<tr><td colspan="7"><em><strong>Open Source (large)</strong></em></td></tr>
|
| 161 |
+
<tr>
|
| 162 |
+
<td>Qwen3-Omni-30B-A3B-Instruct</td><td>30B</td><td>75.00</td><td><strong>61.22</strong></td><td>66.40</td><td>69.00</td><td>67.91</td>
|
| 163 |
+
</tr>
|
| 164 |
+
<tr>
|
| 165 |
+
<td>Step-Audio-R1.1</td><td>33B</td><td>72.18</td><td>60.80</td><td>68.75</td><td>64.18</td><td>66.48</td>
|
| 166 |
+
</tr>
|
| 167 |
+
<tr>
|
| 168 |
+
<td>Step-Audio-R1</td><td>33B</td><td><strong>78.67</strong></td><td>59.68</td><td><strong>69.15</strong></td><td><strong>75.18</strong></td><td><strong>70.67</strong></td>
|
| 169 |
+
</tr>
|
| 170 |
+
<tr><td colspan="7"><em><strong>Closed Source</strong></em></td></tr>
|
| 171 |
+
<tr>
|
| 172 |
+
<td>GPT4o-Audio</td><td>-</td><td>65.66</td><td>52.30</td><td>59.78</td><td>58.76</td><td>59.13</td>
|
| 173 |
+
</tr>
|
| 174 |
+
<tr>
|
| 175 |
+
<td>Gemini-3-Pro</td><td>-</td><td>80.15</td><td>68.28</td><td>81.73</td><td>81.28</td><td>77.86</td>
|
| 176 |
+
</tr>
|
| 177 |
+
<tr>
|
| 178 |
+
<td>Gemini-3.1-Pro</td><td>-</td><td><strong>81.10</strong></td><td><strong>73.47</strong></td><td><strong>83.70</strong></td><td><strong>81.30</strong></td><td><strong>79.89</strong></td>
|
| 179 |
+
</tr>
|
| 180 |
+
</tbody>
|
| 181 |
+
</table>
|
| 182 |
+
|
| 183 |
+
### Speech Captioning (LLM-as-a-Judge Score↑)
|
| 184 |
+
|
| 185 |
+
<p align="center">
|
| 186 |
+
<img src="./assets/speech_caption_radar.png" width="70%" />
|
| 187 |
+
</p>
|
| 188 |
+
|
| 189 |
+
<details>
|
| 190 |
+
<summary><strong>Speech Captioning (click to expand)</strong></summary>
|
| 191 |
+
|
| 192 |
+
|
| 193 |
+
| Model | gender | age | accent | pitch | volume | speed | texture | clarity | fluency | emotion | tone | personality | summary | Avg |
|
| 194 |
+
|---|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|
|
| 195 |
+
| Qwen3-Omni-30B-A3B-Instruct | 4.436 | 3.936 | 4.356 | 3.590 | 3.682 | 3.614 | 3.093 | 3.521 | 3.531 | 3.328 | 3.224 | 3.292 | 3.179 | 3.5986 |
|
| 196 |
+
| Qwen3-Omni-30B-A3B-Thinking | 4.419 | **4.026** | 4.327 | 3.610 | 3.577 | 3.610 | 3.179 | 3.403 | 3.526 | 3.232 | 3.154 | 3.197 | 3.107 | 3.5667 |
|
| 197 |
+
| Gemini-3-Pro | 4.191 | 3.835 | 4.181 | 3.392 | 3.254 | 3.320 | 2.998 | 3.347 | 3.524 | 3.055 | 2.997 | 3.023 | 2.775 | 3.3763 |
|
| 198 |
+
| Gemini-3.1-Pro| 4.436 | 3.936 | 4.356 | 3.590 | 3.682 | 3.614 | 3.093 | 3.521 | 3.531 | **3.328** | 3.224 | 3.292 | 3.179 | 3.5986 |
|
| 199 |
+
| MOSS-Audio-4B-Instruct | **4.697** | 3.980 | 4.497 | 3.628 | **3.722** | 3.564 | **3.407** | 3.841 | 3.744 | 3.311 | **3.282** | **3.305** | 3.259 | 3.7105 |
|
| 200 |
+
| MOSS-Audio-8B-Instruct | 4.683 | 3.979 | **4.572** | **3.682** | 3.709 | **3.638** | 3.403 | **3.869** | **3.747** | 3.314 | 3.253 | 3.272 | **3.307** | **3.7252** |
|
| 201 |
+
|
| 202 |
+
</details>
|
| 203 |
+
|
| 204 |
+
### ASR
|
| 205 |
+
|
| 206 |
+
| Model | Overall | Health Condition | Dialect | Singing | Non-Speech Vocalizations | Code-Switching | Acoustic Environment (Clean) | Acoustic Environment (Noisy) | Acoustic Characteristics: Whisper | Acoustic Characteristics: Far-Field / Near-Field | Multi-Speaker | Age | Semantic Content |
|
| 207 |
+
|---|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|
|
| 208 |
+
| Paraformer-Large | 15.77 | 22.18 | 43.45 | 32.34 | 4.95 | 12.65 | 3.11 | 4.67 | 5.02 | 17.46 | 20.33 | 14.96 | 7.14 |
|
| 209 |
+
| GLM-ASR-Nano | 17.29 | 24.49 | 22.39 | 51.95 | 4.65 | 11.88 | 3.68 | 5.02 | 4.94 | 27.51 | 28.02 | 17.19 | 7.32 |
|
| 210 |
+
| Fun-ASR-Nano | 12.04 | 21.99 | 7.80 | 19.35 | 4.76 | 11.23 | 2.98 | 3.46 | 3.78 | 18.38 | 19.82 | **14.95** | 6.08 |
|
| 211 |
+
| SenseVoice-Small | 14.50 | 24.04 | 8.89 | 23.79 | 4.92 | 13.90 | 4.13 | 4.93 | 5.57 | 26.66 | 24.06 | 17.63 | 7.55 |
|
| 212 |
+
| Kimi-Audio-7B-Instruct | 14.12 | 21.11 | 29.34 | 21.76 | 4.68 | 16.38 | **2.20** | **2.15** | 2.66 | 21.02 | 20.61 | 16.74 | 6.12 |
|
| 213 |
+
| Qwen2.5-Omni-3B | 15.26 | 24.65 | 33.87 | 24.24 | 5.54 | 11.66 | 2.76 | 3.56 | 4.32 | 22.15 | 22.91 | 15.17 | 7.24 |
|
| 214 |
+
| Qwen2.5-Omni-7B | 15.05 | 23.85 | 31.91 | 22.69 | 4.56 | 12.97 | 2.52 | 3.16 | 3.64 | 25.38 | 21.01 | 16.13 | 6.78 |
|
| 215 |
+
| Qwen3-Omni-30B-A3B-Instruct | 11.39 | 20.73 | 15.63 | 16.01 | 4.73 | 11.30 | 2.23 | 2.47 | **1.90** | **17.08** | **18.15** | **11.46** | **5.74** |
|
| 216 |
+
| **MOSS-Audio-4B-Instruct** | 11.58 | 21.11 | 11.84 | 10.79 | **4.01** | **10.11** | 3.11 | 3.72 | 3.29 | 18.48 | 20.33 | 15.09 | 8.15 |
|
| 217 |
+
| **MOSS-Audio-8B-Instruct** | **11.30** | **19.18** | **8.76** | **9.81** | 4.31 | 10.18 | 2.70 | 3.20 | 2.75 | 24.04 | 24.36 | 15.26 | 7.69 |
|
| 218 |
+
|
| 219 |
+
<details>
|
| 220 |
+
<summary><strong>Detailed ASR Results (click to expand)</strong></summary>
|
| 221 |
+
|
| 222 |
+
<table>
|
| 223 |
+
<tr>
|
| 224 |
+
<th rowspan="2">Model</th>
|
| 225 |
+
<th colspan="3">Acoustic Environment (Clean)</th>
|
| 226 |
+
<th colspan="1">Acoustic Environment (Noisy)</th>
|
| 227 |
+
<th colspan="1">Acoustic Characteristics: Whisper</th>
|
| 228 |
+
<th colspan="1">Acoustic Characteristics: Far-Field / Near-Field</th>
|
| 229 |
+
<th colspan="1">Multi-Speaker</th>
|
| 230 |
+
<th colspan="2">Age</th>
|
| 231 |
+
<th colspan="2">Health Condition</th>
|
| 232 |
+
<th colspan="2">Semantic Content</th>
|
| 233 |
+
<th colspan="3">Code-Switching</th>
|
| 234 |
+
<th colspan="2">Dialect</th>
|
| 235 |
+
<th colspan="2">Singing</th>
|
| 236 |
+
<th colspan="1">Non-Speech Vocalizations</th>
|
| 237 |
+
</tr>
|
| 238 |
+
<tr>
|
| 239 |
+
<th>AISHELL-1<br><em>test</em></th>
|
| 240 |
+
<th>AISHELL-2<br><em>Android | IOS | Mic</em></th>
|
| 241 |
+
<th>THCHS-30<br><em>test</em></th>
|
| 242 |
+
<th>MAGICDATA-READ<br><em>test</em></th>
|
| 243 |
+
<th>AISHELL6-Whisper<br><em>normal | whisper</em></th>
|
| 244 |
+
<th>AliMeeting<br><em>Test_Ali_far | Test_Ali_near</em></th>
|
| 245 |
+
<th>AISHELL-4<br><em>test</em></th>
|
| 246 |
+
<th>SeniorTalk<br><em>sentence</em></th>
|
| 247 |
+
<th>ChildMandarin<br><em>test</em></th>
|
| 248 |
+
<th>AISHELL-6A<br><em>mild | moderate | severe | StutteringSpeech</em></th>
|
| 249 |
+
<th>AISHELL_6B<br><em>LRDWWS | Uncontrol</em></th>
|
| 250 |
+
<th>WenetSpeech<br><em>test-meeting</em></th>
|
| 251 |
+
<th>Fleurs<br><em>cmn_hans_cn</em></th>
|
| 252 |
+
<th>CS-Dialogue<br><em>test</em></th>
|
| 253 |
+
<th>TALCS<br><em>test</em></th>
|
| 254 |
+
<th>ASCEND<br><em>test</em></th>
|
| 255 |
+
<th>KeSpeech<br><em>test</em></th>
|
| 256 |
+
<th>WSYue-ASR-eval<br><em>short</em></th>
|
| 257 |
+
<th>MIR-1K<br><em>test</em></th>
|
| 258 |
+
<th>openc-pop<br><em>test</em></th>
|
| 259 |
+
<th>MNV_17</th>
|
| 260 |
+
</tr>
|
| 261 |
+
<tr>
|
| 262 |
+
<td>Paraformer-Large</td>
|
| 263 |
+
<td>1.98</td>
|
| 264 |
+
<td>3.28 | 3.21 | 3.00</td>
|
| 265 |
+
<td>4.07</td>
|
| 266 |
+
<td>4.67</td>
|
| 267 |
+
<td>1.11 | 8.92</td>
|
| 268 |
+
<td><strong>25.64</strong> | 9.27</td>
|
| 269 |
+
<td>20.33</td>
|
| 270 |
+
<td>17.31</td>
|
| 271 |
+
<td>12.60</td>
|
| 272 |
+
<td>6.98 | 9.30 | 13.34 | 10.74</td>
|
| 273 |
+
<td>47.59 | 45.08</td>
|
| 274 |
+
<td>7.88</td>
|
| 275 |
+
<td>6.40</td>
|
| 276 |
+
<td>10.64</td>
|
| 277 |
+
<td>10.77</td>
|
| 278 |
+
<td>16.55</td>
|
| 279 |
+
<td>11.48</td>
|
| 280 |
+
<td>75.42</td>
|
| 281 |
+
<td>57.70</td>
|
| 282 |
+
<td>6.98</td>
|
| 283 |
+
<td>4.95</td>
|
| 284 |
+
</tr>
|
| 285 |
+
<tr>
|
| 286 |
+
<td>GLM-ASR-Nano</td>
|
| 287 |
+
<td>2.89</td>
|
| 288 |
+
<td>3.75 | 3.73 | 3.78</td>
|
| 289 |
+
<td>4.23</td>
|
| 290 |
+
<td>5.02</td>
|
| 291 |
+
<td>0.83 | 9.06</td>
|
| 292 |
+
<td>40.27 | 14.76</td>
|
| 293 |
+
<td>28.02</td>
|
| 294 |
+
<td>20.33</td>
|
| 295 |
+
<td>14.06</td>
|
| 296 |
+
<td>8.74 | 12.11 | 14.38 | 12.29</td>
|
| 297 |
+
<td>50.34 | 49.09</td>
|
| 298 |
+
<td>9.70</td>
|
| 299 |
+
<td>4.94</td>
|
| 300 |
+
<td>11.06</td>
|
| 301 |
+
<td>11.07</td>
|
| 302 |
+
<td>13.50</td>
|
| 303 |
+
<td>9.72</td>
|
| 304 |
+
<td>35.07</td>
|
| 305 |
+
<td>95.87</td>
|
| 306 |
+
<td>8.03</td>
|
| 307 |
+
<td>4.65</td>
|
| 308 |
+
</tr>
|
| 309 |
+
<tr>
|
| 310 |
+
<td>Fun-ASR-Nano</td>
|
| 311 |
+
<td>2.16</td>
|
| 312 |
+
<td>3.04 | 2.99 | 3.07</td>
|
| 313 |
+
<td>3.65</td>
|
| 314 |
+
<td>3.46</td>
|
| 315 |
+
<td>0.81 | 6.76</td>
|
| 316 |
+
<td>27.21 | 9.55</td>
|
| 317 |
+
<td>19.82</td>
|
| 318 |
+
<td>16.96</td>
|
| 319 |
+
<td>12.94</td>
|
| 320 |
+
<td>6.60 | <strong>8.81</strong> | 12.98 | 10.30</td>
|
| 321 |
+
<td>47.42 | 45.84</td>
|
| 322 |
+
<td>7.39</td>
|
| 323 |
+
<td><strong>4.76</strong></td>
|
| 324 |
+
<td>10.47</td>
|
| 325 |
+
<td><strong>8.09</strong></td>
|
| 326 |
+
<td>15.13</td>
|
| 327 |
+
<td>7.43</td>
|
| 328 |
+
<td>8.17</td>
|
| 329 |
+
<td>35.85</td>
|
| 330 |
+
<td>2.84</td>
|
| 331 |
+
<td>4.76</td>
|
| 332 |
+
</tr>
|
| 333 |
+
<tr>
|
| 334 |
+
<td>SenseVoice-Small</td>
|
| 335 |
+
<td>3.23</td>
|
| 336 |
+
<td>4.16 | 4.02 | 3.96</td>
|
| 337 |
+
<td>5.26</td>
|
| 338 |
+
<td>4.93</td>
|
| 339 |
+
<td>1.25 | 9.88</td>
|
| 340 |
+
<td>37.01 | 16.31</td>
|
| 341 |
+
<td>24.06</td>
|
| 342 |
+
<td>21.07</td>
|
| 343 |
+
<td>14.18</td>
|
| 344 |
+
<td>7.62 | 9.85 | 14.39 | 11.47</td>
|
| 345 |
+
<td>52.92 | 47.97</td>
|
| 346 |
+
<td>8.35</td>
|
| 347 |
+
<td>6.75</td>
|
| 348 |
+
<td>12.81</td>
|
| 349 |
+
<td>10.52</td>
|
| 350 |
+
<td>18.38</td>
|
| 351 |
+
<td>10.45</td>
|
| 352 |
+
<td><strong>7.34</strong></td>
|
| 353 |
+
<td>39.51</td>
|
| 354 |
+
<td>8.07</td>
|
| 355 |
+
<td>4.92</td>
|
| 356 |
+
</tr>
|
| 357 |
+
<tr>
|
| 358 |
+
<td>Kimi-Audio-7B-Instruct</td>
|
| 359 |
+
<td><strong>0.79</strong></td>
|
| 360 |
+
<td>2.91 | 3.03 | 2.88</td>
|
| 361 |
+
<td><strong>1.39</strong></td>
|
| 362 |
+
<td><strong>2.15</strong></td>
|
| 363 |
+
<td>0.69 | 4.63</td>
|
| 364 |
+
<td>28.22 | 13.82</td>
|
| 365 |
+
<td>20.61</td>
|
| 366 |
+
<td>19.70</td>
|
| 367 |
+
<td>13.79</td>
|
| 368 |
+
<td>7.00 | 9.34 | 12.56 | 10.75</td>
|
| 369 |
+
<td>44.44 | 42.57</td>
|
| 370 |
+
<td>7.15</td>
|
| 371 |
+
<td>5.10</td>
|
| 372 |
+
<td>14.56</td>
|
| 373 |
+
<td>12.74</td>
|
| 374 |
+
<td>21.83</td>
|
| 375 |
+
<td><strong>5.51</strong></td>
|
| 376 |
+
<td>53.17</td>
|
| 377 |
+
<td>38.35</td>
|
| 378 |
+
<td>5.17</td>
|
| 379 |
+
<td>4.68</td>
|
| 380 |
+
</tr>
|
| 381 |
+
<tr>
|
| 382 |
+
<td>Qwen2.5-Omni-3B</td>
|
| 383 |
+
<td>1.51</td>
|
| 384 |
+
<td>3.10 | 2.94 | 2.93</td>
|
| 385 |
+
<td>3.32</td>
|
| 386 |
+
<td>3.56</td>
|
| 387 |
+
<td>0.82 | 7.82</td>
|
| 388 |
+
<td>32.14 | 12.16</td>
|
| 389 |
+
<td>22.91</td>
|
| 390 |
+
<td>17.38</td>
|
| 391 |
+
<td>12.96</td>
|
| 392 |
+
<td>6.87 | 10.55 | 14.57 | 11.33</td>
|
| 393 |
+
<td>54.54 | 50.03</td>
|
| 394 |
+
<td>9.04</td>
|
| 395 |
+
<td>5.45</td>
|
| 396 |
+
<td>10.78</td>
|
| 397 |
+
<td>10.94</td>
|
| 398 |
+
<td>13.25</td>
|
| 399 |
+
<td>7.67</td>
|
| 400 |
+
<td>60.06</td>
|
| 401 |
+
<td>45.00</td>
|
| 402 |
+
<td>3.47</td>
|
| 403 |
+
<td>5.54</td>
|
| 404 |
+
</tr>
|
| 405 |
+
<tr>
|
| 406 |
+
<td>Qwen2.5-Omni-7B</td>
|
| 407 |
+
<td>1.16</td>
|
| 408 |
+
<td>2.88 | 2.77 | 2.73</td>
|
| 409 |
+
<td>3.06</td>
|
| 410 |
+
<td>3.16</td>
|
| 411 |
+
<td>0.71 | 6.57</td>
|
| 412 |
+
<td>32.03 | 18.73</td>
|
| 413 |
+
<td>21.01</td>
|
| 414 |
+
<td>19.96</td>
|
| 415 |
+
<td>12.29</td>
|
| 416 |
+
<td>7.27 | 10.94 | 12.92 | 10.53</td>
|
| 417 |
+
<td>51.99 | 49.45</td>
|
| 418 |
+
<td>8.43</td>
|
| 419 |
+
<td>5.13</td>
|
| 420 |
+
<td>14.02</td>
|
| 421 |
+
<td>10.46</td>
|
| 422 |
+
<td>14.42</td>
|
| 423 |
+
<td>6.40</td>
|
| 424 |
+
<td>57.43</td>
|
| 425 |
+
<td>42.62</td>
|
| 426 |
+
<td>2.75</td>
|
| 427 |
+
<td>4.56</td>
|
| 428 |
+
</tr>
|
| 429 |
+
<tr>
|
| 430 |
+
<td>Qwen3-Omni-30B-A3B-Instruct</td>
|
| 431 |
+
<td>0.95</td>
|
| 432 |
+
<td><strong>2.70</strong> | <strong>2.72</strong> | <strong>2.57</strong></td>
|
| 433 |
+
<td>2.21</td>
|
| 434 |
+
<td>2.47</td>
|
| 435 |
+
<td><strong>0.59</strong> | <strong>3.22</strong></td>
|
| 436 |
+
<td>25.72 | <strong>8.44</strong></td>
|
| 437 |
+
<td><strong>18.15</strong></td>
|
| 438 |
+
<td><strong>14.13</strong></td>
|
| 439 |
+
<td><strong>8.79</strong></td>
|
| 440 |
+
<td>6.20 | 8.88 | 11.59 | 10.25</td>
|
| 441 |
+
<td>45.80 | 41.65</td>
|
| 442 |
+
<td><strong>6.64</strong></td>
|
| 443 |
+
<td>4.84</td>
|
| 444 |
+
<td>12.94</td>
|
| 445 |
+
<td>8.33</td>
|
| 446 |
+
<td><strong>12.64</strong></td>
|
| 447 |
+
<td>5.87</td>
|
| 448 |
+
<td>25.39</td>
|
| 449 |
+
<td>30.81</td>
|
| 450 |
+
<td><strong>1.21</strong></td>
|
| 451 |
+
<td>4.73</td>
|
| 452 |
+
</tr>
|
| 453 |
+
<tr>
|
| 454 |
+
<td><strong>MOSS-Audio-4B-Instruct</strong></td>
|
| 455 |
+
<td>2.26</td>
|
| 456 |
+
<td>3.22 | 3.20 | 3.33</td>
|
| 457 |
+
<td>3.53</td>
|
| 458 |
+
<td>3.72</td>
|
| 459 |
+
<td>0.73 | 5.86</td>
|
| 460 |
+
<td>27.27 | 9.68</td>
|
| 461 |
+
<td>20.33</td>
|
| 462 |
+
<td>16.93</td>
|
| 463 |
+
<td>13.25</td>
|
| 464 |
+
<td>6.36 | 9.77 | 12.68 | 10.28</td>
|
| 465 |
+
<td>43.35 | 44.25</td>
|
| 466 |
+
<td>8.17</td>
|
| 467 |
+
<td>8.13</td>
|
| 468 |
+
<td>9.14</td>
|
| 469 |
+
<td>8.37</td>
|
| 470 |
+
<td>12.83</td>
|
| 471 |
+
<td>14.65</td>
|
| 472 |
+
<td>9.04</td>
|
| 473 |
+
<td>18.47</td>
|
| 474 |
+
<td>3.10</td>
|
| 475 |
+
<td><strong>4.01</strong></td>
|
| 476 |
+
</tr>
|
| 477 |
+
<tr>
|
| 478 |
+
<td><strong>MOSS-Audio-8B-Instruct</strong></td>
|
| 479 |
+
<td>1.82</td>
|
| 480 |
+
<td>2.97 | 2.95 | 2.91</td>
|
| 481 |
+
<td>2.82</td>
|
| 482 |
+
<td>3.20</td>
|
| 483 |
+
<td>0.69 | 4.80</td>
|
| 484 |
+
<td>36.82 | 11.25</td>
|
| 485 |
+
<td>24.36</td>
|
| 486 |
+
<td>17.42</td>
|
| 487 |
+
<td>13.10</td>
|
| 488 |
+
<td><strong>5.84</strong> | 8.94 | <strong>11.52</strong> | <strong>9.72</strong></td>
|
| 489 |
+
<td><strong>39.76</strong> | <strong>39.27</strong></td>
|
| 490 |
+
<td>7.86</td>
|
| 491 |
+
<td>7.52</td>
|
| 492 |
+
<td><strong>9.07</strong></td>
|
| 493 |
+
<td>8.22</td>
|
| 494 |
+
<td>13.26</td>
|
| 495 |
+
<td>9.18</td>
|
| 496 |
+
<td>8.33</td>
|
| 497 |
+
<td><strong>17.24</strong></td>
|
| 498 |
+
<td>2.39</td>
|
| 499 |
+
<td>4.31</td>
|
| 500 |
+
</tr>
|
| 501 |
+
</table>
|
| 502 |
+
|
| 503 |
+
</details>
|
| 504 |
+
|
| 505 |
+
|
| 506 |
+
### Timestamp ASR (AAS↓)
|
| 507 |
+
|
| 508 |
+
| Model | AISHELL-1(zh) | LibriSpeech(en) |
|
| 509 |
+
|---|---:|---:|
|
| 510 |
+
| Qwen3-Omni-30B-A3B-Instruct | 833.66 | 646.95 |
|
| 511 |
+
| Gemini-3.1-Pro| 708.24 | 871.19 |
|
| 512 |
+
| MOSS-Audio-4B-Instruct | 76.96 | 358.13 |
|
| 513 |
+
| **MOSS-Audio-8B-Instruct** | **35.77** | **131.61** |
|
| 514 |
+
|
| 515 |
+
|
| 516 |
+
## Quickstart
|
| 517 |
+
|
| 518 |
+
### Environment Setup
|
| 519 |
+
|
| 520 |
+
We recommend Python 3.12 with a clean Conda environment. The commands below are enough for local inference.
|
| 521 |
+
|
| 522 |
+
#### Recommended setup
|
| 523 |
+
|
| 524 |
+
```bash
|
| 525 |
+
git clone https://github.com/OpenMOSS/MOSS-Audio.git
|
| 526 |
+
cd MOSS-Audio
|
| 527 |
+
|
| 528 |
+
conda create -n moss-audio python=3.12 -y
|
| 529 |
+
conda activate moss-audio
|
| 530 |
+
|
| 531 |
+
conda install -c conda-forge "ffmpeg=7" -y
|
| 532 |
+
pip install --extra-index-url https://download.pytorch.org/whl/cu128 -e ".[torch-runtime]"
|
| 533 |
+
```
|
| 534 |
+
|
| 535 |
+
#### Optional: FlashAttention 2
|
| 536 |
+
|
| 537 |
+
If your GPU supports FlashAttention 2, you can replace the last install command with:
|
| 538 |
+
|
| 539 |
+
```bash
|
| 540 |
+
pip install --extra-index-url https://download.pytorch.org/whl/cu128 -e ".[torch-runtime,flash-attn]"
|
| 541 |
+
```
|
| 542 |
+
|
| 543 |
+
|
| 544 |
+
### Basic Usage
|
| 545 |
+
|
| 546 |
+
Download the model first:
|
| 547 |
+
|
| 548 |
+
```bash
|
| 549 |
+
huggingface-cli download OpenMOSS-Team/MOSS-Audio --local-dir ./weights/MOSS-Audio
|
| 550 |
+
huggingface-cli download OpenMOSS-Team/MOSS-Audio-Instruct --local-dir ./weights/MOSS-Audio-Instruct
|
| 551 |
+
```
|
| 552 |
+
|
| 553 |
+
Then edit `MODEL_PATH` / `AUDIO_PATH` in `infer.py` as needed, and run:
|
| 554 |
+
|
| 555 |
+
```bash
|
| 556 |
+
python infer.py
|
| 557 |
+
```
|
| 558 |
+
|
| 559 |
+
The default prompt in `infer.py` is `Describe this audio.` You can directly edit that line if you want to try transcription, audio QA, or speech captioning.
|
| 560 |
+
|
| 561 |
+
### Gradio App
|
| 562 |
+
|
| 563 |
+
Start the Gradio demo with:
|
| 564 |
+
|
| 565 |
+
```bash
|
| 566 |
+
python app.py
|
| 567 |
+
```
|
| 568 |
+
|
| 569 |
+
|
| 570 |
+
|
| 571 |
+
### SGLang Serving
|
| 572 |
+
|
| 573 |
+
If you want to serve MOSS-Audio with SGLang, see the full guide in `moss_audio_usage_guide.md`.
|
| 574 |
+
|
| 575 |
+
The shortest setup is:
|
| 576 |
+
|
| 577 |
+
```bash
|
| 578 |
+
git clone -b moss-audio https://github.com/OpenMOSS/sglang.git
|
| 579 |
+
cd sglang
|
| 580 |
+
pip install -e "python[all]"
|
| 581 |
+
pip install nvidia-cudnn-cu12==9.16.0.29
|
| 582 |
+
cd ..
|
| 583 |
+
sglang serve --model-path ./weights/MOSS-Audio --trust-remote-code
|
| 584 |
+
```
|
| 585 |
+
|
| 586 |
+
If you use the default `torch==2.9.1+cu128` runtime, installing `nvidia-cudnn-cu12==9.16.0.29` is recommended before starting `sglang serve`.
|
| 587 |
+
|
| 588 |
+
|
| 589 |
+
<a id="more-information"></a>
|
| 590 |
+
|
| 591 |
+
## More Information
|
| 592 |
+
- **MOSI.AI**: [https://mosi.cn](https://mosi.cn)
|
| 593 |
+
- **OpenMOSS**: [https://www.open-moss.com](https://www.open-moss.com)
|
| 594 |
+
|
| 595 |
+
|
| 596 |
+
## LICENSE
|
| 597 |
+
|
| 598 |
+
Models in MOSS-Audio are licensed under the Apache License 2.0.
|
| 599 |
+
|
| 600 |
+
|
| 601 |
+
## Citation
|
| 602 |
+
|
| 603 |
+
```bibtex
|
| 604 |
+
@misc{mossaudio2026,
|
| 605 |
+
title={MOSS-Audio Technical Report},
|
| 606 |
+
author={OpenMOSS Team},
|
| 607 |
+
year={2026},
|
| 608 |
+
howpublished={\url{https://github.com/OpenMOSS/MOSS-Audio}},
|
| 609 |
+
note={GitHub repository}
|
| 610 |
+
}
|
| 611 |
+
```
|
| 612 |
+
|
| 613 |
+
## Star History
|
| 614 |
+
|
| 615 |
+
[](https://www.star-history.com/#OpenMOSS/MOSS-Audio&type=date&legend=top-left)
|
added_tokens.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</think>": 151668,
|
| 3 |
+
"</tool_call>": 151658,
|
| 4 |
+
"</tool_response>": 151666,
|
| 5 |
+
"<think>": 151667,
|
| 6 |
+
"<tool_call>": 151657,
|
| 7 |
+
"<tool_response>": 151665,
|
| 8 |
+
"<|assistant|>": 151671,
|
| 9 |
+
"<|box_end|>": 151649,
|
| 10 |
+
"<|box_start|>": 151648,
|
| 11 |
+
"<|endoftext|>": 151643,
|
| 12 |
+
"<|eot|>": 151672,
|
| 13 |
+
"<|file_sep|>": 151664,
|
| 14 |
+
"<|fim_middle|>": 151660,
|
| 15 |
+
"<|fim_pad|>": 151662,
|
| 16 |
+
"<|fim_prefix|>": 151659,
|
| 17 |
+
"<|fim_suffix|>": 151661,
|
| 18 |
+
"<|im_end|>": 151645,
|
| 19 |
+
"<|im_start|>": 151644,
|
| 20 |
+
"<|image_pad|>": 151655,
|
| 21 |
+
"<|object_ref_end|>": 151647,
|
| 22 |
+
"<|object_ref_start|>": 151646,
|
| 23 |
+
"<|quad_end|>": 151651,
|
| 24 |
+
"<|quad_start|>": 151650,
|
| 25 |
+
"<|repo_name|>": 151663,
|
| 26 |
+
"<|system|>": 151669,
|
| 27 |
+
"<|user|>": 151670,
|
| 28 |
+
"<|video_pad|>": 151656,
|
| 29 |
+
"<|vision_end|>": 151653,
|
| 30 |
+
"<|vision_pad|>": 151654,
|
| 31 |
+
"<|vision_start|>": 151652
|
| 32 |
+
}
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0].role == 'system' %}
|
| 4 |
+
{{- messages[0].content + '\n\n' }}
|
| 5 |
+
{%- endif %}
|
| 6 |
+
{{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 7 |
+
{%- for tool in tools %}
|
| 8 |
+
{{- "\n" }}
|
| 9 |
+
{{- tool | tojson }}
|
| 10 |
+
{%- endfor %}
|
| 11 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 12 |
+
{%- else %}
|
| 13 |
+
{%- if messages[0].role == 'system' %}
|
| 14 |
+
{{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
|
| 15 |
+
{%- endif %}
|
| 16 |
+
{%- endif %}
|
| 17 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 18 |
+
{%- for message in messages[::-1] %}
|
| 19 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 20 |
+
{%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
|
| 21 |
+
{%- set ns.multi_step_tool = false %}
|
| 22 |
+
{%- set ns.last_query_index = index %}
|
| 23 |
+
{%- endif %}
|
| 24 |
+
{%- endfor %}
|
| 25 |
+
{%- for message in messages %}
|
| 26 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
| 27 |
+
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
| 28 |
+
{%- elif message.role == "assistant" %}
|
| 29 |
+
{%- set content = message.content %}
|
| 30 |
+
{%- set reasoning_content = '' %}
|
| 31 |
+
{%- if message.reasoning_content is defined and message.reasoning_content is not none %}
|
| 32 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 33 |
+
{%- else %}
|
| 34 |
+
{%- if '</think>' in message.content %}
|
| 35 |
+
{%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
|
| 36 |
+
{%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 37 |
+
{%- endif %}
|
| 38 |
+
{%- endif %}
|
| 39 |
+
{%- if loop.index0 > ns.last_query_index %}
|
| 40 |
+
{%- if loop.last or (not loop.last and reasoning_content) %}
|
| 41 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
|
| 42 |
+
{%- else %}
|
| 43 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 44 |
+
{%- endif %}
|
| 45 |
+
{%- else %}
|
| 46 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 47 |
+
{%- endif %}
|
| 48 |
+
{%- if message.tool_calls %}
|
| 49 |
+
{%- for tool_call in message.tool_calls %}
|
| 50 |
+
{%- if (loop.first and content) or (not loop.first) %}
|
| 51 |
+
{{- '\n' }}
|
| 52 |
+
{%- endif %}
|
| 53 |
+
{%- if tool_call.function %}
|
| 54 |
+
{%- set tool_call = tool_call.function %}
|
| 55 |
+
{%- endif %}
|
| 56 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 57 |
+
{{- tool_call.name }}
|
| 58 |
+
{{- '", "arguments": ' }}
|
| 59 |
+
{%- if tool_call.arguments is string %}
|
| 60 |
+
{{- tool_call.arguments }}
|
| 61 |
+
{%- else %}
|
| 62 |
+
{{- tool_call.arguments | tojson }}
|
| 63 |
+
{%- endif %}
|
| 64 |
+
{{- '}\n</tool_call>' }}
|
| 65 |
+
{%- endfor %}
|
| 66 |
+
{%- endif %}
|
| 67 |
+
{{- '<|im_end|>\n' }}
|
| 68 |
+
{%- elif message.role == "tool" %}
|
| 69 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 70 |
+
{{- '<|im_start|>user' }}
|
| 71 |
+
{%- endif %}
|
| 72 |
+
{{- '\n<tool_response>\n' }}
|
| 73 |
+
{{- message.content }}
|
| 74 |
+
{{- '\n</tool_response>' }}
|
| 75 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 76 |
+
{{- '<|im_end|>\n' }}
|
| 77 |
+
{%- endif %}
|
| 78 |
+
{%- endif %}
|
| 79 |
+
{%- endfor %}
|
| 80 |
+
{%- if add_generation_prompt %}
|
| 81 |
+
{{- '<|im_start|>assistant\n' }}
|
| 82 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 83 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 84 |
+
{%- endif %}
|
| 85 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"adapter_hidden_size": 8192,
|
| 3 |
+
"architectures": [
|
| 4 |
+
"MossAudioModel"
|
| 5 |
+
],
|
| 6 |
+
"audio_config": {
|
| 7 |
+
"_attn_implementation": "eager",
|
| 8 |
+
"activation_dropout": 0.0,
|
| 9 |
+
"activation_function": "gelu",
|
| 10 |
+
"attention_dropout": 0.1,
|
| 11 |
+
"d_model": 1280,
|
| 12 |
+
"deepstack_encoder_layer_indexes": [
|
| 13 |
+
8,
|
| 14 |
+
16,
|
| 15 |
+
24
|
| 16 |
+
],
|
| 17 |
+
"downsample_hidden_size": 480,
|
| 18 |
+
"downsample_rate": 8,
|
| 19 |
+
"dropout": 0.1,
|
| 20 |
+
"encoder_attention_heads": 20,
|
| 21 |
+
"encoder_attention_window_size": 100,
|
| 22 |
+
"encoder_ffn_dim": 5120,
|
| 23 |
+
"encoder_layers": 32,
|
| 24 |
+
"layer_norm_eps": 1e-05,
|
| 25 |
+
"max_source_positions": 1500,
|
| 26 |
+
"num_mel_bins": 128,
|
| 27 |
+
"output_dim": 1280,
|
| 28 |
+
"pretrained_path": ""
|
| 29 |
+
},
|
| 30 |
+
"auto_map": {
|
| 31 |
+
"AutoConfig": "configuration_moss_audio.MossAudioConfig",
|
| 32 |
+
"AutoProcessor": "processing_moss_audio.MossAudioProcessor"
|
| 33 |
+
},
|
| 34 |
+
"bos_token_id": 151643,
|
| 35 |
+
"deepstack_num_inject_layers": 3,
|
| 36 |
+
"dtype": "bfloat16",
|
| 37 |
+
"eos_token_id": 151645,
|
| 38 |
+
"ignore_index": -100,
|
| 39 |
+
"language_config": {
|
| 40 |
+
"architectures": [
|
| 41 |
+
"Qwen3ForCausalLM"
|
| 42 |
+
],
|
| 43 |
+
"attention_bias": false,
|
| 44 |
+
"attention_dropout": 0.0,
|
| 45 |
+
"bos_token_id": 151643,
|
| 46 |
+
"eos_token_id": 151645,
|
| 47 |
+
"head_dim": 128,
|
| 48 |
+
"hidden_act": "silu",
|
| 49 |
+
"hidden_size": 4096,
|
| 50 |
+
"initializer_range": 0.02,
|
| 51 |
+
"intermediate_size": 12288,
|
| 52 |
+
"layer_types": [
|
| 53 |
+
"full_attention",
|
| 54 |
+
"full_attention",
|
| 55 |
+
"full_attention",
|
| 56 |
+
"full_attention",
|
| 57 |
+
"full_attention",
|
| 58 |
+
"full_attention",
|
| 59 |
+
"full_attention",
|
| 60 |
+
"full_attention",
|
| 61 |
+
"full_attention",
|
| 62 |
+
"full_attention",
|
| 63 |
+
"full_attention",
|
| 64 |
+
"full_attention",
|
| 65 |
+
"full_attention",
|
| 66 |
+
"full_attention",
|
| 67 |
+
"full_attention",
|
| 68 |
+
"full_attention",
|
| 69 |
+
"full_attention",
|
| 70 |
+
"full_attention",
|
| 71 |
+
"full_attention",
|
| 72 |
+
"full_attention",
|
| 73 |
+
"full_attention",
|
| 74 |
+
"full_attention",
|
| 75 |
+
"full_attention",
|
| 76 |
+
"full_attention",
|
| 77 |
+
"full_attention",
|
| 78 |
+
"full_attention",
|
| 79 |
+
"full_attention",
|
| 80 |
+
"full_attention",
|
| 81 |
+
"full_attention",
|
| 82 |
+
"full_attention",
|
| 83 |
+
"full_attention",
|
| 84 |
+
"full_attention",
|
| 85 |
+
"full_attention",
|
| 86 |
+
"full_attention",
|
| 87 |
+
"full_attention",
|
| 88 |
+
"full_attention"
|
| 89 |
+
],
|
| 90 |
+
"max_position_embeddings": 40960,
|
| 91 |
+
"max_window_layers": 36,
|
| 92 |
+
"model_type": "qwen3",
|
| 93 |
+
"num_attention_heads": 32,
|
| 94 |
+
"num_hidden_layers": 36,
|
| 95 |
+
"num_key_value_heads": 8,
|
| 96 |
+
"rms_norm_eps": 1e-06,
|
| 97 |
+
"rope_scaling": null,
|
| 98 |
+
"rope_theta": 1000000,
|
| 99 |
+
"sliding_window": null,
|
| 100 |
+
"use_cache": true,
|
| 101 |
+
"use_sliding_window": false,
|
| 102 |
+
"vocab_size": 151936
|
| 103 |
+
},
|
| 104 |
+
"model_type": "moss_audio",
|
| 105 |
+
"num_hidden_layers": 36,
|
| 106 |
+
"tie_word_embeddings": false,
|
| 107 |
+
"transformers_version": "4.57.1",
|
| 108 |
+
"vocab_size": 151936
|
| 109 |
+
}
|
configuration_moss_audio.py
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from transformers import PretrainedConfig, Qwen3Config
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
class MossAudioConfig(PretrainedConfig):
|
| 5 |
+
model_type = "moss_audio"
|
| 6 |
+
is_composition = True
|
| 7 |
+
|
| 8 |
+
def __init__(
|
| 9 |
+
self,
|
| 10 |
+
audio_config=None,
|
| 11 |
+
language_config=None,
|
| 12 |
+
adapter_hidden_size=8192,
|
| 13 |
+
ignore_index=-100,
|
| 14 |
+
deepstack_num_inject_layers=None,
|
| 15 |
+
**kwargs,
|
| 16 |
+
):
|
| 17 |
+
if isinstance(language_config, dict):
|
| 18 |
+
language_config = Qwen3Config(**language_config)
|
| 19 |
+
elif language_config is None:
|
| 20 |
+
language_config = Qwen3Config()
|
| 21 |
+
|
| 22 |
+
self.audio_config = audio_config
|
| 23 |
+
self.language_config = language_config
|
| 24 |
+
self.adapter_hidden_size = adapter_hidden_size
|
| 25 |
+
self.ignore_index = ignore_index
|
| 26 |
+
self.deepstack_num_inject_layers = deepstack_num_inject_layers
|
| 27 |
+
|
| 28 |
+
for key in ("num_hidden_layers", "eos_token_id", "bos_token_id", "vocab_size"):
|
| 29 |
+
kwargs.setdefault(key, getattr(language_config, key, None))
|
| 30 |
+
|
| 31 |
+
super().__init__(**kwargs)
|
generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 151643,
|
| 4 |
+
"eos_token_id": 151645,
|
| 5 |
+
"transformers_version": "4.57.1"
|
| 6 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model-00001-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ead244c31d39119e1447f31ff04d7a52698c8352553fec472c6284ed6828c3d6
|
| 3 |
+
size 4931218512
|
model-00002-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cdfb0c2c3c1c98208cd40bb72bbeda4faa2436dca55fc461b535e6e9a80736d6
|
| 3 |
+
size 4983069720
|
model-00003-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eeaeb7cb4575954150f43f81c83988abe48a45d668aed637ce5bf4f0d0d050b8
|
| 3 |
+
size 4999847608
|
model-00004-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e9a71c1548f6850c6113e94a3ecafde650a1b4e870c3bca5b686ed744c68792
|
| 3 |
+
size 3190899536
|
model.safetensors.index.json
ADDED
|
@@ -0,0 +1,909 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_parameters": 9052463488,
|
| 4 |
+
"total_size": 18104926976
|
| 5 |
+
},
|
| 6 |
+
"weight_map": {
|
| 7 |
+
"audio_adapter.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 8 |
+
"audio_adapter.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 9 |
+
"audio_adapter.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 10 |
+
"audio_encoder.conv1.bias": "model-00001-of-00004.safetensors",
|
| 11 |
+
"audio_encoder.conv1.weight": "model-00001-of-00004.safetensors",
|
| 12 |
+
"audio_encoder.conv2.bias": "model-00001-of-00004.safetensors",
|
| 13 |
+
"audio_encoder.conv2.weight": "model-00001-of-00004.safetensors",
|
| 14 |
+
"audio_encoder.conv3.bias": "model-00001-of-00004.safetensors",
|
| 15 |
+
"audio_encoder.conv3.weight": "model-00001-of-00004.safetensors",
|
| 16 |
+
"audio_encoder.layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 17 |
+
"audio_encoder.layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 18 |
+
"audio_encoder.layers.0.fc1.bias": "model-00001-of-00004.safetensors",
|
| 19 |
+
"audio_encoder.layers.0.fc1.weight": "model-00001-of-00004.safetensors",
|
| 20 |
+
"audio_encoder.layers.0.fc2.bias": "model-00001-of-00004.safetensors",
|
| 21 |
+
"audio_encoder.layers.0.fc2.weight": "model-00001-of-00004.safetensors",
|
| 22 |
+
"audio_encoder.layers.0.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 23 |
+
"audio_encoder.layers.0.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 24 |
+
"audio_encoder.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 25 |
+
"audio_encoder.layers.0.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 26 |
+
"audio_encoder.layers.0.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 27 |
+
"audio_encoder.layers.0.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 28 |
+
"audio_encoder.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 29 |
+
"audio_encoder.layers.0.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 30 |
+
"audio_encoder.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 31 |
+
"audio_encoder.layers.0.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 32 |
+
"audio_encoder.layers.0.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 33 |
+
"audio_encoder.layers.1.fc1.bias": "model-00001-of-00004.safetensors",
|
| 34 |
+
"audio_encoder.layers.1.fc1.weight": "model-00001-of-00004.safetensors",
|
| 35 |
+
"audio_encoder.layers.1.fc2.bias": "model-00001-of-00004.safetensors",
|
| 36 |
+
"audio_encoder.layers.1.fc2.weight": "model-00001-of-00004.safetensors",
|
| 37 |
+
"audio_encoder.layers.1.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 38 |
+
"audio_encoder.layers.1.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 39 |
+
"audio_encoder.layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 40 |
+
"audio_encoder.layers.1.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 41 |
+
"audio_encoder.layers.1.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 42 |
+
"audio_encoder.layers.1.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 43 |
+
"audio_encoder.layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 44 |
+
"audio_encoder.layers.1.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 45 |
+
"audio_encoder.layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 46 |
+
"audio_encoder.layers.1.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 47 |
+
"audio_encoder.layers.1.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 48 |
+
"audio_encoder.layers.10.fc1.bias": "model-00001-of-00004.safetensors",
|
| 49 |
+
"audio_encoder.layers.10.fc1.weight": "model-00001-of-00004.safetensors",
|
| 50 |
+
"audio_encoder.layers.10.fc2.bias": "model-00001-of-00004.safetensors",
|
| 51 |
+
"audio_encoder.layers.10.fc2.weight": "model-00001-of-00004.safetensors",
|
| 52 |
+
"audio_encoder.layers.10.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 53 |
+
"audio_encoder.layers.10.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 54 |
+
"audio_encoder.layers.10.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 55 |
+
"audio_encoder.layers.10.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 56 |
+
"audio_encoder.layers.10.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 57 |
+
"audio_encoder.layers.10.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 58 |
+
"audio_encoder.layers.10.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 59 |
+
"audio_encoder.layers.10.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 60 |
+
"audio_encoder.layers.10.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 61 |
+
"audio_encoder.layers.10.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 62 |
+
"audio_encoder.layers.10.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 63 |
+
"audio_encoder.layers.11.fc1.bias": "model-00001-of-00004.safetensors",
|
| 64 |
+
"audio_encoder.layers.11.fc1.weight": "model-00001-of-00004.safetensors",
|
| 65 |
+
"audio_encoder.layers.11.fc2.bias": "model-00001-of-00004.safetensors",
|
| 66 |
+
"audio_encoder.layers.11.fc2.weight": "model-00001-of-00004.safetensors",
|
| 67 |
+
"audio_encoder.layers.11.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 68 |
+
"audio_encoder.layers.11.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 69 |
+
"audio_encoder.layers.11.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 70 |
+
"audio_encoder.layers.11.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 71 |
+
"audio_encoder.layers.11.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 72 |
+
"audio_encoder.layers.11.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 73 |
+
"audio_encoder.layers.11.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 74 |
+
"audio_encoder.layers.11.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 75 |
+
"audio_encoder.layers.11.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 76 |
+
"audio_encoder.layers.11.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 77 |
+
"audio_encoder.layers.11.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 78 |
+
"audio_encoder.layers.12.fc1.bias": "model-00001-of-00004.safetensors",
|
| 79 |
+
"audio_encoder.layers.12.fc1.weight": "model-00001-of-00004.safetensors",
|
| 80 |
+
"audio_encoder.layers.12.fc2.bias": "model-00001-of-00004.safetensors",
|
| 81 |
+
"audio_encoder.layers.12.fc2.weight": "model-00001-of-00004.safetensors",
|
| 82 |
+
"audio_encoder.layers.12.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 83 |
+
"audio_encoder.layers.12.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 84 |
+
"audio_encoder.layers.12.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 85 |
+
"audio_encoder.layers.12.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 86 |
+
"audio_encoder.layers.12.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 87 |
+
"audio_encoder.layers.12.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 88 |
+
"audio_encoder.layers.12.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 89 |
+
"audio_encoder.layers.12.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 90 |
+
"audio_encoder.layers.12.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 91 |
+
"audio_encoder.layers.12.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 92 |
+
"audio_encoder.layers.12.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 93 |
+
"audio_encoder.layers.13.fc1.bias": "model-00001-of-00004.safetensors",
|
| 94 |
+
"audio_encoder.layers.13.fc1.weight": "model-00001-of-00004.safetensors",
|
| 95 |
+
"audio_encoder.layers.13.fc2.bias": "model-00001-of-00004.safetensors",
|
| 96 |
+
"audio_encoder.layers.13.fc2.weight": "model-00001-of-00004.safetensors",
|
| 97 |
+
"audio_encoder.layers.13.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 98 |
+
"audio_encoder.layers.13.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 99 |
+
"audio_encoder.layers.13.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 100 |
+
"audio_encoder.layers.13.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 101 |
+
"audio_encoder.layers.13.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 102 |
+
"audio_encoder.layers.13.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 103 |
+
"audio_encoder.layers.13.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 104 |
+
"audio_encoder.layers.13.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 105 |
+
"audio_encoder.layers.13.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 106 |
+
"audio_encoder.layers.13.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 107 |
+
"audio_encoder.layers.13.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 108 |
+
"audio_encoder.layers.14.fc1.bias": "model-00001-of-00004.safetensors",
|
| 109 |
+
"audio_encoder.layers.14.fc1.weight": "model-00001-of-00004.safetensors",
|
| 110 |
+
"audio_encoder.layers.14.fc2.bias": "model-00001-of-00004.safetensors",
|
| 111 |
+
"audio_encoder.layers.14.fc2.weight": "model-00001-of-00004.safetensors",
|
| 112 |
+
"audio_encoder.layers.14.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 113 |
+
"audio_encoder.layers.14.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 114 |
+
"audio_encoder.layers.14.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 115 |
+
"audio_encoder.layers.14.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 116 |
+
"audio_encoder.layers.14.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 117 |
+
"audio_encoder.layers.14.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 118 |
+
"audio_encoder.layers.14.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 119 |
+
"audio_encoder.layers.14.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 120 |
+
"audio_encoder.layers.14.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 121 |
+
"audio_encoder.layers.14.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 122 |
+
"audio_encoder.layers.14.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 123 |
+
"audio_encoder.layers.15.fc1.bias": "model-00001-of-00004.safetensors",
|
| 124 |
+
"audio_encoder.layers.15.fc1.weight": "model-00001-of-00004.safetensors",
|
| 125 |
+
"audio_encoder.layers.15.fc2.bias": "model-00001-of-00004.safetensors",
|
| 126 |
+
"audio_encoder.layers.15.fc2.weight": "model-00001-of-00004.safetensors",
|
| 127 |
+
"audio_encoder.layers.15.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 128 |
+
"audio_encoder.layers.15.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 129 |
+
"audio_encoder.layers.15.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 130 |
+
"audio_encoder.layers.15.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 131 |
+
"audio_encoder.layers.15.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 132 |
+
"audio_encoder.layers.15.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 133 |
+
"audio_encoder.layers.15.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 134 |
+
"audio_encoder.layers.15.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 135 |
+
"audio_encoder.layers.15.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 136 |
+
"audio_encoder.layers.15.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 137 |
+
"audio_encoder.layers.15.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 138 |
+
"audio_encoder.layers.16.fc1.bias": "model-00001-of-00004.safetensors",
|
| 139 |
+
"audio_encoder.layers.16.fc1.weight": "model-00001-of-00004.safetensors",
|
| 140 |
+
"audio_encoder.layers.16.fc2.bias": "model-00001-of-00004.safetensors",
|
| 141 |
+
"audio_encoder.layers.16.fc2.weight": "model-00001-of-00004.safetensors",
|
| 142 |
+
"audio_encoder.layers.16.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 143 |
+
"audio_encoder.layers.16.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 144 |
+
"audio_encoder.layers.16.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 145 |
+
"audio_encoder.layers.16.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 146 |
+
"audio_encoder.layers.16.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 147 |
+
"audio_encoder.layers.16.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 148 |
+
"audio_encoder.layers.16.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 149 |
+
"audio_encoder.layers.16.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 150 |
+
"audio_encoder.layers.16.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 151 |
+
"audio_encoder.layers.16.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 152 |
+
"audio_encoder.layers.16.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 153 |
+
"audio_encoder.layers.17.fc1.bias": "model-00001-of-00004.safetensors",
|
| 154 |
+
"audio_encoder.layers.17.fc1.weight": "model-00001-of-00004.safetensors",
|
| 155 |
+
"audio_encoder.layers.17.fc2.bias": "model-00001-of-00004.safetensors",
|
| 156 |
+
"audio_encoder.layers.17.fc2.weight": "model-00001-of-00004.safetensors",
|
| 157 |
+
"audio_encoder.layers.17.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 158 |
+
"audio_encoder.layers.17.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 159 |
+
"audio_encoder.layers.17.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 160 |
+
"audio_encoder.layers.17.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 161 |
+
"audio_encoder.layers.17.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 162 |
+
"audio_encoder.layers.17.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 163 |
+
"audio_encoder.layers.17.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 164 |
+
"audio_encoder.layers.17.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 165 |
+
"audio_encoder.layers.17.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 166 |
+
"audio_encoder.layers.17.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 167 |
+
"audio_encoder.layers.17.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 168 |
+
"audio_encoder.layers.18.fc1.bias": "model-00001-of-00004.safetensors",
|
| 169 |
+
"audio_encoder.layers.18.fc1.weight": "model-00001-of-00004.safetensors",
|
| 170 |
+
"audio_encoder.layers.18.fc2.bias": "model-00001-of-00004.safetensors",
|
| 171 |
+
"audio_encoder.layers.18.fc2.weight": "model-00001-of-00004.safetensors",
|
| 172 |
+
"audio_encoder.layers.18.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 173 |
+
"audio_encoder.layers.18.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 174 |
+
"audio_encoder.layers.18.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 175 |
+
"audio_encoder.layers.18.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 176 |
+
"audio_encoder.layers.18.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 177 |
+
"audio_encoder.layers.18.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 178 |
+
"audio_encoder.layers.18.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 179 |
+
"audio_encoder.layers.18.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 180 |
+
"audio_encoder.layers.18.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 181 |
+
"audio_encoder.layers.18.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 182 |
+
"audio_encoder.layers.18.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 183 |
+
"audio_encoder.layers.19.fc1.bias": "model-00001-of-00004.safetensors",
|
| 184 |
+
"audio_encoder.layers.19.fc1.weight": "model-00001-of-00004.safetensors",
|
| 185 |
+
"audio_encoder.layers.19.fc2.bias": "model-00001-of-00004.safetensors",
|
| 186 |
+
"audio_encoder.layers.19.fc2.weight": "model-00001-of-00004.safetensors",
|
| 187 |
+
"audio_encoder.layers.19.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 188 |
+
"audio_encoder.layers.19.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 189 |
+
"audio_encoder.layers.19.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 190 |
+
"audio_encoder.layers.19.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 191 |
+
"audio_encoder.layers.19.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 192 |
+
"audio_encoder.layers.19.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 193 |
+
"audio_encoder.layers.19.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 194 |
+
"audio_encoder.layers.19.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 195 |
+
"audio_encoder.layers.19.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 196 |
+
"audio_encoder.layers.19.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 197 |
+
"audio_encoder.layers.19.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 198 |
+
"audio_encoder.layers.2.fc1.bias": "model-00001-of-00004.safetensors",
|
| 199 |
+
"audio_encoder.layers.2.fc1.weight": "model-00001-of-00004.safetensors",
|
| 200 |
+
"audio_encoder.layers.2.fc2.bias": "model-00001-of-00004.safetensors",
|
| 201 |
+
"audio_encoder.layers.2.fc2.weight": "model-00001-of-00004.safetensors",
|
| 202 |
+
"audio_encoder.layers.2.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 203 |
+
"audio_encoder.layers.2.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 204 |
+
"audio_encoder.layers.2.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 205 |
+
"audio_encoder.layers.2.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 206 |
+
"audio_encoder.layers.2.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 207 |
+
"audio_encoder.layers.2.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 208 |
+
"audio_encoder.layers.2.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 209 |
+
"audio_encoder.layers.2.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 210 |
+
"audio_encoder.layers.2.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 211 |
+
"audio_encoder.layers.2.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 212 |
+
"audio_encoder.layers.2.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 213 |
+
"audio_encoder.layers.20.fc1.bias": "model-00001-of-00004.safetensors",
|
| 214 |
+
"audio_encoder.layers.20.fc1.weight": "model-00001-of-00004.safetensors",
|
| 215 |
+
"audio_encoder.layers.20.fc2.bias": "model-00001-of-00004.safetensors",
|
| 216 |
+
"audio_encoder.layers.20.fc2.weight": "model-00001-of-00004.safetensors",
|
| 217 |
+
"audio_encoder.layers.20.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 218 |
+
"audio_encoder.layers.20.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 219 |
+
"audio_encoder.layers.20.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 220 |
+
"audio_encoder.layers.20.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 221 |
+
"audio_encoder.layers.20.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 222 |
+
"audio_encoder.layers.20.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 223 |
+
"audio_encoder.layers.20.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 224 |
+
"audio_encoder.layers.20.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 225 |
+
"audio_encoder.layers.20.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 226 |
+
"audio_encoder.layers.20.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 227 |
+
"audio_encoder.layers.20.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 228 |
+
"audio_encoder.layers.21.fc1.bias": "model-00001-of-00004.safetensors",
|
| 229 |
+
"audio_encoder.layers.21.fc1.weight": "model-00001-of-00004.safetensors",
|
| 230 |
+
"audio_encoder.layers.21.fc2.bias": "model-00001-of-00004.safetensors",
|
| 231 |
+
"audio_encoder.layers.21.fc2.weight": "model-00001-of-00004.safetensors",
|
| 232 |
+
"audio_encoder.layers.21.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 233 |
+
"audio_encoder.layers.21.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 234 |
+
"audio_encoder.layers.21.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 235 |
+
"audio_encoder.layers.21.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 236 |
+
"audio_encoder.layers.21.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 237 |
+
"audio_encoder.layers.21.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 238 |
+
"audio_encoder.layers.21.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 239 |
+
"audio_encoder.layers.21.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 240 |
+
"audio_encoder.layers.21.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 241 |
+
"audio_encoder.layers.21.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 242 |
+
"audio_encoder.layers.21.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 243 |
+
"audio_encoder.layers.22.fc1.bias": "model-00001-of-00004.safetensors",
|
| 244 |
+
"audio_encoder.layers.22.fc1.weight": "model-00001-of-00004.safetensors",
|
| 245 |
+
"audio_encoder.layers.22.fc2.bias": "model-00001-of-00004.safetensors",
|
| 246 |
+
"audio_encoder.layers.22.fc2.weight": "model-00001-of-00004.safetensors",
|
| 247 |
+
"audio_encoder.layers.22.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 248 |
+
"audio_encoder.layers.22.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 249 |
+
"audio_encoder.layers.22.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 250 |
+
"audio_encoder.layers.22.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 251 |
+
"audio_encoder.layers.22.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 252 |
+
"audio_encoder.layers.22.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 253 |
+
"audio_encoder.layers.22.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 254 |
+
"audio_encoder.layers.22.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 255 |
+
"audio_encoder.layers.22.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 256 |
+
"audio_encoder.layers.22.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 257 |
+
"audio_encoder.layers.22.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 258 |
+
"audio_encoder.layers.23.fc1.bias": "model-00001-of-00004.safetensors",
|
| 259 |
+
"audio_encoder.layers.23.fc1.weight": "model-00001-of-00004.safetensors",
|
| 260 |
+
"audio_encoder.layers.23.fc2.bias": "model-00001-of-00004.safetensors",
|
| 261 |
+
"audio_encoder.layers.23.fc2.weight": "model-00001-of-00004.safetensors",
|
| 262 |
+
"audio_encoder.layers.23.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 263 |
+
"audio_encoder.layers.23.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 264 |
+
"audio_encoder.layers.23.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 265 |
+
"audio_encoder.layers.23.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 266 |
+
"audio_encoder.layers.23.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 267 |
+
"audio_encoder.layers.23.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 268 |
+
"audio_encoder.layers.23.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 269 |
+
"audio_encoder.layers.23.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 270 |
+
"audio_encoder.layers.23.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 271 |
+
"audio_encoder.layers.23.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 272 |
+
"audio_encoder.layers.23.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 273 |
+
"audio_encoder.layers.24.fc1.bias": "model-00001-of-00004.safetensors",
|
| 274 |
+
"audio_encoder.layers.24.fc1.weight": "model-00001-of-00004.safetensors",
|
| 275 |
+
"audio_encoder.layers.24.fc2.bias": "model-00001-of-00004.safetensors",
|
| 276 |
+
"audio_encoder.layers.24.fc2.weight": "model-00001-of-00004.safetensors",
|
| 277 |
+
"audio_encoder.layers.24.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 278 |
+
"audio_encoder.layers.24.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 279 |
+
"audio_encoder.layers.24.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 280 |
+
"audio_encoder.layers.24.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 281 |
+
"audio_encoder.layers.24.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 282 |
+
"audio_encoder.layers.24.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 283 |
+
"audio_encoder.layers.24.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 284 |
+
"audio_encoder.layers.24.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 285 |
+
"audio_encoder.layers.24.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 286 |
+
"audio_encoder.layers.24.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 287 |
+
"audio_encoder.layers.24.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 288 |
+
"audio_encoder.layers.25.fc1.bias": "model-00001-of-00004.safetensors",
|
| 289 |
+
"audio_encoder.layers.25.fc1.weight": "model-00001-of-00004.safetensors",
|
| 290 |
+
"audio_encoder.layers.25.fc2.bias": "model-00001-of-00004.safetensors",
|
| 291 |
+
"audio_encoder.layers.25.fc2.weight": "model-00001-of-00004.safetensors",
|
| 292 |
+
"audio_encoder.layers.25.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 293 |
+
"audio_encoder.layers.25.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 294 |
+
"audio_encoder.layers.25.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 295 |
+
"audio_encoder.layers.25.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 296 |
+
"audio_encoder.layers.25.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 297 |
+
"audio_encoder.layers.25.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 298 |
+
"audio_encoder.layers.25.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 299 |
+
"audio_encoder.layers.25.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 300 |
+
"audio_encoder.layers.25.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 301 |
+
"audio_encoder.layers.25.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 302 |
+
"audio_encoder.layers.25.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 303 |
+
"audio_encoder.layers.26.fc1.bias": "model-00001-of-00004.safetensors",
|
| 304 |
+
"audio_encoder.layers.26.fc1.weight": "model-00001-of-00004.safetensors",
|
| 305 |
+
"audio_encoder.layers.26.fc2.bias": "model-00001-of-00004.safetensors",
|
| 306 |
+
"audio_encoder.layers.26.fc2.weight": "model-00001-of-00004.safetensors",
|
| 307 |
+
"audio_encoder.layers.26.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 308 |
+
"audio_encoder.layers.26.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 309 |
+
"audio_encoder.layers.26.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 310 |
+
"audio_encoder.layers.26.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 311 |
+
"audio_encoder.layers.26.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 312 |
+
"audio_encoder.layers.26.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 313 |
+
"audio_encoder.layers.26.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 314 |
+
"audio_encoder.layers.26.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 315 |
+
"audio_encoder.layers.26.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 316 |
+
"audio_encoder.layers.26.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 317 |
+
"audio_encoder.layers.26.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 318 |
+
"audio_encoder.layers.27.fc1.bias": "model-00001-of-00004.safetensors",
|
| 319 |
+
"audio_encoder.layers.27.fc1.weight": "model-00001-of-00004.safetensors",
|
| 320 |
+
"audio_encoder.layers.27.fc2.bias": "model-00001-of-00004.safetensors",
|
| 321 |
+
"audio_encoder.layers.27.fc2.weight": "model-00001-of-00004.safetensors",
|
| 322 |
+
"audio_encoder.layers.27.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 323 |
+
"audio_encoder.layers.27.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 324 |
+
"audio_encoder.layers.27.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 325 |
+
"audio_encoder.layers.27.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 326 |
+
"audio_encoder.layers.27.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 327 |
+
"audio_encoder.layers.27.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 328 |
+
"audio_encoder.layers.27.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 329 |
+
"audio_encoder.layers.27.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 330 |
+
"audio_encoder.layers.27.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 331 |
+
"audio_encoder.layers.27.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 332 |
+
"audio_encoder.layers.27.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 333 |
+
"audio_encoder.layers.28.fc1.bias": "model-00001-of-00004.safetensors",
|
| 334 |
+
"audio_encoder.layers.28.fc1.weight": "model-00001-of-00004.safetensors",
|
| 335 |
+
"audio_encoder.layers.28.fc2.bias": "model-00001-of-00004.safetensors",
|
| 336 |
+
"audio_encoder.layers.28.fc2.weight": "model-00001-of-00004.safetensors",
|
| 337 |
+
"audio_encoder.layers.28.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 338 |
+
"audio_encoder.layers.28.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 339 |
+
"audio_encoder.layers.28.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 340 |
+
"audio_encoder.layers.28.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 341 |
+
"audio_encoder.layers.28.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 342 |
+
"audio_encoder.layers.28.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 343 |
+
"audio_encoder.layers.28.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 344 |
+
"audio_encoder.layers.28.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 345 |
+
"audio_encoder.layers.28.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 346 |
+
"audio_encoder.layers.28.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 347 |
+
"audio_encoder.layers.28.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 348 |
+
"audio_encoder.layers.29.fc1.bias": "model-00001-of-00004.safetensors",
|
| 349 |
+
"audio_encoder.layers.29.fc1.weight": "model-00001-of-00004.safetensors",
|
| 350 |
+
"audio_encoder.layers.29.fc2.bias": "model-00001-of-00004.safetensors",
|
| 351 |
+
"audio_encoder.layers.29.fc2.weight": "model-00001-of-00004.safetensors",
|
| 352 |
+
"audio_encoder.layers.29.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 353 |
+
"audio_encoder.layers.29.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 354 |
+
"audio_encoder.layers.29.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 355 |
+
"audio_encoder.layers.29.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 356 |
+
"audio_encoder.layers.29.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 357 |
+
"audio_encoder.layers.29.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 358 |
+
"audio_encoder.layers.29.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 359 |
+
"audio_encoder.layers.29.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 360 |
+
"audio_encoder.layers.29.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 361 |
+
"audio_encoder.layers.29.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 362 |
+
"audio_encoder.layers.29.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 363 |
+
"audio_encoder.layers.3.fc1.bias": "model-00001-of-00004.safetensors",
|
| 364 |
+
"audio_encoder.layers.3.fc1.weight": "model-00001-of-00004.safetensors",
|
| 365 |
+
"audio_encoder.layers.3.fc2.bias": "model-00001-of-00004.safetensors",
|
| 366 |
+
"audio_encoder.layers.3.fc2.weight": "model-00001-of-00004.safetensors",
|
| 367 |
+
"audio_encoder.layers.3.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 368 |
+
"audio_encoder.layers.3.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 369 |
+
"audio_encoder.layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 370 |
+
"audio_encoder.layers.3.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 371 |
+
"audio_encoder.layers.3.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 372 |
+
"audio_encoder.layers.3.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 373 |
+
"audio_encoder.layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 374 |
+
"audio_encoder.layers.3.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 375 |
+
"audio_encoder.layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 376 |
+
"audio_encoder.layers.3.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 377 |
+
"audio_encoder.layers.3.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 378 |
+
"audio_encoder.layers.30.fc1.bias": "model-00001-of-00004.safetensors",
|
| 379 |
+
"audio_encoder.layers.30.fc1.weight": "model-00001-of-00004.safetensors",
|
| 380 |
+
"audio_encoder.layers.30.fc2.bias": "model-00001-of-00004.safetensors",
|
| 381 |
+
"audio_encoder.layers.30.fc2.weight": "model-00001-of-00004.safetensors",
|
| 382 |
+
"audio_encoder.layers.30.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 383 |
+
"audio_encoder.layers.30.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 384 |
+
"audio_encoder.layers.30.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 385 |
+
"audio_encoder.layers.30.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 386 |
+
"audio_encoder.layers.30.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 387 |
+
"audio_encoder.layers.30.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 388 |
+
"audio_encoder.layers.30.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 389 |
+
"audio_encoder.layers.30.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 390 |
+
"audio_encoder.layers.30.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 391 |
+
"audio_encoder.layers.30.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 392 |
+
"audio_encoder.layers.30.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 393 |
+
"audio_encoder.layers.31.fc1.bias": "model-00001-of-00004.safetensors",
|
| 394 |
+
"audio_encoder.layers.31.fc1.weight": "model-00001-of-00004.safetensors",
|
| 395 |
+
"audio_encoder.layers.31.fc2.bias": "model-00001-of-00004.safetensors",
|
| 396 |
+
"audio_encoder.layers.31.fc2.weight": "model-00001-of-00004.safetensors",
|
| 397 |
+
"audio_encoder.layers.31.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 398 |
+
"audio_encoder.layers.31.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 399 |
+
"audio_encoder.layers.31.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 400 |
+
"audio_encoder.layers.31.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 401 |
+
"audio_encoder.layers.31.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 402 |
+
"audio_encoder.layers.31.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 403 |
+
"audio_encoder.layers.31.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 404 |
+
"audio_encoder.layers.31.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 405 |
+
"audio_encoder.layers.31.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 406 |
+
"audio_encoder.layers.31.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 407 |
+
"audio_encoder.layers.31.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 408 |
+
"audio_encoder.layers.4.fc1.bias": "model-00001-of-00004.safetensors",
|
| 409 |
+
"audio_encoder.layers.4.fc1.weight": "model-00001-of-00004.safetensors",
|
| 410 |
+
"audio_encoder.layers.4.fc2.bias": "model-00001-of-00004.safetensors",
|
| 411 |
+
"audio_encoder.layers.4.fc2.weight": "model-00001-of-00004.safetensors",
|
| 412 |
+
"audio_encoder.layers.4.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 413 |
+
"audio_encoder.layers.4.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 414 |
+
"audio_encoder.layers.4.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 415 |
+
"audio_encoder.layers.4.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 416 |
+
"audio_encoder.layers.4.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 417 |
+
"audio_encoder.layers.4.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 418 |
+
"audio_encoder.layers.4.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 419 |
+
"audio_encoder.layers.4.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 420 |
+
"audio_encoder.layers.4.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 421 |
+
"audio_encoder.layers.4.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 422 |
+
"audio_encoder.layers.4.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 423 |
+
"audio_encoder.layers.5.fc1.bias": "model-00001-of-00004.safetensors",
|
| 424 |
+
"audio_encoder.layers.5.fc1.weight": "model-00001-of-00004.safetensors",
|
| 425 |
+
"audio_encoder.layers.5.fc2.bias": "model-00001-of-00004.safetensors",
|
| 426 |
+
"audio_encoder.layers.5.fc2.weight": "model-00001-of-00004.safetensors",
|
| 427 |
+
"audio_encoder.layers.5.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 428 |
+
"audio_encoder.layers.5.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 429 |
+
"audio_encoder.layers.5.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 430 |
+
"audio_encoder.layers.5.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 431 |
+
"audio_encoder.layers.5.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 432 |
+
"audio_encoder.layers.5.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 433 |
+
"audio_encoder.layers.5.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 434 |
+
"audio_encoder.layers.5.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 435 |
+
"audio_encoder.layers.5.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 436 |
+
"audio_encoder.layers.5.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 437 |
+
"audio_encoder.layers.5.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 438 |
+
"audio_encoder.layers.6.fc1.bias": "model-00001-of-00004.safetensors",
|
| 439 |
+
"audio_encoder.layers.6.fc1.weight": "model-00001-of-00004.safetensors",
|
| 440 |
+
"audio_encoder.layers.6.fc2.bias": "model-00001-of-00004.safetensors",
|
| 441 |
+
"audio_encoder.layers.6.fc2.weight": "model-00001-of-00004.safetensors",
|
| 442 |
+
"audio_encoder.layers.6.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 443 |
+
"audio_encoder.layers.6.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 444 |
+
"audio_encoder.layers.6.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 445 |
+
"audio_encoder.layers.6.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 446 |
+
"audio_encoder.layers.6.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 447 |
+
"audio_encoder.layers.6.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 448 |
+
"audio_encoder.layers.6.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 449 |
+
"audio_encoder.layers.6.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 450 |
+
"audio_encoder.layers.6.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 451 |
+
"audio_encoder.layers.6.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 452 |
+
"audio_encoder.layers.6.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 453 |
+
"audio_encoder.layers.7.fc1.bias": "model-00001-of-00004.safetensors",
|
| 454 |
+
"audio_encoder.layers.7.fc1.weight": "model-00001-of-00004.safetensors",
|
| 455 |
+
"audio_encoder.layers.7.fc2.bias": "model-00001-of-00004.safetensors",
|
| 456 |
+
"audio_encoder.layers.7.fc2.weight": "model-00001-of-00004.safetensors",
|
| 457 |
+
"audio_encoder.layers.7.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 458 |
+
"audio_encoder.layers.7.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 459 |
+
"audio_encoder.layers.7.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 460 |
+
"audio_encoder.layers.7.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 461 |
+
"audio_encoder.layers.7.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 462 |
+
"audio_encoder.layers.7.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 463 |
+
"audio_encoder.layers.7.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 464 |
+
"audio_encoder.layers.7.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 465 |
+
"audio_encoder.layers.7.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 466 |
+
"audio_encoder.layers.7.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 467 |
+
"audio_encoder.layers.7.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 468 |
+
"audio_encoder.layers.8.fc1.bias": "model-00001-of-00004.safetensors",
|
| 469 |
+
"audio_encoder.layers.8.fc1.weight": "model-00001-of-00004.safetensors",
|
| 470 |
+
"audio_encoder.layers.8.fc2.bias": "model-00001-of-00004.safetensors",
|
| 471 |
+
"audio_encoder.layers.8.fc2.weight": "model-00001-of-00004.safetensors",
|
| 472 |
+
"audio_encoder.layers.8.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 473 |
+
"audio_encoder.layers.8.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 474 |
+
"audio_encoder.layers.8.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 475 |
+
"audio_encoder.layers.8.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 476 |
+
"audio_encoder.layers.8.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 477 |
+
"audio_encoder.layers.8.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 478 |
+
"audio_encoder.layers.8.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 479 |
+
"audio_encoder.layers.8.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 480 |
+
"audio_encoder.layers.8.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 481 |
+
"audio_encoder.layers.8.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 482 |
+
"audio_encoder.layers.8.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 483 |
+
"audio_encoder.layers.9.fc1.bias": "model-00001-of-00004.safetensors",
|
| 484 |
+
"audio_encoder.layers.9.fc1.weight": "model-00001-of-00004.safetensors",
|
| 485 |
+
"audio_encoder.layers.9.fc2.bias": "model-00001-of-00004.safetensors",
|
| 486 |
+
"audio_encoder.layers.9.fc2.weight": "model-00001-of-00004.safetensors",
|
| 487 |
+
"audio_encoder.layers.9.final_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 488 |
+
"audio_encoder.layers.9.final_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 489 |
+
"audio_encoder.layers.9.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 490 |
+
"audio_encoder.layers.9.self_attn.out_proj.bias": "model-00001-of-00004.safetensors",
|
| 491 |
+
"audio_encoder.layers.9.self_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 492 |
+
"audio_encoder.layers.9.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 493 |
+
"audio_encoder.layers.9.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 494 |
+
"audio_encoder.layers.9.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 495 |
+
"audio_encoder.layers.9.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 496 |
+
"audio_encoder.layers.9.self_attn_layer_norm.bias": "model-00001-of-00004.safetensors",
|
| 497 |
+
"audio_encoder.layers.9.self_attn_layer_norm.weight": "model-00001-of-00004.safetensors",
|
| 498 |
+
"audio_encoder.stem_proj.bias": "model-00001-of-00004.safetensors",
|
| 499 |
+
"audio_encoder.stem_proj.weight": "model-00001-of-00004.safetensors",
|
| 500 |
+
"deepstack_audio_merger_list.0.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 501 |
+
"deepstack_audio_merger_list.0.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 502 |
+
"deepstack_audio_merger_list.0.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 503 |
+
"deepstack_audio_merger_list.1.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 504 |
+
"deepstack_audio_merger_list.1.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 505 |
+
"deepstack_audio_merger_list.1.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 506 |
+
"deepstack_audio_merger_list.2.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 507 |
+
"deepstack_audio_merger_list.2.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 508 |
+
"deepstack_audio_merger_list.2.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 509 |
+
"language_model.embed_tokens.weight": "model-00001-of-00004.safetensors",
|
| 510 |
+
"language_model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 511 |
+
"language_model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 512 |
+
"language_model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 513 |
+
"language_model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 514 |
+
"language_model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 515 |
+
"language_model.layers.0.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 516 |
+
"language_model.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 517 |
+
"language_model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 518 |
+
"language_model.layers.0.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 519 |
+
"language_model.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 520 |
+
"language_model.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 521 |
+
"language_model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 522 |
+
"language_model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 523 |
+
"language_model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 524 |
+
"language_model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 525 |
+
"language_model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 526 |
+
"language_model.layers.1.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 527 |
+
"language_model.layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 528 |
+
"language_model.layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 529 |
+
"language_model.layers.1.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 530 |
+
"language_model.layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 531 |
+
"language_model.layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 532 |
+
"language_model.layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 533 |
+
"language_model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 534 |
+
"language_model.layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 535 |
+
"language_model.layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 536 |
+
"language_model.layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 537 |
+
"language_model.layers.10.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 538 |
+
"language_model.layers.10.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 539 |
+
"language_model.layers.10.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 540 |
+
"language_model.layers.10.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 541 |
+
"language_model.layers.10.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 542 |
+
"language_model.layers.10.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 543 |
+
"language_model.layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 544 |
+
"language_model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 545 |
+
"language_model.layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 546 |
+
"language_model.layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 547 |
+
"language_model.layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 548 |
+
"language_model.layers.11.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 549 |
+
"language_model.layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 550 |
+
"language_model.layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 551 |
+
"language_model.layers.11.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 552 |
+
"language_model.layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 553 |
+
"language_model.layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 554 |
+
"language_model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 555 |
+
"language_model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 556 |
+
"language_model.layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 557 |
+
"language_model.layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 558 |
+
"language_model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 559 |
+
"language_model.layers.12.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 560 |
+
"language_model.layers.12.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 561 |
+
"language_model.layers.12.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 562 |
+
"language_model.layers.12.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 563 |
+
"language_model.layers.12.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 564 |
+
"language_model.layers.12.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 565 |
+
"language_model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 566 |
+
"language_model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 567 |
+
"language_model.layers.13.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 568 |
+
"language_model.layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 569 |
+
"language_model.layers.13.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 570 |
+
"language_model.layers.13.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 571 |
+
"language_model.layers.13.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 572 |
+
"language_model.layers.13.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 573 |
+
"language_model.layers.13.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 574 |
+
"language_model.layers.13.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 575 |
+
"language_model.layers.13.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 576 |
+
"language_model.layers.14.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 577 |
+
"language_model.layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 578 |
+
"language_model.layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 579 |
+
"language_model.layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 580 |
+
"language_model.layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 581 |
+
"language_model.layers.14.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 582 |
+
"language_model.layers.14.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 583 |
+
"language_model.layers.14.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 584 |
+
"language_model.layers.14.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 585 |
+
"language_model.layers.14.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 586 |
+
"language_model.layers.14.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 587 |
+
"language_model.layers.15.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 588 |
+
"language_model.layers.15.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 589 |
+
"language_model.layers.15.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 590 |
+
"language_model.layers.15.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 591 |
+
"language_model.layers.15.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 592 |
+
"language_model.layers.15.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 593 |
+
"language_model.layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 594 |
+
"language_model.layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 595 |
+
"language_model.layers.15.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 596 |
+
"language_model.layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 597 |
+
"language_model.layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 598 |
+
"language_model.layers.16.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 599 |
+
"language_model.layers.16.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 600 |
+
"language_model.layers.16.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 601 |
+
"language_model.layers.16.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 602 |
+
"language_model.layers.16.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 603 |
+
"language_model.layers.16.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 604 |
+
"language_model.layers.16.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 605 |
+
"language_model.layers.16.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 606 |
+
"language_model.layers.16.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 607 |
+
"language_model.layers.16.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 608 |
+
"language_model.layers.16.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 609 |
+
"language_model.layers.17.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 610 |
+
"language_model.layers.17.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 611 |
+
"language_model.layers.17.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 612 |
+
"language_model.layers.17.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 613 |
+
"language_model.layers.17.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 614 |
+
"language_model.layers.17.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 615 |
+
"language_model.layers.17.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 616 |
+
"language_model.layers.17.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 617 |
+
"language_model.layers.17.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 618 |
+
"language_model.layers.17.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 619 |
+
"language_model.layers.17.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 620 |
+
"language_model.layers.18.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 621 |
+
"language_model.layers.18.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 622 |
+
"language_model.layers.18.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 623 |
+
"language_model.layers.18.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 624 |
+
"language_model.layers.18.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 625 |
+
"language_model.layers.18.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 626 |
+
"language_model.layers.18.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 627 |
+
"language_model.layers.18.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 628 |
+
"language_model.layers.18.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 629 |
+
"language_model.layers.18.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 630 |
+
"language_model.layers.18.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 631 |
+
"language_model.layers.19.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 632 |
+
"language_model.layers.19.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 633 |
+
"language_model.layers.19.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 634 |
+
"language_model.layers.19.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 635 |
+
"language_model.layers.19.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 636 |
+
"language_model.layers.19.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 637 |
+
"language_model.layers.19.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 638 |
+
"language_model.layers.19.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 639 |
+
"language_model.layers.19.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 640 |
+
"language_model.layers.19.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 641 |
+
"language_model.layers.19.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 642 |
+
"language_model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 643 |
+
"language_model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 644 |
+
"language_model.layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 645 |
+
"language_model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 646 |
+
"language_model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 647 |
+
"language_model.layers.2.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 648 |
+
"language_model.layers.2.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 649 |
+
"language_model.layers.2.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 650 |
+
"language_model.layers.2.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 651 |
+
"language_model.layers.2.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 652 |
+
"language_model.layers.2.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 653 |
+
"language_model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 654 |
+
"language_model.layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 655 |
+
"language_model.layers.20.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 656 |
+
"language_model.layers.20.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 657 |
+
"language_model.layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 658 |
+
"language_model.layers.20.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 659 |
+
"language_model.layers.20.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 660 |
+
"language_model.layers.20.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 661 |
+
"language_model.layers.20.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 662 |
+
"language_model.layers.20.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 663 |
+
"language_model.layers.20.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 664 |
+
"language_model.layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 665 |
+
"language_model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 666 |
+
"language_model.layers.21.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 667 |
+
"language_model.layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 668 |
+
"language_model.layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 669 |
+
"language_model.layers.21.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 670 |
+
"language_model.layers.21.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 671 |
+
"language_model.layers.21.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 672 |
+
"language_model.layers.21.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 673 |
+
"language_model.layers.21.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 674 |
+
"language_model.layers.21.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 675 |
+
"language_model.layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 676 |
+
"language_model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 677 |
+
"language_model.layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 678 |
+
"language_model.layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 679 |
+
"language_model.layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 680 |
+
"language_model.layers.22.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 681 |
+
"language_model.layers.22.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 682 |
+
"language_model.layers.22.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 683 |
+
"language_model.layers.22.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 684 |
+
"language_model.layers.22.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 685 |
+
"language_model.layers.22.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 686 |
+
"language_model.layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 687 |
+
"language_model.layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 688 |
+
"language_model.layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 689 |
+
"language_model.layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 690 |
+
"language_model.layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 691 |
+
"language_model.layers.23.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 692 |
+
"language_model.layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 693 |
+
"language_model.layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 694 |
+
"language_model.layers.23.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 695 |
+
"language_model.layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 696 |
+
"language_model.layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 697 |
+
"language_model.layers.24.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 698 |
+
"language_model.layers.24.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 699 |
+
"language_model.layers.24.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 700 |
+
"language_model.layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 701 |
+
"language_model.layers.24.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 702 |
+
"language_model.layers.24.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 703 |
+
"language_model.layers.24.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 704 |
+
"language_model.layers.24.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 705 |
+
"language_model.layers.24.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 706 |
+
"language_model.layers.24.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 707 |
+
"language_model.layers.24.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 708 |
+
"language_model.layers.25.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 709 |
+
"language_model.layers.25.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 710 |
+
"language_model.layers.25.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 711 |
+
"language_model.layers.25.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 712 |
+
"language_model.layers.25.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 713 |
+
"language_model.layers.25.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 714 |
+
"language_model.layers.25.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 715 |
+
"language_model.layers.25.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 716 |
+
"language_model.layers.25.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 717 |
+
"language_model.layers.25.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 718 |
+
"language_model.layers.25.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 719 |
+
"language_model.layers.26.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 720 |
+
"language_model.layers.26.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 721 |
+
"language_model.layers.26.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 722 |
+
"language_model.layers.26.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 723 |
+
"language_model.layers.26.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 724 |
+
"language_model.layers.26.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 725 |
+
"language_model.layers.26.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 726 |
+
"language_model.layers.26.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 727 |
+
"language_model.layers.26.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 728 |
+
"language_model.layers.26.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 729 |
+
"language_model.layers.26.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 730 |
+
"language_model.layers.27.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 731 |
+
"language_model.layers.27.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 732 |
+
"language_model.layers.27.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 733 |
+
"language_model.layers.27.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 734 |
+
"language_model.layers.27.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 735 |
+
"language_model.layers.27.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 736 |
+
"language_model.layers.27.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 737 |
+
"language_model.layers.27.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 738 |
+
"language_model.layers.27.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 739 |
+
"language_model.layers.27.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 740 |
+
"language_model.layers.27.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 741 |
+
"language_model.layers.28.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 742 |
+
"language_model.layers.28.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 743 |
+
"language_model.layers.28.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 744 |
+
"language_model.layers.28.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 745 |
+
"language_model.layers.28.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 746 |
+
"language_model.layers.28.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 747 |
+
"language_model.layers.28.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 748 |
+
"language_model.layers.28.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 749 |
+
"language_model.layers.28.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 750 |
+
"language_model.layers.28.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 751 |
+
"language_model.layers.28.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 752 |
+
"language_model.layers.29.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 753 |
+
"language_model.layers.29.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 754 |
+
"language_model.layers.29.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 755 |
+
"language_model.layers.29.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 756 |
+
"language_model.layers.29.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 757 |
+
"language_model.layers.29.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 758 |
+
"language_model.layers.29.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 759 |
+
"language_model.layers.29.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 760 |
+
"language_model.layers.29.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 761 |
+
"language_model.layers.29.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 762 |
+
"language_model.layers.29.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 763 |
+
"language_model.layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 764 |
+
"language_model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 765 |
+
"language_model.layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 766 |
+
"language_model.layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 767 |
+
"language_model.layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 768 |
+
"language_model.layers.3.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 769 |
+
"language_model.layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 770 |
+
"language_model.layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 771 |
+
"language_model.layers.3.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 772 |
+
"language_model.layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 773 |
+
"language_model.layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 774 |
+
"language_model.layers.30.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 775 |
+
"language_model.layers.30.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 776 |
+
"language_model.layers.30.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 777 |
+
"language_model.layers.30.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 778 |
+
"language_model.layers.30.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 779 |
+
"language_model.layers.30.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 780 |
+
"language_model.layers.30.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 781 |
+
"language_model.layers.30.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 782 |
+
"language_model.layers.30.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 783 |
+
"language_model.layers.30.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 784 |
+
"language_model.layers.30.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 785 |
+
"language_model.layers.31.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 786 |
+
"language_model.layers.31.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 787 |
+
"language_model.layers.31.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 788 |
+
"language_model.layers.31.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 789 |
+
"language_model.layers.31.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 790 |
+
"language_model.layers.31.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 791 |
+
"language_model.layers.31.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 792 |
+
"language_model.layers.31.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 793 |
+
"language_model.layers.31.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 794 |
+
"language_model.layers.31.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 795 |
+
"language_model.layers.31.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 796 |
+
"language_model.layers.32.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 797 |
+
"language_model.layers.32.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 798 |
+
"language_model.layers.32.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 799 |
+
"language_model.layers.32.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 800 |
+
"language_model.layers.32.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 801 |
+
"language_model.layers.32.self_attn.k_norm.weight": "model-00004-of-00004.safetensors",
|
| 802 |
+
"language_model.layers.32.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
|
| 803 |
+
"language_model.layers.32.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
|
| 804 |
+
"language_model.layers.32.self_attn.q_norm.weight": "model-00004-of-00004.safetensors",
|
| 805 |
+
"language_model.layers.32.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 806 |
+
"language_model.layers.32.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
|
| 807 |
+
"language_model.layers.33.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 808 |
+
"language_model.layers.33.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 809 |
+
"language_model.layers.33.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 810 |
+
"language_model.layers.33.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 811 |
+
"language_model.layers.33.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 812 |
+
"language_model.layers.33.self_attn.k_norm.weight": "model-00004-of-00004.safetensors",
|
| 813 |
+
"language_model.layers.33.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
|
| 814 |
+
"language_model.layers.33.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
|
| 815 |
+
"language_model.layers.33.self_attn.q_norm.weight": "model-00004-of-00004.safetensors",
|
| 816 |
+
"language_model.layers.33.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
|
| 817 |
+
"language_model.layers.33.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
|
| 818 |
+
"language_model.layers.34.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 819 |
+
"language_model.layers.34.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 820 |
+
"language_model.layers.34.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 821 |
+
"language_model.layers.34.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 822 |
+
"language_model.layers.34.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 823 |
+
"language_model.layers.34.self_attn.k_norm.weight": "model-00004-of-00004.safetensors",
|
| 824 |
+
"language_model.layers.34.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
|
| 825 |
+
"language_model.layers.34.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
|
| 826 |
+
"language_model.layers.34.self_attn.q_norm.weight": "model-00004-of-00004.safetensors",
|
| 827 |
+
"language_model.layers.34.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
|
| 828 |
+
"language_model.layers.34.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
|
| 829 |
+
"language_model.layers.35.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 830 |
+
"language_model.layers.35.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 831 |
+
"language_model.layers.35.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 832 |
+
"language_model.layers.35.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 833 |
+
"language_model.layers.35.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 834 |
+
"language_model.layers.35.self_attn.k_norm.weight": "model-00004-of-00004.safetensors",
|
| 835 |
+
"language_model.layers.35.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
|
| 836 |
+
"language_model.layers.35.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
|
| 837 |
+
"language_model.layers.35.self_attn.q_norm.weight": "model-00004-of-00004.safetensors",
|
| 838 |
+
"language_model.layers.35.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
|
| 839 |
+
"language_model.layers.35.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
|
| 840 |
+
"language_model.layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 841 |
+
"language_model.layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 842 |
+
"language_model.layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 843 |
+
"language_model.layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 844 |
+
"language_model.layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 845 |
+
"language_model.layers.4.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 846 |
+
"language_model.layers.4.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 847 |
+
"language_model.layers.4.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 848 |
+
"language_model.layers.4.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 849 |
+
"language_model.layers.4.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 850 |
+
"language_model.layers.4.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 851 |
+
"language_model.layers.5.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 852 |
+
"language_model.layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 853 |
+
"language_model.layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 854 |
+
"language_model.layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 855 |
+
"language_model.layers.5.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 856 |
+
"language_model.layers.5.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 857 |
+
"language_model.layers.5.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 858 |
+
"language_model.layers.5.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 859 |
+
"language_model.layers.5.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 860 |
+
"language_model.layers.5.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 861 |
+
"language_model.layers.5.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 862 |
+
"language_model.layers.6.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 863 |
+
"language_model.layers.6.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 864 |
+
"language_model.layers.6.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 865 |
+
"language_model.layers.6.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 866 |
+
"language_model.layers.6.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 867 |
+
"language_model.layers.6.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 868 |
+
"language_model.layers.6.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 869 |
+
"language_model.layers.6.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 870 |
+
"language_model.layers.6.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 871 |
+
"language_model.layers.6.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 872 |
+
"language_model.layers.6.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 873 |
+
"language_model.layers.7.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 874 |
+
"language_model.layers.7.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 875 |
+
"language_model.layers.7.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 876 |
+
"language_model.layers.7.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 877 |
+
"language_model.layers.7.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 878 |
+
"language_model.layers.7.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 879 |
+
"language_model.layers.7.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 880 |
+
"language_model.layers.7.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 881 |
+
"language_model.layers.7.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 882 |
+
"language_model.layers.7.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 883 |
+
"language_model.layers.7.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 884 |
+
"language_model.layers.8.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 885 |
+
"language_model.layers.8.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 886 |
+
"language_model.layers.8.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 887 |
+
"language_model.layers.8.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 888 |
+
"language_model.layers.8.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 889 |
+
"language_model.layers.8.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 890 |
+
"language_model.layers.8.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 891 |
+
"language_model.layers.8.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 892 |
+
"language_model.layers.8.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 893 |
+
"language_model.layers.8.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 894 |
+
"language_model.layers.8.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 895 |
+
"language_model.layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 896 |
+
"language_model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 897 |
+
"language_model.layers.9.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 898 |
+
"language_model.layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 899 |
+
"language_model.layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 900 |
+
"language_model.layers.9.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 901 |
+
"language_model.layers.9.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 902 |
+
"language_model.layers.9.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 903 |
+
"language_model.layers.9.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 904 |
+
"language_model.layers.9.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 905 |
+
"language_model.layers.9.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 906 |
+
"language_model.norm.weight": "model-00004-of-00004.safetensors",
|
| 907 |
+
"lm_head.weight": "model-00004-of-00004.safetensors"
|
| 908 |
+
}
|
| 909 |
+
}
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"processor_class": "PalomarProcessor",
|
| 3 |
+
"auto_map": {
|
| 4 |
+
"AutoProcessor": "processing_palomar_myaut_mel_whisper.PalomarProcessor"
|
| 5 |
+
}
|
| 6 |
+
}
|
processing_moss_audio.py
ADDED
|
@@ -0,0 +1,407 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import importlib.util
|
| 2 |
+
import os
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
import types
|
| 6 |
+
from dataclasses import dataclass
|
| 7 |
+
from typing import List, Optional, Sequence, Union
|
| 8 |
+
|
| 9 |
+
import numpy as np
|
| 10 |
+
import torch
|
| 11 |
+
import torchaudio
|
| 12 |
+
from transformers import AutoTokenizer, BatchEncoding
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
@dataclass
|
| 16 |
+
class MelConfig:
|
| 17 |
+
mel_sr: int = 16000
|
| 18 |
+
mel_dim: int = 128
|
| 19 |
+
mel_n_fft: int = 400
|
| 20 |
+
mel_hop_length: int = 160
|
| 21 |
+
mel_dtype: torch.dtype = torch.bfloat16
|
| 22 |
+
use_whisper_feature_extractor: bool = True
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
def load_chat_template(template_path: str, mossflux_path: str = None) -> List:
|
| 26 |
+
if mossflux_path is None:
|
| 27 |
+
template_dir = os.path.dirname(os.path.abspath(template_path))
|
| 28 |
+
current = template_dir
|
| 29 |
+
while current and os.path.basename(current) != "mossLite":
|
| 30 |
+
parent = os.path.dirname(current)
|
| 31 |
+
if parent == current:
|
| 32 |
+
break
|
| 33 |
+
current = parent
|
| 34 |
+
if os.path.basename(current) == "mossLite":
|
| 35 |
+
mossflux_path = os.path.join(current, "mossflux")
|
| 36 |
+
|
| 37 |
+
if mossflux_path and mossflux_path not in sys.path:
|
| 38 |
+
sys.path.insert(0, mossflux_path)
|
| 39 |
+
|
| 40 |
+
spec = importlib.util.spec_from_file_location("chat_template_module", template_path)
|
| 41 |
+
module = importlib.util.module_from_spec(spec)
|
| 42 |
+
sys.modules["chat_template_module"] = module
|
| 43 |
+
spec.loader.exec_module(module)
|
| 44 |
+
return module.chat_template
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
class MossAudioProcessor:
|
| 48 |
+
_AUDIO_SPAN_RE = re.compile(r"<\|audio_bos\|>(?:<\|AUDIO\|>)+<\|audio_eos\|>")
|
| 49 |
+
_auto_class = None
|
| 50 |
+
|
| 51 |
+
@classmethod
|
| 52 |
+
def register_for_auto_class(cls, auto_class="AutoProcessor"):
|
| 53 |
+
if not isinstance(auto_class, str):
|
| 54 |
+
auto_class = auto_class.__name__
|
| 55 |
+
cls._auto_class = auto_class
|
| 56 |
+
|
| 57 |
+
def __init__(
|
| 58 |
+
self,
|
| 59 |
+
tokenizer,
|
| 60 |
+
*,
|
| 61 |
+
mel_config: Optional[MelConfig] = None,
|
| 62 |
+
template_path: Optional[str] = None,
|
| 63 |
+
enable_time_marker: bool = True,
|
| 64 |
+
audio_token_id: int = 151654,
|
| 65 |
+
audio_start_id: int = 151669,
|
| 66 |
+
audio_end_id: int = 151670,
|
| 67 |
+
):
|
| 68 |
+
self._base_tokenizer = tokenizer
|
| 69 |
+
self.tokenizer = tokenizer
|
| 70 |
+
self.audio_token_id = int(audio_token_id)
|
| 71 |
+
self.audio_start_id = int(audio_start_id)
|
| 72 |
+
self.audio_end_id = int(audio_end_id)
|
| 73 |
+
self.chat_template = (
|
| 74 |
+
None if template_path is None else load_chat_template(template_path)
|
| 75 |
+
)
|
| 76 |
+
self.custom_texts = {}
|
| 77 |
+
self.enable_time_marker = bool(enable_time_marker)
|
| 78 |
+
self.config = mel_config or MelConfig()
|
| 79 |
+
self._whisper_feature_extractor = None
|
| 80 |
+
|
| 81 |
+
alias_map = {
|
| 82 |
+
"<|AUDIO|>": self.audio_token_id,
|
| 83 |
+
"<|audio_bos|>": self.audio_start_id,
|
| 84 |
+
"<|audio_eos|>": self.audio_end_id,
|
| 85 |
+
}
|
| 86 |
+
orig_convert_tokens_to_ids = self.tokenizer.convert_tokens_to_ids
|
| 87 |
+
|
| 88 |
+
def _patched_convert_tokens_to_ids(tokenizer_self, tokens):
|
| 89 |
+
if isinstance(tokens, (list, tuple)):
|
| 90 |
+
converted = [
|
| 91 |
+
_patched_convert_tokens_to_ids(tokenizer_self, token)
|
| 92 |
+
for token in tokens
|
| 93 |
+
]
|
| 94 |
+
return converted if isinstance(tokens, list) else tuple(converted)
|
| 95 |
+
if isinstance(tokens, str) and tokens in alias_map:
|
| 96 |
+
return alias_map[tokens]
|
| 97 |
+
return orig_convert_tokens_to_ids(tokens)
|
| 98 |
+
|
| 99 |
+
self.tokenizer.convert_tokens_to_ids = types.MethodType(
|
| 100 |
+
_patched_convert_tokens_to_ids, self.tokenizer
|
| 101 |
+
)
|
| 102 |
+
|
| 103 |
+
self._digit_token_ids = {
|
| 104 |
+
"0": 15,
|
| 105 |
+
"1": 16,
|
| 106 |
+
"2": 17,
|
| 107 |
+
"3": 18,
|
| 108 |
+
"4": 19,
|
| 109 |
+
"5": 20,
|
| 110 |
+
"6": 21,
|
| 111 |
+
"7": 22,
|
| 112 |
+
"8": 23,
|
| 113 |
+
"9": 24,
|
| 114 |
+
}
|
| 115 |
+
self.audio_tokens_per_second = 12.5
|
| 116 |
+
self.time_marker_every_seconds = 2
|
| 117 |
+
self.time_marker_every_audio_tokens = int(
|
| 118 |
+
self.audio_tokens_per_second * self.time_marker_every_seconds
|
| 119 |
+
)
|
| 120 |
+
self.model_input_names = [
|
| 121 |
+
"input_ids",
|
| 122 |
+
"attention_mask",
|
| 123 |
+
"audio_data",
|
| 124 |
+
"audio_data_seqlens",
|
| 125 |
+
]
|
| 126 |
+
|
| 127 |
+
@classmethod
|
| 128 |
+
def from_pretrained(cls, pretrained_model_name_or_path, **kwargs):
|
| 129 |
+
tokenizer_kwargs = {}
|
| 130 |
+
for key in ["cache_dir", "revision", "token", "local_files_only"]:
|
| 131 |
+
if key in kwargs:
|
| 132 |
+
tokenizer_kwargs[key] = kwargs[key]
|
| 133 |
+
|
| 134 |
+
tokenizer = AutoTokenizer.from_pretrained(
|
| 135 |
+
pretrained_model_name_or_path,
|
| 136 |
+
use_fast=False,
|
| 137 |
+
**tokenizer_kwargs,
|
| 138 |
+
)
|
| 139 |
+
|
| 140 |
+
mel_config = kwargs.pop("mel_config", None)
|
| 141 |
+
template_path = kwargs.pop("template_path", None)
|
| 142 |
+
enable_time_marker = kwargs.pop("enable_time_marker", False)
|
| 143 |
+
audio_token_id = kwargs.pop("audio_token_id", 151654)
|
| 144 |
+
audio_start_id = kwargs.pop("audio_start_id", 151669)
|
| 145 |
+
audio_end_id = kwargs.pop("audio_end_id", 151670)
|
| 146 |
+
|
| 147 |
+
return cls(
|
| 148 |
+
tokenizer,
|
| 149 |
+
mel_config=mel_config,
|
| 150 |
+
template_path=template_path,
|
| 151 |
+
enable_time_marker=enable_time_marker,
|
| 152 |
+
audio_token_id=audio_token_id,
|
| 153 |
+
audio_start_id=audio_start_id,
|
| 154 |
+
audio_end_id=audio_end_id,
|
| 155 |
+
)
|
| 156 |
+
|
| 157 |
+
def load_template(self, template_path: str):
|
| 158 |
+
self.chat_template = load_chat_template(template_path)
|
| 159 |
+
return self
|
| 160 |
+
|
| 161 |
+
def set_custom_text(self, key: str, text: str):
|
| 162 |
+
self.custom_texts[key] = text
|
| 163 |
+
return self
|
| 164 |
+
|
| 165 |
+
def clear_custom_text(self, key: Optional[str] = None):
|
| 166 |
+
if key is None:
|
| 167 |
+
self.custom_texts.clear()
|
| 168 |
+
else:
|
| 169 |
+
self.custom_texts.pop(key, None)
|
| 170 |
+
return self
|
| 171 |
+
|
| 172 |
+
def _template_requires_audio(self) -> bool:
|
| 173 |
+
if self.chat_template is None:
|
| 174 |
+
return False
|
| 175 |
+
for segment in self.chat_template:
|
| 176 |
+
if segment.type in {"audio_contiguous", "audio_token"}:
|
| 177 |
+
return True
|
| 178 |
+
return False
|
| 179 |
+
|
| 180 |
+
@staticmethod
|
| 181 |
+
def _conv3_downsample_len(raw_mel_len: int) -> int:
|
| 182 |
+
def conv_out_len(length: int) -> int:
|
| 183 |
+
return (length - 1) // 2 + 1
|
| 184 |
+
|
| 185 |
+
length1 = conv_out_len(int(raw_mel_len))
|
| 186 |
+
length2 = conv_out_len(length1)
|
| 187 |
+
length3 = conv_out_len(length2)
|
| 188 |
+
return int(length3)
|
| 189 |
+
|
| 190 |
+
def _get_whisper_feature_extractor(self):
|
| 191 |
+
if self._whisper_feature_extractor is not None:
|
| 192 |
+
return self._whisper_feature_extractor
|
| 193 |
+
|
| 194 |
+
from transformers.models.whisper.feature_extraction_whisper import (
|
| 195 |
+
WhisperFeatureExtractor,
|
| 196 |
+
)
|
| 197 |
+
|
| 198 |
+
self._whisper_feature_extractor = WhisperFeatureExtractor(
|
| 199 |
+
feature_size=int(self.config.mel_dim),
|
| 200 |
+
sampling_rate=int(self.config.mel_sr),
|
| 201 |
+
hop_length=int(self.config.mel_hop_length),
|
| 202 |
+
n_fft=int(self.config.mel_n_fft),
|
| 203 |
+
)
|
| 204 |
+
return self._whisper_feature_extractor
|
| 205 |
+
|
| 206 |
+
def _extract_mel(self, audio: Union[np.ndarray, torch.Tensor]) -> torch.Tensor:
|
| 207 |
+
if isinstance(audio, np.ndarray):
|
| 208 |
+
wav = torch.from_numpy(audio)
|
| 209 |
+
else:
|
| 210 |
+
wav = audio
|
| 211 |
+
wav = wav.to(dtype=torch.float32)
|
| 212 |
+
if wav.dim() == 1:
|
| 213 |
+
wav = wav.unsqueeze(0)
|
| 214 |
+
|
| 215 |
+
if bool(getattr(self.config, "use_whisper_feature_extractor", False)):
|
| 216 |
+
fe = self._get_whisper_feature_extractor()
|
| 217 |
+
wav_np = wav.detach().to("cpu", torch.float32).contiguous().numpy()
|
| 218 |
+
if wav_np.ndim == 2:
|
| 219 |
+
wav_np = wav_np[0]
|
| 220 |
+
feats = fe._np_extract_fbank_features(wav_np[None, ...], device="cpu")
|
| 221 |
+
mel = torch.from_numpy(feats[0])
|
| 222 |
+
|
| 223 |
+
return mel.to(dtype=self.config.mel_dtype)
|
| 224 |
+
|
| 225 |
+
def _get_time_marker_token_ids(self, second: int) -> List[int]:
|
| 226 |
+
return [self._digit_token_ids[digit] for digit in str(second)]
|
| 227 |
+
|
| 228 |
+
def _build_audio_tokens_with_time_markers(self, audio_seq_len: int) -> List[int]:
|
| 229 |
+
total_duration_seconds = audio_seq_len / self.audio_tokens_per_second
|
| 230 |
+
num_full_seconds = int(total_duration_seconds)
|
| 231 |
+
|
| 232 |
+
token_ids: List[int] = []
|
| 233 |
+
audio_tokens_consumed = 0
|
| 234 |
+
for second in range(
|
| 235 |
+
self.time_marker_every_seconds,
|
| 236 |
+
num_full_seconds + 1,
|
| 237 |
+
self.time_marker_every_seconds,
|
| 238 |
+
):
|
| 239 |
+
marker_pos = (
|
| 240 |
+
second // self.time_marker_every_seconds
|
| 241 |
+
) * self.time_marker_every_audio_tokens
|
| 242 |
+
audio_segment_len = marker_pos - audio_tokens_consumed
|
| 243 |
+
if audio_segment_len > 0:
|
| 244 |
+
token_ids.extend([self.audio_token_id] * audio_segment_len)
|
| 245 |
+
audio_tokens_consumed += audio_segment_len
|
| 246 |
+
token_ids.extend(self._get_time_marker_token_ids(second))
|
| 247 |
+
|
| 248 |
+
remaining = audio_seq_len - audio_tokens_consumed
|
| 249 |
+
if remaining > 0:
|
| 250 |
+
token_ids.extend([self.audio_token_id] * remaining)
|
| 251 |
+
return token_ids
|
| 252 |
+
|
| 253 |
+
def _build_audio_placeholder_ids(self, num_audio_tokens: int) -> List[int]:
|
| 254 |
+
if self.enable_time_marker:
|
| 255 |
+
return self._build_audio_tokens_with_time_markers(num_audio_tokens)
|
| 256 |
+
return [self.audio_token_id] * num_audio_tokens
|
| 257 |
+
|
| 258 |
+
def _build_input_from_template(
|
| 259 |
+
self, num_audio_tokens: int, include_answer: bool = False
|
| 260 |
+
) -> List[int]:
|
| 261 |
+
if self.chat_template is None:
|
| 262 |
+
raise ValueError("Chat template not loaded.")
|
| 263 |
+
|
| 264 |
+
input_ids: List[int] = []
|
| 265 |
+
for segment in self.chat_template:
|
| 266 |
+
seg_type = segment.type
|
| 267 |
+
if seg_type == "constant_text_token":
|
| 268 |
+
input_ids.extend(segment.text_ids.tolist())
|
| 269 |
+
elif seg_type in {"audio_contiguous", "audio_token"}:
|
| 270 |
+
input_ids.extend(self._build_audio_placeholder_ids(num_audio_tokens))
|
| 271 |
+
elif seg_type == "text_token":
|
| 272 |
+
text_token_key = segment.text_token_key
|
| 273 |
+
if "answer" in text_token_key.lower() and not include_answer:
|
| 274 |
+
break
|
| 275 |
+
if text_token_key not in self.custom_texts:
|
| 276 |
+
break
|
| 277 |
+
text_ids = self._base_tokenizer.encode(
|
| 278 |
+
self.custom_texts[text_token_key], add_special_tokens=False
|
| 279 |
+
)
|
| 280 |
+
input_ids.extend(text_ids)
|
| 281 |
+
|
| 282 |
+
return input_ids
|
| 283 |
+
|
| 284 |
+
def _build_default_prompt(self, text: str, has_audio: bool) -> str:
|
| 285 |
+
if has_audio:
|
| 286 |
+
return (
|
| 287 |
+
"<|im_start|>system\n"
|
| 288 |
+
"You are a helpful assistant.<|im_end|>\n"
|
| 289 |
+
"<|im_start|>user\n"
|
| 290 |
+
"<|audio_bos|><|AUDIO|><|audio_eos|>\n"
|
| 291 |
+
f"{text}<|im_end|>\n"
|
| 292 |
+
"<|im_start|>assistant\n"
|
| 293 |
+
)
|
| 294 |
+
return (
|
| 295 |
+
"<|im_start|>system\n"
|
| 296 |
+
"You are a helpful assistant.<|im_end|>\n"
|
| 297 |
+
"<|im_start|>user\n"
|
| 298 |
+
f"{text}<|im_end|>\n"
|
| 299 |
+
"<|im_start|>assistant\n"
|
| 300 |
+
)
|
| 301 |
+
|
| 302 |
+
def _build_input_from_prompt(self, prompt: str, token_lens: List[int]) -> List[int]:
|
| 303 |
+
spans = list(self._AUDIO_SPAN_RE.finditer(prompt))
|
| 304 |
+
if len(spans) != len(token_lens):
|
| 305 |
+
raise ValueError(
|
| 306 |
+
f"Audio placeholder count mismatch: found {len(spans)} spans in text, "
|
| 307 |
+
f"but got {len(token_lens)} audio inputs."
|
| 308 |
+
)
|
| 309 |
+
|
| 310 |
+
input_ids: List[int] = []
|
| 311 |
+
cursor = 0
|
| 312 |
+
for index, match in enumerate(spans):
|
| 313 |
+
prefix = prompt[cursor : match.start()]
|
| 314 |
+
if prefix:
|
| 315 |
+
input_ids.extend(
|
| 316 |
+
self._base_tokenizer.encode(prefix, add_special_tokens=False)
|
| 317 |
+
)
|
| 318 |
+
|
| 319 |
+
input_ids.append(self.audio_start_id)
|
| 320 |
+
input_ids.extend(self._build_audio_placeholder_ids(int(token_lens[index])))
|
| 321 |
+
input_ids.append(self.audio_end_id)
|
| 322 |
+
cursor = match.end()
|
| 323 |
+
|
| 324 |
+
suffix = prompt[cursor:]
|
| 325 |
+
if suffix:
|
| 326 |
+
input_ids.extend(
|
| 327 |
+
self._base_tokenizer.encode(suffix, add_special_tokens=False)
|
| 328 |
+
)
|
| 329 |
+
return input_ids
|
| 330 |
+
|
| 331 |
+
def __call__(
|
| 332 |
+
self,
|
| 333 |
+
*,
|
| 334 |
+
text: Union[str, Sequence[str], None] = None,
|
| 335 |
+
audios: Optional[Sequence[Union[np.ndarray, torch.Tensor]]] = None,
|
| 336 |
+
audio: Optional[Sequence[Union[np.ndarray, torch.Tensor]]] = None,
|
| 337 |
+
return_tensors: str = "pt",
|
| 338 |
+
**kwargs,
|
| 339 |
+
):
|
| 340 |
+
if isinstance(text, (list, tuple)):
|
| 341 |
+
if len(text) != 1:
|
| 342 |
+
raise ValueError(f"Expected text batch size 1, got {len(text)}")
|
| 343 |
+
prompt_text = text[0]
|
| 344 |
+
else:
|
| 345 |
+
prompt_text = text
|
| 346 |
+
|
| 347 |
+
audio_list = audios if audios is not None else audio
|
| 348 |
+
audio_list = [] if audio_list is None else list(audio_list)
|
| 349 |
+
|
| 350 |
+
mels: List[torch.Tensor] = []
|
| 351 |
+
raw_lengths: List[int] = []
|
| 352 |
+
token_lens: List[int] = []
|
| 353 |
+
for one_audio in audio_list:
|
| 354 |
+
mel = self._extract_mel(one_audio)
|
| 355 |
+
raw_len = int(mel.shape[-1])
|
| 356 |
+
mels.append(mel)
|
| 357 |
+
raw_lengths.append(raw_len)
|
| 358 |
+
token_lens.append(self._conv3_downsample_len(raw_len))
|
| 359 |
+
|
| 360 |
+
if mels:
|
| 361 |
+
max_length = max(raw_lengths)
|
| 362 |
+
audio_batch = torch.zeros(
|
| 363 |
+
(len(mels), self.config.mel_dim, max_length),
|
| 364 |
+
dtype=self.config.mel_dtype,
|
| 365 |
+
)
|
| 366 |
+
for index, mel in enumerate(mels):
|
| 367 |
+
audio_batch[index, :, : mel.shape[-1]] = mel
|
| 368 |
+
seqlens_tensor = torch.tensor(raw_lengths, dtype=torch.long)
|
| 369 |
+
else:
|
| 370 |
+
audio_batch = None
|
| 371 |
+
seqlens_tensor = None
|
| 372 |
+
|
| 373 |
+
if prompt_text is not None:
|
| 374 |
+
if self._AUDIO_SPAN_RE.search(prompt_text) is None and audio_list:
|
| 375 |
+
prompt_text = self._build_default_prompt(prompt_text, has_audio=True)
|
| 376 |
+
elif self._AUDIO_SPAN_RE.search(prompt_text) is None and not audio_list:
|
| 377 |
+
prompt_text = self._build_default_prompt(prompt_text, has_audio=False)
|
| 378 |
+
input_ids_list = self._build_input_from_prompt(prompt_text, token_lens)
|
| 379 |
+
elif self.chat_template is not None:
|
| 380 |
+
input_ids_list = self._build_input_from_template(
|
| 381 |
+
token_lens[0] if token_lens else 0
|
| 382 |
+
)
|
| 383 |
+
else:
|
| 384 |
+
raise ValueError(
|
| 385 |
+
"Either provide text or load a chat_template before calling the processor."
|
| 386 |
+
)
|
| 387 |
+
|
| 388 |
+
input_ids_tensor = torch.tensor([input_ids_list], dtype=torch.long)
|
| 389 |
+
attention_mask_tensor = torch.ones_like(input_ids_tensor)
|
| 390 |
+
|
| 391 |
+
data = {
|
| 392 |
+
"input_ids": input_ids_tensor,
|
| 393 |
+
"attention_mask": attention_mask_tensor,
|
| 394 |
+
}
|
| 395 |
+
if audio_batch is not None:
|
| 396 |
+
data["audio_data"] = audio_batch
|
| 397 |
+
data["audio_data_seqlens"] = seqlens_tensor
|
| 398 |
+
return BatchEncoding(data=data, tensor_type=return_tensors)
|
| 399 |
+
|
| 400 |
+
def batch_decode(self, *args, **kwargs):
|
| 401 |
+
return self._base_tokenizer.batch_decode(*args, **kwargs)
|
| 402 |
+
|
| 403 |
+
def decode(self, *args, **kwargs):
|
| 404 |
+
return self._base_tokenizer.decode(*args, **kwargs)
|
| 405 |
+
|
| 406 |
+
|
| 407 |
+
__all__ = ["MelConfig", "MossAudioProcessor"]
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|im_end|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|endoftext|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,271 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
},
|
| 181 |
+
"151665": {
|
| 182 |
+
"content": "<tool_response>",
|
| 183 |
+
"lstrip": false,
|
| 184 |
+
"normalized": false,
|
| 185 |
+
"rstrip": false,
|
| 186 |
+
"single_word": false,
|
| 187 |
+
"special": false
|
| 188 |
+
},
|
| 189 |
+
"151666": {
|
| 190 |
+
"content": "</tool_response>",
|
| 191 |
+
"lstrip": false,
|
| 192 |
+
"normalized": false,
|
| 193 |
+
"rstrip": false,
|
| 194 |
+
"single_word": false,
|
| 195 |
+
"special": false
|
| 196 |
+
},
|
| 197 |
+
"151667": {
|
| 198 |
+
"content": "<think>",
|
| 199 |
+
"lstrip": false,
|
| 200 |
+
"normalized": false,
|
| 201 |
+
"rstrip": false,
|
| 202 |
+
"single_word": false,
|
| 203 |
+
"special": false
|
| 204 |
+
},
|
| 205 |
+
"151668": {
|
| 206 |
+
"content": "</think>",
|
| 207 |
+
"lstrip": false,
|
| 208 |
+
"normalized": false,
|
| 209 |
+
"rstrip": false,
|
| 210 |
+
"single_word": false,
|
| 211 |
+
"special": false
|
| 212 |
+
},
|
| 213 |
+
"151669": {
|
| 214 |
+
"content": "<|system|>",
|
| 215 |
+
"lstrip": false,
|
| 216 |
+
"normalized": false,
|
| 217 |
+
"rstrip": false,
|
| 218 |
+
"single_word": false,
|
| 219 |
+
"special": false
|
| 220 |
+
},
|
| 221 |
+
"151670": {
|
| 222 |
+
"content": "<|user|>",
|
| 223 |
+
"lstrip": false,
|
| 224 |
+
"normalized": false,
|
| 225 |
+
"rstrip": false,
|
| 226 |
+
"single_word": false,
|
| 227 |
+
"special": false
|
| 228 |
+
},
|
| 229 |
+
"151671": {
|
| 230 |
+
"content": "<|assistant|>",
|
| 231 |
+
"lstrip": false,
|
| 232 |
+
"normalized": false,
|
| 233 |
+
"rstrip": false,
|
| 234 |
+
"single_word": false,
|
| 235 |
+
"special": false
|
| 236 |
+
},
|
| 237 |
+
"151672": {
|
| 238 |
+
"content": "<|eot|>",
|
| 239 |
+
"lstrip": false,
|
| 240 |
+
"normalized": false,
|
| 241 |
+
"rstrip": false,
|
| 242 |
+
"single_word": false,
|
| 243 |
+
"special": false
|
| 244 |
+
}
|
| 245 |
+
},
|
| 246 |
+
"additional_special_tokens": [
|
| 247 |
+
"<|im_start|>",
|
| 248 |
+
"<|im_end|>",
|
| 249 |
+
"<|object_ref_start|>",
|
| 250 |
+
"<|object_ref_end|>",
|
| 251 |
+
"<|box_start|>",
|
| 252 |
+
"<|box_end|>",
|
| 253 |
+
"<|quad_start|>",
|
| 254 |
+
"<|quad_end|>",
|
| 255 |
+
"<|vision_start|>",
|
| 256 |
+
"<|vision_end|>",
|
| 257 |
+
"<|vision_pad|>",
|
| 258 |
+
"<|image_pad|>",
|
| 259 |
+
"<|video_pad|>"
|
| 260 |
+
],
|
| 261 |
+
"bos_token": null,
|
| 262 |
+
"clean_up_tokenization_spaces": false,
|
| 263 |
+
"eos_token": "<|im_end|>",
|
| 264 |
+
"errors": "replace",
|
| 265 |
+
"extra_special_tokens": {},
|
| 266 |
+
"model_max_length": 131072,
|
| 267 |
+
"pad_token": "<|endoftext|>",
|
| 268 |
+
"split_special_tokens": false,
|
| 269 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 270 |
+
"unk_token": null
|
| 271 |
+
}
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|