Update README.md
Browse files
README.md
CHANGED
@@ -11,7 +11,8 @@ pipeline_tag: token-classification
|
|
11 |
|
12 |
* Importing the libraries and loading the models and the pipeline
|
13 |
```python
|
14 |
-
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
|
|
15 |
model_id = "gauneg/roberta-base-absa-ate-sentiment"
|
16 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
17 |
model = AutoModelForTokenClassification.from_pretrained(model_id)
|
|
|
11 |
|
12 |
* Importing the libraries and loading the models and the pipeline
|
13 |
```python
|
14 |
+
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
15 |
+
from transformers import pipeline
|
16 |
model_id = "gauneg/roberta-base-absa-ate-sentiment"
|
17 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
18 |
model = AutoModelForTokenClassification.from_pretrained(model_id)
|