Skip to content

Commit

Permalink
Merge branch 'main' into MMdct-qk-norm
Browse files Browse the repository at this point in the history
  • Loading branch information
Mddct committed Aug 7, 2024
2 parents 3c2723a + 972b6fb commit 4a1ad11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ torchaudio>=2.1.2
tqdm
deepspeed>=0.14.0
librosa
openai-whisper
openai-whisper==20231117
pre-commit==3.5.0
langid
7 changes: 5 additions & 2 deletions test/wenet/text/test_hugging_face_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@

from wenet.text.hugging_face_tokenizer import HuggingFaceTokenizer

os.system('pip install --no-input transformers==4.40.1')
import transformers # noqa
try:
import transformers # noqa
except ImportError:
os.system('pip install --no-input transformers==4.40.1')
import transformers # noqa


@pytest.fixture(params=["bert-base-cased"])
Expand Down

0 comments on commit 4a1ad11

Please sign in to comment.