ArissBandoss commited on
Commit
8b20d96
·
verified ·
1 Parent(s): 0d45087

Update goai_helpers/goai_traduction.py

Browse files
Files changed (1) hide show
  1. goai_helpers/goai_traduction.py +1 -1
goai_helpers/goai_traduction.py CHANGED
@@ -57,7 +57,7 @@ def translate_chunk(text, src_lang, tgt_lang):
57
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
58
 
59
  if src_lang == "mos_Latn" and tgt_lang == "fra_Latn":
60
- model_id = "ArissBandoss/3b-neew-600"
61
  else:
62
  model_id = "ArissBandoss/nllb-200-distilled-600M-finetuned-fr-to-mos-V4"
63
 
 
57
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
58
 
59
  if src_lang == "mos_Latn" and tgt_lang == "fra_Latn":
60
+ model_id = "ArissBandoss/mos2fr-3B"
61
  else:
62
  model_id = "ArissBandoss/nllb-200-distilled-600M-finetuned-fr-to-mos-V4"
63