Update README.md
Browse files
README.md
CHANGED
@@ -22,8 +22,8 @@ bos_id = tokenizer._convert_token_to_id_with_added_voc("<s>")
|
|
22 |
eos_id = tokenizer._convert_token_to_id_with_added_voc("</s>")
|
23 |
pad_id = tokenizer._convert_token_to_id_with_added_voc("<pad>")
|
24 |
|
25 |
-
# First tokenize the input and outputs. The format below is how the model was trained so the input should be "Sentence </s> <
|
26 |
-
# For
|
27 |
# The following language indicator tokens are usable: <2acf>, <2aoa>, <2ara>, <2aze>, <2bah>, <2brc>, <2bzj>, <2bzk>, <2cab>, <2ceb>, <2cri>, <2crs>, <2dcr>, <2deu>, <2djk>, <2eng>, <2fab>, <2fng>, <2fpe>, <2fra>, <2gcf>, <2gcr>, <2gpe>, <2gul>, <2gyn>, <2hat>, <2icr>, <2jam>, <2kea>, <2kri>, <2ktu>, <2lou>, <2mart1259>, <2mfe>, <2mue>, <2nep>, <2pap>, <2pcm>, <2por>, <2pov>, <2pre>, <2rcf>, <2sag>, <2spa>, <2srm>, <2srn>, <2svc>, <2tpi>, <2trf>, <2wes>, <2zho>
|
28 |
# For what language each language code corresponds to please look here: https://github.com/JHU-CLSP/Kreyol-MT?tab=readme-ov-file#building-machine-translation-for-latin-american-caribbean-and-colonial-african-creole-languages
|
29 |
|
|
|
22 |
eos_id = tokenizer._convert_token_to_id_with_added_voc("</s>")
|
23 |
pad_id = tokenizer._convert_token_to_id_with_added_voc("<pad>")
|
24 |
|
25 |
+
# First tokenize the input and outputs. The format below is how the model was trained so the input should be "Sentence </s> <2acf>". Similarly, the output should be "<2eng> Sentence </s>".
|
26 |
+
# Example: For Saint Lucian Patois to English translation, we need to use language indicator tags: <2acf> and <2eng> where acf represents Saint Lucian Patois and eng represents English.
|
27 |
# The following language indicator tokens are usable: <2acf>, <2aoa>, <2ara>, <2aze>, <2bah>, <2brc>, <2bzj>, <2bzk>, <2cab>, <2ceb>, <2cri>, <2crs>, <2dcr>, <2deu>, <2djk>, <2eng>, <2fab>, <2fng>, <2fpe>, <2fra>, <2gcf>, <2gcr>, <2gpe>, <2gul>, <2gyn>, <2hat>, <2icr>, <2jam>, <2kea>, <2kri>, <2ktu>, <2lou>, <2mart1259>, <2mfe>, <2mue>, <2nep>, <2pap>, <2pcm>, <2por>, <2pov>, <2pre>, <2rcf>, <2sag>, <2spa>, <2srm>, <2srn>, <2svc>, <2tpi>, <2trf>, <2wes>, <2zho>
|
28 |
# For what language each language code corresponds to please look here: https://github.com/JHU-CLSP/Kreyol-MT?tab=readme-ov-file#building-machine-translation-for-latin-american-caribbean-and-colonial-african-creole-languages
|
29 |
|