kwang123 commited on
Commit
a82899f
1 Parent(s): 566f4e3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -1
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
+ ```