KoichiYasuoka
commited on
Commit
•
8e56bd5
1
Parent(s):
e33568a
ufal.chu-liu-edmonds
Browse files
README.md
CHANGED
@@ -67,12 +67,12 @@ nlp=UDgoeswith("KoichiYasuoka/roberta-classical-chinese-base-ud-goeswith")
|
|
67 |
print(nlp("孟子見梁惠王"))
|
68 |
```
|
69 |
|
70 |
-
|
|
|
71 |
|
72 |
```
|
73 |
from transformers import pipeline
|
74 |
-
nlp=pipeline("universal-dependencies","KoichiYasuoka/roberta-classical-chinese-base-ud-goeswith",trust_remote_code=True)
|
75 |
print(nlp("孟子見梁惠王"))
|
76 |
```
|
77 |
|
78 |
-
[ufal.chu-liu-edmonds](https://pypi.org/project/ufal.chu-liu-edmonds/) is required.
|
|
|
67 |
print(nlp("孟子見梁惠王"))
|
68 |
```
|
69 |
|
70 |
+
with [ufal.chu-liu-edmonds](https://pypi.org/project/ufal.chu-liu-edmonds/).
|
71 |
+
Or without ufal.chu-liu-edmonds:
|
72 |
|
73 |
```
|
74 |
from transformers import pipeline
|
75 |
+
nlp=pipeline("universal-dependencies","KoichiYasuoka/roberta-classical-chinese-base-ud-goeswith",trust_remote_code=True,aggregation_strategy="simple")
|
76 |
print(nlp("孟子見梁惠王"))
|
77 |
```
|
78 |
|
|