Iliass Lasri commited on
Commit
8b46f74
·
1 Parent(s): 3f928a2

add 500 units

Browse files
Files changed (1) hide show
  1. README.md +4 -31
README.md CHANGED
@@ -17,47 +17,20 @@ tags:
17
  - clustering
18
  ---
19
 
20
- # Robust Quantizer for HuBERT Base (Layer 9)
21
 
22
- This model checkpoint contains a **Robust Quantizer** trained on top of the 9th layer of the `hubert-base-ls960` model. It was developed as part of a reproduction and evaluation study on creating robust discrete speech units, originally proposed in *Augmentation Invariant Discrete Representation for Generative Spoken Language Modeling (Gat et al., 2023)*.
23
 
24
  ## Model Details
25
 
26
  This quantizer was trained to provide discrete pseudo-labels that are resilient to various acoustic perturbations. By applying data augmentations during the quantization process, the resulting discrete units become, and by extension downstream acoustic models, more robust to noise and varying acoustic conditions.
27
 
28
  - **Base Model:** [facebook/hubert-base-ls960](https://huggingface.co/facebook/hubert-base-ls960)
29
- - **Layer:** 9
30
- - **Vocabulary Size (Clusters):** 500
31
  - **Algorithm:** K-Means
32
  - **Dataset:** [LibriSpeech](https://huggingface.co/datasets/librispeech_asr) (`train-clean-100`)
33
 
34
- ## Training Procedure
35
-
36
- The model was trained for 10 epochs using the iterative training/pseudo-labeling procedure described in the original paper.
37
-
38
- **Data Augmentations Applied:**
39
- - Time Stretching
40
- - Pitch Shifting
41
- - Reverberation
42
- - Additive Noise
43
-
44
- ## Intended Use
45
-
46
- This checkpoint is intended to be used to extract sequence of discrete units (pseudo-labels/tokens) from raw audio waveforms.
47
-
48
- ```python
49
- # Pseudo-code for usage
50
- import torch
51
- from transformers import HubertModel
52
-
53
- hubert = HubertModel.from_pretrained("facebook/hubert-base-ls960")
54
- # Load this quantizer
55
- quantizer = torch.load("path_to_downloaded_checkpoint.pt")
56
-
57
- # ... Pass audio through HuBERT to get layer 9 hidden states
58
- # ... Apply quantizer to get discrete units
59
- ```
60
-
61
  ## Relevant Links
62
  - Original Paper: [Augmentation Invariant Discrete Representation for Generative Spoken Language Modeling (Gat et al., 2023)](https://aclanthology.org/2023.iwslt-1.46/)
63
  - Project Repository: [github](https://github.com/iliasslasri/snlp_project)
 
17
  - clustering
18
  ---
19
 
20
+ # Robust Quantizer from HuBERT Base (Layer 6)
21
 
22
+ This model checkpoint contains a **Robust Quantizer** trained on top of the 6th layer of the `hubert-base-ls960` model. It was developed as part of a reproduction and evaluation study on creating robust discrete speech units, originally proposed in *Augmentation Invariant Discrete Representation for Generative Spoken Language Modeling (Gat et al., 2023)*.
23
 
24
  ## Model Details
25
 
26
  This quantizer was trained to provide discrete pseudo-labels that are resilient to various acoustic perturbations. By applying data augmentations during the quantization process, the resulting discrete units become, and by extension downstream acoustic models, more robust to noise and varying acoustic conditions.
27
 
28
  - **Base Model:** [facebook/hubert-base-ls960](https://huggingface.co/facebook/hubert-base-ls960)
29
+ - **Layer:** 6
30
+ - **Vocabulary Size (Clusters):** 100, 200, 500
31
  - **Algorithm:** K-Means
32
  - **Dataset:** [LibriSpeech](https://huggingface.co/datasets/librispeech_asr) (`train-clean-100`)
33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  ## Relevant Links
35
  - Original Paper: [Augmentation Invariant Discrete Representation for Generative Spoken Language Modeling (Gat et al., 2023)](https://aclanthology.org/2023.iwslt-1.46/)
36
  - Project Repository: [github](https://github.com/iliasslasri/snlp_project)