File size: 2,712 Bytes
9592801
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
"""πŸ—£οΈ Translator - Translate text from one language to another.

MODELS list all available models.
"""

MODELS = {
    "πŸ‡¬πŸ‡§ English->πŸ‡¬πŸ‡§ English": [0,],
    "πŸ‡¬πŸ‡§ English->πŸ‡«πŸ‡· French": ["Helsinki-NLP/opus-mt-en-fr", "https://huggingface.co/Helsinki-NLP/opus-mt-en-fr"],
    "πŸ‡¬πŸ‡§ English->πŸ‡©πŸ‡ͺ German": ["Helsinki-NLP/opus-mt-en-de", "https://huggingface.co/Helsinki-NLP/opus-mt-en-de"],
    "πŸ‡¬πŸ‡§ English->πŸ‡ͺπŸ‡Έ Spanish": ["Helsinki-NLP/opus-mt-en-es", "https://huggingface.co/Helsinki-NLP/opus-mt-en-es"],
    "πŸ‡¬πŸ‡§ English->πŸ‡·πŸ‡Ί Russian": ["Helsinki-NLP/opus-mt-en-ru", "https://huggingface.co/Helsinki-NLP/opus-mt-en-ru"],
    "πŸ‡«πŸ‡· French->πŸ‡«πŸ‡· French": 0,
    "πŸ‡«πŸ‡· French->πŸ‡¬πŸ‡§ English": ["Helsinki-NLP/opus-mt-fr-en", "https://huggingface.co/Helsinki-NLP/opus-mt-fr-en"],
    "πŸ‡«πŸ‡· French->πŸ‡©πŸ‡ͺ German": ["Helsinki-NLP/opus-mt-fr-de", "https://huggingface.co/Helsinki-NLP/opus-mt-fr-de"],
    "πŸ‡«πŸ‡· French->πŸ‡ͺπŸ‡Έ Spanish": ["Helsinki-NLP/opus-mt-fr-es", "https://huggingface.co/Helsinki-NLP/opus-mt-fr-es"],
    "πŸ‡«πŸ‡· French->πŸ‡·πŸ‡Ί Russian": ["Helsinki-NLP/opus-mt-fr-ru", "https://huggingface.co/Helsinki-NLP/opus-mt-fr-ru"],
    "πŸ‡ͺπŸ‡Έ Spanish->πŸ‡ͺπŸ‡Έ Spanish": 0,
    "πŸ‡ͺπŸ‡Έ Spanish->πŸ‡¬πŸ‡§ English": ["Helsinki-NLP/opus-mt-es-en", "https://huggingface.co/Helsinki-NLP/opus-mt-es-en"],
    "πŸ‡ͺπŸ‡Έ Spanish->πŸ‡©πŸ‡ͺ German": ["Helsinki-NLP/opus-mt-es-de", "https://huggingface.co/Helsinki-NLP/opus-mt-es-de"],
    "πŸ‡ͺπŸ‡Έ Spanish->πŸ‡«πŸ‡· French": ["Helsinki-NLP/opus-mt-es-fr", "https://huggingface.co/Helsinki-NLP/opus-mt-es-fr"],
    "πŸ‡ͺπŸ‡Έ Spanish->πŸ‡·πŸ‡Ί Russian": ["Helsinki-NLP/opus-mt-es-ru", "https://huggingface.co/Helsinki-NLP/opus-mt-es-ru"],
    "πŸ‡©πŸ‡ͺ German->πŸ‡©πŸ‡ͺ German": 0,
    "πŸ‡©πŸ‡ͺ German->πŸ‡¬πŸ‡§ English": ["Helsinki-NLP/opus-mt-de-en", "https://huggingface.co/Helsinki-NLP/opus-mt-de-en"],
    "πŸ‡©πŸ‡ͺ German->πŸ‡ͺπŸ‡Έ Spanish": ["Helsinki-NLP/opus-mt-de-es", "https://huggingface.co/Helsinki-NLP/opus-mt-de-es"],
    "πŸ‡©πŸ‡ͺ German->πŸ‡«πŸ‡· French": ["Helsinki-NLP/opus-mt-de-fr", "https://huggingface.co/Helsinki-NLP/opus-mt-de-fr"],
    "πŸ‡©πŸ‡ͺ German->πŸ‡·πŸ‡Ί Russian": None,
    "πŸ‡·πŸ‡Ί Russian->πŸ‡·πŸ‡Ί Russian": 0,
    "πŸ‡·πŸ‡Ί Russian->πŸ‡¬πŸ‡§ English": ["Helsinki-NLP/opus-mt-ru-en", "https://huggingface.co/Helsinki-NLP/opus-mt-ru-en"],
    "πŸ‡·πŸ‡Ί Russian->πŸ‡ͺπŸ‡Έ Spanish": ["Helsinki-NLP/opus-mt-ru-es", "https://huggingface.co/Helsinki-NLP/opus-mt-ru-es"],
    "πŸ‡·πŸ‡Ί Russian->πŸ‡«πŸ‡· French": ["Helsinki-NLP/opus-mt-ru-fr", "https://huggingface.co/Helsinki-NLP/opus-mt-ru-fr"],
    "πŸ‡·πŸ‡Ί Russian->πŸ‡©πŸ‡ͺ German": None,
}