Instructions to use SLPG/Biomedical_French_to_English with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SLPG/Biomedical_French_to_English with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("translation", model="SLPG/Biomedical_French_to_English")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SLPG/Biomedical_French_to_English", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -16,7 +16,7 @@ license: apache-2.0
|
|
| 16 |
|
| 17 |
## Benchmarks
|
| 18 |
|
| 19 |
-
<div style="width:
|
| 20 |
|
| 21 |
| **Test set** | **BLEU** |
|
| 22 |
|----------------|----------|
|
|
@@ -28,24 +28,9 @@ license: apache-2.0
|
|
| 28 |
|
| 29 |
If you use our model, kindly cite our paper:
|
| 30 |
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
<script>
|
| 34 |
-
function copyToClipboard() {
|
| 35 |
-
var citationText = `@inproceedings{xu2021lisn,
|
| 36 |
title={LISN@ WMT 2021},
|
| 37 |
author={Xu, Jitao and Rauf, Sadaf Abdul and Pham, Minh Quang and Yvon, Fran{\c{c}}ois},
|
| 38 |
booktitle={6th Conference on Statistical Machine Translation},
|
| 39 |
year={2021}
|
| 40 |
-
}
|
| 41 |
-
|
| 42 |
-
var dummyTextArea = document.createElement("textarea");
|
| 43 |
-
document.body.appendChild(dummyTextArea);
|
| 44 |
-
dummyTextArea.value = citationText;
|
| 45 |
-
dummyTextArea.select();
|
| 46 |
-
document.execCommand("copy");
|
| 47 |
-
document.body.removeChild(dummyTextArea);
|
| 48 |
-
|
| 49 |
-
alert("Citation copied to clipboard!");
|
| 50 |
-
}
|
| 51 |
-
</script>
|
|
|
|
| 16 |
|
| 17 |
## Benchmarks
|
| 18 |
|
| 19 |
+
<div style="width: 50%; text-align: left;">
|
| 20 |
|
| 21 |
| **Test set** | **BLEU** |
|
| 22 |
|----------------|----------|
|
|
|
|
| 28 |
|
| 29 |
If you use our model, kindly cite our paper:
|
| 30 |
|
| 31 |
+
@inproceedings{xu2021lisn,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
title={LISN@ WMT 2021},
|
| 33 |
author={Xu, Jitao and Rauf, Sadaf Abdul and Pham, Minh Quang and Yvon, Fran{\c{c}}ois},
|
| 34 |
booktitle={6th Conference on Statistical Machine Translation},
|
| 35 |
year={2021}
|
| 36 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|