Skip to content

Commit

Permalink
HuggingFance
Browse files Browse the repository at this point in the history
  • Loading branch information
asumagic committed Oct 23, 2024
1 parent 76a803b commit 231c78a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion recipes/GigaSpeech/ASR/CTC/train_with_wavlm.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def compute_forward(self, batch, stage):

# Forward pass

# Handling SpeechBrain vs HuggingFance pretrained models
# Handling SpeechBrain vs HuggingFace pretrained models
if hasattr(self.modules, "extractor"): # SpeechBrain pretrained model
latents = self.modules.extractor(wavs)
feats = self.modules.encoder_wrapper(latents, wav_lens=wav_lens)[
Expand Down
2 changes: 1 addition & 1 deletion recipes/LibriSpeech/ASR/CTC/train_with_wav2vec_k2.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def compute_forward(self, batch, stage):

# Forward pass

# Handling SpeechBrain vs HuggingFance pretrained models
# Handling SpeechBrain vs HuggingFace pretrained models
if hasattr(self.modules, "extractor"): # SpeechBrain pretrained model
latents = self.modules.extractor(wavs)
feats = self.modules.encoder_wrapper(latents, wav_lens=wav_lens)[
Expand Down

0 comments on commit 231c78a

Please sign in to comment.