yasmineelabbar
commited on
Commit
•
7baebde
1
Parent(s):
b2cbc60
Update README.md
Browse files
README.md
CHANGED
@@ -29,7 +29,7 @@ You can use this model for translating English sentences to French. Below is a s
|
|
29 |
```python
|
30 |
from transformers import pipeline
|
31 |
|
32 |
-
model_checkpoint = "
|
33 |
translator = pipeline("translation", model=model_checkpoint)
|
34 |
result = translator("Input sentence in English")
|
35 |
print(result)
|
|
|
29 |
```python
|
30 |
from transformers import pipeline
|
31 |
|
32 |
+
model_checkpoint = "yasmineelabbar/marian-finetuned-kde4-en-to-fr-accelerate"
|
33 |
translator = pipeline("translation", model=model_checkpoint)
|
34 |
result = translator("Input sentence in English")
|
35 |
print(result)
|