소스 검색

Update predict/README.md to add a comment about --ngram-filtering

Kaushik Ram Sadagopan 2 년 전
부모
커밋
352dc97846
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      scripts/m4t/predict/README.md

+ 2 - 1
scripts/m4t/predict/README.md

@@ -38,8 +38,9 @@ m4t_predict <input_text> t2st <tgt_lang> --src_lang <src_lang> --output_path <pa
 ```bash
 m4t_predict <path_to_input_audio> asr <tgt_lang>
 ```
+Please set --ngram-filtering to True to get the same translation performance as the [demo](https://seamless.metademolab.com/).
 
-Note that it takes 16kHz audio now. Here's how you could resample your audio:
+The input audio must be 16kHz currently. Here's how you could resample your audio:
 ```python
 import torchaudio
 resample_rate = 16000