Skip to content

Commit

Permalink
Merge pull request #38 from alexandrainst/fix/wav2vec2-finetuning-pro…
Browse files Browse the repository at this point in the history
…blems

fix: Change w2v2 word delimiter token to space
  • Loading branch information
sorenmulli authored Sep 20, 2023
2 parents 49c8063 + c329a88 commit 7e3bfb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coral_models/wav2vec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def load_processor(self) -> Wav2Vec2Processor:
pad_token="<pad>",
bos_token="<s>",
eos_token="</s>",
word_delimiter_token="|",
word_delimiter_token=" ",
)

# Set the `model_max_length` attribute of the tokenizer, if it hasn't been set,
Expand Down

0 comments on commit 7e3bfb4

Please sign in to comment.