Update README.md
Browse files
README.md
CHANGED
@@ -12,6 +12,16 @@ language:
|
|
12 |
|
13 |
# Sentiment Classification in Polish
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
### Overview
|
16 |
- **Language model:** [allegro/herbert-base-cased](https://huggingface.co/allegro/herbert-base-cased)
|
17 |
- **Language:** pl
|
|
|
12 |
|
13 |
# Sentiment Classification in Polish
|
14 |
|
15 |
+
```
|
16 |
+
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
17 |
+
|
18 |
+
tokenizer = AutoTokenizer.from_pretrained("Voicelab/herbert-base-cased-sentiment")
|
19 |
+
|
20 |
+
model = AutoModelForSequenceClassification.from_pretrained("Voicelab/herbert-base-cased-sentiment")
|
21 |
+
|
22 |
+
```
|
23 |
+
|
24 |
+
|
25 |
### Overview
|
26 |
- **Language model:** [allegro/herbert-base-cased](https://huggingface.co/allegro/herbert-base-cased)
|
27 |
- **Language:** pl
|