Update README.md
Browse files
README.md
CHANGED
@@ -13,11 +13,9 @@ datasets:
|
|
13 |
- covost2
|
14 |
- europarl_st
|
15 |
- voxpopuli
|
16 |
-
|
17 |
-
- example_title: Common Voice sample 1
|
18 |
-
src: https://huggingface.co/facebook/xm_transformer_600m-es_en-multi_domain/resolve/main/common_voice_es_19966634.flac
|
19 |
---
|
20 |
-
##
|
21 |
|
22 |
Speech-to-speech translation model from fairseq S2UT ([paper](https://arxiv.org/abs/2204.02967)/[code](https://github.com/facebookresearch/fairseq/blob/main/examples/speech_to_speech/docs/enhanced_direct_s2st_discrete_units.md)):
|
23 |
- Spanish-English
|
@@ -43,7 +41,7 @@ import torchaudio
|
|
43 |
cache_dir = os.getenv("HUGGINGFACE_HUB_CACHE")
|
44 |
|
45 |
models, cfg, task = load_model_ensemble_and_task_from_hf_hub(
|
46 |
-
"facebook/
|
47 |
arg_overrides={"config_yaml": "config.yaml", "task": "speech_to_text"},
|
48 |
cache_dir=cache_dir,
|
49 |
)
|
@@ -64,7 +62,7 @@ cache_dir = (
|
|
64 |
cache_dir or (Path.home() / ".cache" / library_name).as_posix()
|
65 |
)
|
66 |
cache_dir = snapshot_download(
|
67 |
-
f"facebook/
|
68 |
)
|
69 |
|
70 |
x = hub_utils.from_pretrained(
|
|
|
13 |
- covost2
|
14 |
- europarl_st
|
15 |
- voxpopuli
|
16 |
+
|
|
|
|
|
17 |
---
|
18 |
+
## xm_transformer_unity_en-hk
|
19 |
|
20 |
Speech-to-speech translation model from fairseq S2UT ([paper](https://arxiv.org/abs/2204.02967)/[code](https://github.com/facebookresearch/fairseq/blob/main/examples/speech_to_speech/docs/enhanced_direct_s2st_discrete_units.md)):
|
21 |
- Spanish-English
|
|
|
41 |
cache_dir = os.getenv("HUGGINGFACE_HUB_CACHE")
|
42 |
|
43 |
models, cfg, task = load_model_ensemble_and_task_from_hf_hub(
|
44 |
+
"facebook/xm_transformer_unity_en-hk",
|
45 |
arg_overrides={"config_yaml": "config.yaml", "task": "speech_to_text"},
|
46 |
cache_dir=cache_dir,
|
47 |
)
|
|
|
62 |
cache_dir or (Path.home() / ".cache" / library_name).as_posix()
|
63 |
)
|
64 |
cache_dir = snapshot_download(
|
65 |
+
f"facebook/unit_hifigan_HK_layer12.km2500_frame_TAT-TTS", cache_dir=cache_dir, library_name=library_name
|
66 |
)
|
67 |
|
68 |
x = hub_utils.from_pretrained(
|