Update README.md
Browse files
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
|
52 |
-
|
53 |
|
54 |
-
model_path = snapshot_download(repo_id=repo_id, local_dir=
|
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 |
|