KameliaZaman's picture
Update config.json
5abbe0c verified
raw
history blame contribute delete
632 Bytes
{
"languages": {
"fr": "French",
"en": "English"
},
"models": [
{
"src": "fr",
"tgt": "en",
"model_type": "ctranslator2",
"hugging_face_repo_id": "KameliaZaman/French-to-English-Translation" // repo id to download the model (optional)",
"model_path": "French-to-English-Translation", //model directory name under models
"src_sentencepiece_model": "french_to_english_translator.h5",
"tgt_sentencepiece_model": "french_to_english_translator.h5",
"sentence_split": "nltk",
"pipeline": {
"sentencepiece": true,
"translate": true
}
}
]
}