Bladeren bron

tokenizer HF paths & fairseq2 pip install

cndn 2 jaren geleden
bovenliggende
commit
e779fcf8ca

+ 1 - 2
README.md

@@ -22,9 +22,8 @@ Links:
 
 # Quick Start
 ## Installation
-1. Install fairseq2. Follow tutorials in fairseq2 [README](https://github.com/facebookresearch/fairseq2)
-2. Install seamless_communication
 ```
+pip install fairseq2
 pip install .
 ```
 

+ 1 - 1
src/seamless_communication/assets/cards/unity_nllb-100.yaml

@@ -5,7 +5,7 @@
 # LICENSE file in the root directory of this source tree.
 
 model_type: unity
-tokenizer: "https://dl.fbaipublicfiles.com/seamlessM4T/models/large/spm_256k_nllb100.model"
+tokenizer: "https://huggingface.co/facebook/seamless-m4t-large/resolve/main/tokenizer.model"
 default_lang: eng
 langs:
   - afr

+ 1 - 1
src/seamless_communication/assets/cards/unity_nllb-200.yaml

@@ -5,7 +5,7 @@
 # LICENSE file in the root directory of this source tree.
 
 model_type: unity
-tokenizer: "https://tinyurl.com/flores200sacrebleuspm"
+tokenizer: "https://huggingface.co/facebook/seamless-m4t-medium/resolve/main/tokenizer.model"
 default_lang: eng
 langs:
   - ace