Update README.md
Browse files
README.md
CHANGED
@@ -3,9 +3,11 @@
|
|
3 |
|
4 |
You can use this model with Transformers for Sentiment Classification.
|
5 |
|
|
|
6 |
from transformers import AutoModelForSequenceClassification
|
7 |
from transformers import AutoTokenizer
|
8 |
|
9 |
|
10 |
model = AutoModelForSequenceClassification.from_pretrained('Ifyokoh/Igbo-sentiment-bbc')
|
11 |
-
tokenizer = AutoTokenizer.from_pretrained('Ifyokoh/Igbo-sentiment-bbc')
|
|
|
|
3 |
|
4 |
You can use this model with Transformers for Sentiment Classification.
|
5 |
|
6 |
+
```python
|
7 |
from transformers import AutoModelForSequenceClassification
|
8 |
from transformers import AutoTokenizer
|
9 |
|
10 |
|
11 |
model = AutoModelForSequenceClassification.from_pretrained('Ifyokoh/Igbo-sentiment-bbc')
|
12 |
+
tokenizer = AutoTokenizer.from_pretrained('Ifyokoh/Igbo-sentiment-bbc')
|
13 |
+
```
|