yuchen005 commited on
Commit
5d530f0
1 Parent(s): 5e8e12d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -39,7 +39,7 @@ Here are the available speech data: [CHiME-4](https://entuedu-my.sharepoint.com/
39
 
40
  **UPDATE (Apr-29-2024):** To support customization, We release the script ***generate_robust_hp.py*** for users to generate train/test data from their own ASR datasets.
41
  We also release two necessary packages for generation: "my_jiwer" and "decoding.py".
42
- To summary, you will need to do the following three steps before running ***generate_robust_hp.py***:
43
  - Modified the [whisper model code](https://github.com/openai/whisper/blob/main/whisper/model.py#L167) `x = (x + self.positional_embedding).to(x.dtype)` to be `x = (x + self.positional_embedding[:x.shape[1], :]).to(x.dtype)`
44
  - Specify the absolute path of "my_jiwer" directory in ***generate_robust_hp.py*** (`sys.path.append()`)
45
  - Put our whisper decoding script "decoding.py" under your locally installed whisper directory "\<your-path\>/whisper/whisper"
 
39
 
40
  **UPDATE (Apr-29-2024):** To support customization, We release the script ***generate_robust_hp.py*** for users to generate train/test data from their own ASR datasets.
41
  We also release two necessary packages for generation: "my_jiwer" and "decoding.py".
42
+ To summarize, you will need to do the following three steps before running ***generate_robust_hp.py***:
43
  - Modified the [whisper model code](https://github.com/openai/whisper/blob/main/whisper/model.py#L167) `x = (x + self.positional_embedding).to(x.dtype)` to be `x = (x + self.positional_embedding[:x.shape[1], :]).to(x.dtype)`
44
  - Specify the absolute path of "my_jiwer" directory in ***generate_robust_hp.py*** (`sys.path.append()`)
45
  - Put our whisper decoding script "decoding.py" under your locally installed whisper directory "\<your-path\>/whisper/whisper"