浏览代码

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