ilsp
/

droussis commited on
Commit
5ed6a5a
1 Parent(s): 2c2bf21

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -10,7 +10,7 @@ pipeline_tag: translation
10
 
11
  ## Description
12
 
13
- This is a Spanish-English translation model for the scientific domain, which uses the CA+OC+ES-EN OPUS-MT Transformer-Big [(link)](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/cat%2Boci%2Bspa-eng) as its base model.
14
  It has been fine-tuned on a large parallel corpus with scientific texts, with special focus to the four pilot domains of the [SciLake](https://scilake.eu/) project:
15
  - Neuroscience
16
  - Cancer
@@ -48,10 +48,10 @@ from huggingface_hub import snapshot_download
48
 
49
  repo_id = "ilsp/opus-mt-big-es-en_ct2_ft-SciLake"
50
 
51
- # REPLACE WITH ACTUAL MODEL PATH TO DOWNLOAD
52
- model_path = ""
53
 
54
- model_path = snapshot_download(repo_id=repo_id, local_dir=model_path)
55
 
56
  translator = ctranslate2.Translator(model_path, compute_type="auto")
57
 
 
10
 
11
  ## Description
12
 
13
+ This is a CTranslate2 Spanish-English translation model for the scientific domain, which uses the CA+OC+ES-EN OPUS-MT Transformer-Big [(link)](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/cat%2Boci%2Bspa-eng) as its base model.
14
  It has been fine-tuned on a large parallel corpus with scientific texts, with special focus to the four pilot domains of the [SciLake](https://scilake.eu/) project:
15
  - Neuroscience
16
  - Cancer
 
48
 
49
  repo_id = "ilsp/opus-mt-big-es-en_ct2_ft-SciLake"
50
 
51
+ # REPLACE WITH ACTUAL LOCAL DIRECTORY WHERE THE MODEL WILL BE DOWNLOADED
52
+ local_dir = ""
53
 
54
+ model_path = snapshot_download(repo_id=repo_id, local_dir=local_dir)
55
 
56
  translator = ctranslate2.Translator(model_path, compute_type="auto")
57