AgaMiko commited on
Commit
8f2d5b4
1 Parent(s): 972c64b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -0
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