File size: 665 Bytes
770d5e8
e9abb68
 
 
 
1862b6c
 
e9abb68
 
 
 
c93f98d
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
title = "NLLB-200 Traslation Demo"
description = """
<p>
<center>
Translator using <a href='https://ai.facebook.com/research/no-language-left-behind/' target='_blank'>Facebook's NLLB</a> models.
Codes Using <a href='https://github.com/facebookresearch/fairseq/tree/nllb' target=blank'>Facebook's fairseq NLLB</a>. 
Demo is running on CPU.
</center>
</p>
"""

examples = [["我非常喜欢这个地方", "zho_Hans", "yue_Hant", 512]]
#examples = [["我非常喜欢这个地方", "zho_Hans", "eng_Latn", 512], ["今天天气很不错", "zho_Hans", "eng_Latn", 512]]
#examples = [["我非常喜欢这个地方", "今天天气很不错"], "zho_Hans", "eng_Latn", 512]]