KameliaZaman
commited on
Commit
•
5abbe0c
1
Parent(s):
7727851
Update config.json
Browse files- config.json +20 -13
config.json
CHANGED
@@ -1,15 +1,22 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
|
5 |
-
|
6 |
-
"
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
}
|
|
|
1 |
{
|
2 |
+
"languages": {
|
3 |
+
"fr": "French",
|
4 |
+
"en": "English"
|
5 |
+
},
|
6 |
+
"models": [
|
7 |
+
{
|
8 |
+
"src": "fr",
|
9 |
+
"tgt": "en",
|
10 |
+
"model_type": "ctranslator2",
|
11 |
+
"hugging_face_repo_id": "KameliaZaman/French-to-English-Translation" // repo id to download the model (optional)",
|
12 |
+
"model_path": "French-to-English-Translation", //model directory name under models
|
13 |
+
"src_sentencepiece_model": "french_to_english_translator.h5",
|
14 |
+
"tgt_sentencepiece_model": "french_to_english_translator.h5",
|
15 |
+
"sentence_split": "nltk",
|
16 |
+
"pipeline": {
|
17 |
+
"sentencepiece": true,
|
18 |
+
"translate": true
|
19 |
+
}
|
20 |
+
}
|
21 |
+
]
|
22 |
}
|