docs: update readme
Browse files
README.md
CHANGED
|
@@ -25,7 +25,7 @@ pip install attacut
|
|
| 25 |
|
| 26 |
## Getting Start
|
| 27 |
To initialize the model from hub, use the following commands
|
| 28 |
-
```
|
| 29 |
from transformers import AutoTokenizer, AutoModel
|
| 30 |
from attacut import tokenize
|
| 31 |
|
|
@@ -33,7 +33,7 @@ tokenizer = AutoTokenizer.from_pretrained("new5558/HoogBERTa")
|
|
| 33 |
model = AutoModel.from_pretrained("new5558/HoogBERTa")
|
| 34 |
```
|
| 35 |
|
| 36 |
-
To annotate POS, NE and
|
| 37 |
```
|
| 38 |
|
| 39 |
```
|
|
|
|
| 25 |
|
| 26 |
## Getting Start
|
| 27 |
To initialize the model from hub, use the following commands
|
| 28 |
+
```python
|
| 29 |
from transformers import AutoTokenizer, AutoModel
|
| 30 |
from attacut import tokenize
|
| 31 |
|
|
|
|
| 33 |
model = AutoModel.from_pretrained("new5558/HoogBERTa")
|
| 34 |
```
|
| 35 |
|
| 36 |
+
To annotate POS, NE, and clause boundary, use the following commands
|
| 37 |
```
|
| 38 |
|
| 39 |
```
|