Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,50 @@
|
|
| 1 |
---
|
| 2 |
license: unknown
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: unknown
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
# Seamless Streaming
|
| 6 |
+
|
| 7 |
+
It is the streaming only model and Seamless is the expressive streaming model.
|
| 8 |
+
|
| 9 |
+
## Quick start:
|
| 10 |
+
|
| 11 |
+
Evaluation can be run with the `streaming_evaluate` CLI.
|
| 12 |
+
|
| 13 |
+
We use the `seamless_streaming_unity` for loading the speech encoder and T2U models, and `seamless_streaming_monotonic_decoder` for loading the text decoder for streaming evaluation. This is already set as defaults for the `streaming_evaluate` CLI, but can be overridden using the `--unity-model-name` and `--monotonic-decoder-model-name` args if required.
|
| 14 |
+
|
| 15 |
+
Note that the numbers in our paper use single precision floating point format (fp32) for evaluation by setting `--dtype fp32`. Also note that the results from running these evaluations might be slightly different from the results reported in our paper (which will be updated soon with the new results).
|
| 16 |
+
|
| 17 |
+
### S2TT:
|
| 18 |
+
Set the task to `s2tt` for evaluating the speech-to-text translation part of the SeamlessStreaming model.
|
| 19 |
+
|
| 20 |
+
```bash
|
| 21 |
+
streaming_evaluate --task s2tt --data-file <path_to_data_tsv_file> --audio-root-dir <path_to_audio_root_directory> --output <path_to_evaluation_output_directory> --tgt-lang <3_letter_lang_code>
|
| 22 |
+
```
|
| 23 |
+
|
| 24 |
+
Note: The `--ref-field` can be used to specify the name of the reference column in the dataset.
|
| 25 |
+
|
| 26 |
+
### ASR:
|
| 27 |
+
Set the task to `asr` for evaluating the automatic speech recognition part of the SeamlessStreaming model. Make sure to pass the source language as the `--tgt-lang` arg.
|
| 28 |
+
|
| 29 |
+
```bash
|
| 30 |
+
streaming_evaluate --task asr --data-file <path_to_data_tsv_file> --audio-root-dir <path_to_audio_root_directory> --output <path_to_evaluation_output_directory> --tgt-lang <3_letter_source_lang_code>
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
### S2ST:
|
| 34 |
+
|
| 35 |
+
#### SeamlessStreaming:
|
| 36 |
+
|
| 37 |
+
Set the task to `s2st` for evaluating the speech-to-speech translation part of the SeamlessStreaming model.
|
| 38 |
+
|
| 39 |
+
```bash
|
| 40 |
+
streaming_evaluate --task s2st --data-file <path_to_data_tsv_file> --audio-root-dir <path_to_audio_root_directory> --output <path_to_evaluation_output_directory> --tgt-lang <3_letter_lang_code>
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
#### Seamless:
|
| 44 |
+
The Seamless model is an unified model for streaming expressive speech-to-speech tranlsation. Use the `--expressive` arg for running evaluation of this unified model.
|
| 45 |
+
|
| 46 |
+
```bash
|
| 47 |
+
streaming_evaluate --task s2st --data-file <path_to_data_tsv_file> --audio-root-dir <path_to_audio_root_directory> --output <path_to_evaluation_output_directory> --tgt-lang <3_letter_lang_code> --expressive
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
Note: In the current version of our paper, we use vocoder_pretssel_16khz for the evaluation , so in order to reproduce those results please add this arg to the above command: `--vocoder-name vocoder_pretssel_16khz`
|