Update README.md
Browse files
README.md
CHANGED
@@ -33,8 +33,8 @@ Requires [transformers](https://pypi.org/project/transformers/): ```pip install
|
|
33 |
```python
|
34 |
from transformers import CamembertTokenizer, CamembertForTokenClassification, TokenClassificationPipeline
|
35 |
|
36 |
-
tokenizer = CamembertTokenizer.from_pretrained('
|
37 |
-
model = CamembertForTokenClassification.from_pretrained('
|
38 |
pos = TokenClassificationPipeline(model=model, tokenizer=tokenizer)
|
39 |
|
40 |
def make_prediction(sentence):
|
|
|
33 |
```python
|
34 |
from transformers import CamembertTokenizer, CamembertForTokenClassification, TokenClassificationPipeline
|
35 |
|
36 |
+
tokenizer = CamembertTokenizer.from_pretrained('taln-ls2n/POET')
|
37 |
+
model = CamembertForTokenClassification.from_pretrained('taln-ls2n/POET')
|
38 |
pos = TokenClassificationPipeline(model=model, tokenizer=tokenizer)
|
39 |
|
40 |
def make_prediction(sentence):
|