Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,199 +1,151 @@
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
-
tags:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
---
|
| 5 |
|
| 6 |
-
#
|
| 7 |
|
| 8 |
-
|
| 9 |
|
|
|
|
| 10 |
|
|
|
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
-
###
|
| 15 |
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
-
|
| 19 |
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
- **Shared by [optional]:** [More Information Needed]
|
| 23 |
-
- **Model type:** [More Information Needed]
|
| 24 |
-
- **Language(s) (NLP):** [More Information Needed]
|
| 25 |
-
- **License:** [More Information Needed]
|
| 26 |
-
- **Finetuned from model [optional]:** [More Information Needed]
|
| 27 |
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
<!-- Provide the basic links for the model. -->
|
| 31 |
-
|
| 32 |
-
- **Repository:** [More Information Needed]
|
| 33 |
-
- **Paper [optional]:** [More Information Needed]
|
| 34 |
-
- **Demo [optional]:** [More Information Needed]
|
| 35 |
-
|
| 36 |
-
## Uses
|
| 37 |
-
|
| 38 |
-
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 39 |
-
|
| 40 |
-
### Direct Use
|
| 41 |
-
|
| 42 |
-
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 43 |
-
|
| 44 |
-
[More Information Needed]
|
| 45 |
-
|
| 46 |
-
### Downstream Use [optional]
|
| 47 |
-
|
| 48 |
-
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 49 |
-
|
| 50 |
-
[More Information Needed]
|
| 51 |
-
|
| 52 |
-
### Out-of-Scope Use
|
| 53 |
-
|
| 54 |
-
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 55 |
-
|
| 56 |
-
[More Information Needed]
|
| 57 |
-
|
| 58 |
-
## Bias, Risks, and Limitations
|
| 59 |
-
|
| 60 |
-
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 61 |
-
|
| 62 |
-
[More Information Needed]
|
| 63 |
-
|
| 64 |
-
### Recommendations
|
| 65 |
-
|
| 66 |
-
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 67 |
-
|
| 68 |
-
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 69 |
-
|
| 70 |
-
## How to Get Started with the Model
|
| 71 |
-
|
| 72 |
-
Use the code below to get started with the model.
|
| 73 |
-
|
| 74 |
-
[More Information Needed]
|
| 75 |
-
|
| 76 |
-
## Training Details
|
| 77 |
-
|
| 78 |
-
### Training Data
|
| 79 |
-
|
| 80 |
-
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 81 |
-
|
| 82 |
-
[More Information Needed]
|
| 83 |
-
|
| 84 |
-
### Training Procedure
|
| 85 |
-
|
| 86 |
-
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 87 |
-
|
| 88 |
-
#### Preprocessing [optional]
|
| 89 |
-
|
| 90 |
-
[More Information Needed]
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
#### Training Hyperparameters
|
| 94 |
-
|
| 95 |
-
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 96 |
-
|
| 97 |
-
#### Speeds, Sizes, Times [optional]
|
| 98 |
-
|
| 99 |
-
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 100 |
-
|
| 101 |
-
[More Information Needed]
|
| 102 |
-
|
| 103 |
-
## Evaluation
|
| 104 |
-
|
| 105 |
-
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 106 |
-
|
| 107 |
-
### Testing Data, Factors & Metrics
|
| 108 |
-
|
| 109 |
-
#### Testing Data
|
| 110 |
-
|
| 111 |
-
<!-- This should link to a Dataset Card if possible. -->
|
| 112 |
-
|
| 113 |
-
[More Information Needed]
|
| 114 |
-
|
| 115 |
-
#### Factors
|
| 116 |
-
|
| 117 |
-
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 118 |
-
|
| 119 |
-
[More Information Needed]
|
| 120 |
-
|
| 121 |
-
#### Metrics
|
| 122 |
-
|
| 123 |
-
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 124 |
-
|
| 125 |
-
[More Information Needed]
|
| 126 |
-
|
| 127 |
-
### Results
|
| 128 |
-
|
| 129 |
-
[More Information Needed]
|
| 130 |
-
|
| 131 |
-
#### Summary
|
| 132 |
|
| 133 |
|
|
|
|
| 134 |
|
| 135 |
-
|
|
|
|
| 136 |
|
| 137 |
-
|
|
|
|
|
|
|
| 138 |
|
| 139 |
-
[
|
| 140 |
|
| 141 |
-
## Environmental Impact
|
| 142 |
|
| 143 |
-
|
| 144 |
|
| 145 |
-
|
| 146 |
|
| 147 |
-
|
| 148 |
-
- **Hours used:** [More Information Needed]
|
| 149 |
-
- **Cloud Provider:** [More Information Needed]
|
| 150 |
-
- **Compute Region:** [More Information Needed]
|
| 151 |
-
- **Carbon Emitted:** [More Information Needed]
|
| 152 |
|
| 153 |
-
|
| 154 |
|
| 155 |
-
|
| 156 |
|
| 157 |
-
[More Information Needed]
|
| 158 |
|
| 159 |
-
|
| 160 |
|
| 161 |
-
|
|
|
|
| 162 |
|
| 163 |
-
|
|
|
|
|
|
|
| 164 |
|
| 165 |
-
|
| 166 |
|
| 167 |
-
|
| 168 |
|
| 169 |
-
[
|
|
|
|
| 170 |
|
| 171 |
-
|
| 172 |
|
| 173 |
-
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 174 |
|
| 175 |
-
|
| 176 |
|
| 177 |
-
|
|
|
|
|
|
|
| 178 |
|
| 179 |
-
**
|
|
|
|
|
|
|
| 180 |
|
| 181 |
-
|
|
|
|
|
|
|
| 182 |
|
| 183 |
-
|
|
|
|
|
|
|
| 184 |
|
| 185 |
-
|
| 186 |
|
| 187 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 188 |
|
| 189 |
-
|
| 190 |
|
| 191 |
-
|
| 192 |
|
| 193 |
-
|
| 194 |
|
| 195 |
-
|
| 196 |
|
| 197 |
-
|
| 198 |
|
| 199 |
-
|
|
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
+
tags:
|
| 4 |
+
- speech
|
| 5 |
+
- automatic-speech-recognition
|
| 6 |
+
- whisper
|
| 7 |
+
- multilingual
|
| 8 |
+
- speaker-diarization
|
| 9 |
+
- meeting-transcription
|
| 10 |
+
- DiCoW
|
| 11 |
+
- BUT-FIT
|
| 12 |
+
pipeline_tag: automatic-speech-recognition
|
| 13 |
+
license: cc-by-4.0
|
| 14 |
+
datasets:
|
| 15 |
+
- microsoft/NOTSOFAR
|
| 16 |
+
- edinburghcstr/ami
|
| 17 |
---
|
| 18 |
|
| 19 |
+
# 🧠 DiCoW\_v3.3 — BUT-FIT Model for MT-ASR
|
| 20 |
|
| 21 |
+
This repository hosts the **DiCoW\_v3.3** model developed by [BUT Speech@FIT](https://github.com/BUTSpeechFIT), tailored for **multi-talker automatic speech recognition (MT-ASR)**.
|
| 22 |
|
| 23 |
+
This model is available under the terms of CC BY 4.0. It incorporates an MIT-licensed base model and CC BY 4.0 licensed training data.
|
| 24 |
|
| 25 |
+
## 🔧 Key Improvements over DiCoW v1
|
| 26 |
|
| 27 |
+
* **FDDT (Frame-Level Diarization Dependent Transformation)** before positional embeddings
|
| 28 |
+
* **Less strict suppressive initialization** to ease early training dynamics
|
| 29 |
+
* **Enhanced sequential decoding** with fallback seeking
|
| 30 |
+
* **Frozen decoder** during fine-tuning to retain language modeling capabilities
|
| 31 |
|
| 32 |
+
### 🧪 Augmentations
|
| 33 |
|
| 34 |
+
* Random **STNO** noise injection
|
| 35 |
+
* Segment-wise random class flipping of **STNO tokens**
|
| 36 |
+
* **SpecAugment**
|
| 37 |
+
* **MUSAN** noise mixing
|
| 38 |
|
| 39 |
+
### ⚙️ Optimization & Inference Enhancements
|
| 40 |
|
| 41 |
+
* Updated **learning schedule**
|
| 42 |
+
* Improved **hallucination detection & mitigation** during inference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
|
| 47 |
+
## 🛠️ Model Usage
|
| 48 |
|
| 49 |
+
```python
|
| 50 |
+
from transformers import AutoModelForSpeechSeq2Seq
|
| 51 |
|
| 52 |
+
MODEL_NAME = "BUT-FIT/DiCoW_v3_3"
|
| 53 |
+
dicow = AutoModelForSpeechSeq2Seq.from_pretrained(MODEL_NAME, trust_remote_code=True)
|
| 54 |
+
```
|
| 55 |
|
| 56 |
+
➡️ For detailed inference pipelines, see: [**DiCoW GitHub (Inference)**](https://github.com/BUTSpeechFIT/DiCoW)
|
| 57 |
|
|
|
|
| 58 |
|
| 59 |
+
---
|
| 60 |
|
| 61 |
+
## 🏆 Performance
|
| 62 |
|
| 63 |
+
See how **DiCoW_v3.3** performs on our multi-talker ASR benchmark:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
|
| 65 |
+
- 🔗 [**EMMA-MT ASR Leaderboard**](https://huggingface.co/spaces/BUT-FIT/EMMA_leaderboard)
|
| 66 |
|
| 67 |
+
---
|
| 68 |
|
|
|
|
| 69 |
|
| 70 |
+
## 📦 Model Details
|
| 71 |
|
| 72 |
+
* **Base Model:** Whisper large-v3-turbo
|
| 73 |
+
* **Training Datasets:**
|
| 74 |
|
| 75 |
+
* [NOTSOFAR-1](https://github.com/microsoft/NOTSOFAR1-Challenge)
|
| 76 |
+
* [AMI Meeting Corpus](http://groups.inf.ed.ac.uk/ami/corpus/)
|
| 77 |
+
* [LibriMix](https://github.com/JorisCos/LibriMix)
|
| 78 |
|
| 79 |
+
---
|
| 80 |
|
| 81 |
+
## 🧬 Source Repositories
|
| 82 |
|
| 83 |
+
* 🔧 [Training Code: TS-ASR-Whisper](https://github.com/BUTSpeechFIT/TS-ASR-Whisper)
|
| 84 |
+
* 🚀 [Inference](https://github.com/BUTSpeechFIT/DiCoW)
|
| 85 |
|
| 86 |
+
---
|
| 87 |
|
|
|
|
| 88 |
|
| 89 |
+
## 📚 Related Publications
|
| 90 |
|
| 91 |
+
* 📰 **Journal Paper:**
|
| 92 |
+
*DiCoW: Diarization-Conditioned Whisper for Target Speaker Automatic Speech Recognition*
|
| 93 |
+
[Computer Speech & Language, 2026](https://www.sciencedirect.com/science/article/pii/S088523082500066X)
|
| 94 |
|
| 95 |
+
* 📰 **ICASSP 2025:**
|
| 96 |
+
*Target Speaker ASR with Whisper*
|
| 97 |
+
[IEEE ICASSP 2025](https://doi.org/10.1109/ICASSP49660.2025.10887683)
|
| 98 |
|
| 99 |
+
* 📰 **CHiME-8 System Description:**
|
| 100 |
+
*BUT/JHU System Description for CHiME-8 NOTSOFAR-1 Challenge*
|
| 101 |
+
[CHiME 2024 Proceedings](https://doi.org/10.21437/CHiME.2024-4)
|
| 102 |
|
| 103 |
+
* 📰 **MLC-SLM Challenge Submission:**
|
| 104 |
+
*BUT System for the MLC-SLM Challenge*
|
| 105 |
+
[arXiv:2506.13414](https://arxiv.org/abs/2506.13414)
|
| 106 |
|
| 107 |
+
---
|
| 108 |
|
| 109 |
+
## 📝 Citation
|
| 110 |
+
|
| 111 |
+
If you use this model, please cite the following works:
|
| 112 |
+
|
| 113 |
+
```bibtex
|
| 114 |
+
@article{POLOK2026101841,
|
| 115 |
+
title = {DiCoW: Diarization-conditioned Whisper for target speaker automatic speech recognition},
|
| 116 |
+
journal = {Computer Speech & Language},
|
| 117 |
+
volume = {95},
|
| 118 |
+
pages = {101841},
|
| 119 |
+
year = {2026},
|
| 120 |
+
issn = {0885-2308},
|
| 121 |
+
doi = {https://doi.org/10.1016/j.csl.2025.101841},
|
| 122 |
+
url = {https://www.sciencedirect.com/science/article/pii/S088523082500066X},
|
| 123 |
+
author = {Alexander Polok and Dominik Klement and Martin Kocour and Jiangyu Han and Federico Landini and Bolaji Yusuf and Matthew Wiesner and Sanjeev Khudanpur and Jan Černocký and Lukáš Burget},
|
| 124 |
+
keywords = {Diarization-conditioned Whisper, Target-speaker ASR, Speaker diarization, Long-form ASR, Whisper adaptation},
|
| 125 |
+
}
|
| 126 |
+
|
| 127 |
+
@INPROCEEDINGS{10887683,
|
| 128 |
+
author={Polok, Alexander and Klement, Dominik and Wiesner, Matthew and Khudanpur, Sanjeev and Černocký, Jan and Burget, Lukáš},
|
| 129 |
+
booktitle={ICASSP 2025 - 2025 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
|
| 130 |
+
title={Target Speaker ASR with Whisper},
|
| 131 |
+
year={2025},
|
| 132 |
+
volume={},
|
| 133 |
+
number={},
|
| 134 |
+
pages={1-5},
|
| 135 |
+
keywords={Transforms;Signal processing;Transformers;Acoustics;Speech processing;target-speaker ASR;diarization conditioning;multi-speaker ASR;Whisper},
|
| 136 |
+
doi={10.1109/ICASSP49660.2025.10887683}
|
| 137 |
+
}
|
| 138 |
+
|
| 139 |
+
```
|
| 140 |
|
| 141 |
+
---
|
| 142 |
|
| 143 |
+
## 📬 Contact
|
| 144 |
|
| 145 |
+
For questions or collaboration inquiries:
|
| 146 |
|
| 147 |
+
📧 **Email:** [ipoloka@fit.vut.cz](mailto:ipoloka@fit.vut.cz)
|
| 148 |
|
| 149 |
+
🏢 **Affiliation:** [BUT Speech@FIT](https://github.com/BUTSpeechFIT), Brno University of Technology
|
| 150 |
|
| 151 |
+
🔗 **GitHub:** [BUTSpeechFIT](https://github.com/BUTSpeechFIT)
|