Update README.md
Browse files
README.md
CHANGED
|
@@ -25,7 +25,7 @@ The configuration file fed into OpusDistillery can be found [here](https://githu
|
|
| 25 |
## How to run
|
| 26 |
```python
|
| 27 |
>>> from transformers import pipeline
|
| 28 |
-
>>> pipe = pipeline("translation", model="Helsinki-NLP/opus-
|
| 29 |
>>> pipe("Les efforts visant à trouver le lieu de l’accident sont restreints par des intempéries et le terrain accidenté.")
|
| 30 |
```
|
| 31 |
|
|
|
|
| 25 |
## How to run
|
| 26 |
```python
|
| 27 |
>>> from transformers import pipeline
|
| 28 |
+
>>> pipe = pipeline("translation", model="Helsinki-NLP/opus-mt_tiny_fra-eng", max_length=256)
|
| 29 |
>>> pipe("Les efforts visant à trouver le lieu de l’accident sont restreints par des intempéries et le terrain accidenté.")
|
| 30 |
```
|
| 31 |
|