Update README.md
Browse files
README.md
CHANGED
|
@@ -23,6 +23,15 @@ library_name: transformers
|
|
| 23 |
|
| 24 |
</div>
|
| 25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
## Citation
|
| 27 |
|
| 28 |
**If you use our model, kindly cite our [paper](https://hal.science/hal-03430610/document)**:
|
|
|
|
| 23 |
|
| 24 |
</div>
|
| 25 |
|
| 26 |
+
## Use this Model
|
| 27 |
+
# Load model directly
|
| 28 |
+
from transformers import AutoModel
|
| 29 |
+
model = AutoModel.from_pretrained("SLPG/Biomedical_French_to_English")
|
| 30 |
+
# Use a pipeline as a high-level helper
|
| 31 |
+
from transformers import pipeline
|
| 32 |
+
|
| 33 |
+
pipe = pipeline("translation", model="SLPG/Biomedical_French_to_English")
|
| 34 |
+
|
| 35 |
## Citation
|
| 36 |
|
| 37 |
**If you use our model, kindly cite our [paper](https://hal.science/hal-03430610/document)**:
|