Commit
·
cc816c5
1
Parent(s):
3affdaf
updated sample
Browse files
README.md
CHANGED
|
@@ -29,11 +29,11 @@ This multilanguage model was trained on the [Europarl Dataset](https://huggingfa
|
|
| 29 |
The model restores the following punctuation markers: **"." "," "?" "-" ":"**
|
| 30 |
## Sample Code
|
| 31 |
|
| 32 |
-
```
|
| 33 |
from transformers import pipeline
|
| 34 |
|
| 35 |
pipe = pipeline("token-classification", "oliverguhr/fullstop-punctuation-multilang-large")
|
| 36 |
-
pipe(["
|
| 37 |
```
|
| 38 |
|
| 39 |
|
|
|
|
| 29 |
The model restores the following punctuation markers: **"." "," "?" "-" ":"**
|
| 30 |
## Sample Code
|
| 31 |
|
| 32 |
+
```python
|
| 33 |
from transformers import pipeline
|
| 34 |
|
| 35 |
pipe = pipeline("token-classification", "oliverguhr/fullstop-punctuation-multilang-large")
|
| 36 |
+
pipe(["My name is Clara and I live in Berkeley California"])
|
| 37 |
```
|
| 38 |
|
| 39 |
|