File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 7272 # pynini is required by WeTextProcessing, use conda to install it as it can be executed on all platforms.
7373 conda install -y -c conda-forge pynini==2.1.5
7474 pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com
75-
75+
7676 # If you encounter sox compatibility issues
7777 # ubuntu
7878 sudo apt-get install sox libsox-dev
Original file line number Diff line number Diff line change @@ -381,7 +381,7 @@ def forward_dpo(
381381 self ,
382382 batch : dict ,
383383 device : torch .device ,
384- ) -> Dict [str , Optional [torch .Tensor ]]:
384+ ) -> Dict [str , Optional [torch .Tensor ]]:
385385 text_token = batch ['text_token' ].to (device )
386386 text_token_len = batch ['text_token_len' ].to (device )
387387 speech_token = batch ['speech_token' ].to (device )
You can’t perform that action at this time.
0 commit comments