Update README.md
Browse files
README.md
CHANGED
@@ -16,4 +16,14 @@ This model was fine-tuned based on `Helsinki-NLP/opus-mt-fr-en` on wmt14 dataset
|
|
16 |
|
17 |
source language: French
|
18 |
|
19 |
-
target language: English
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
source language: French
|
18 |
|
19 |
+
target language: English
|
20 |
+
|
21 |
+
Inference
|
22 |
+
```python
|
23 |
+
from transformers import pipeline
|
24 |
+
|
25 |
+
text = 'Coombs négatif anémie hémolytique'
|
26 |
+
|
27 |
+
translator = pipeline("translation", model="kwang123/medical-mt-fr-en")
|
28 |
+
translator(text)
|
29 |
+
```
|