AgaMiko's picture
Update README.md
8f2d5b4
|
raw
history blame
1.03 kB
metadata
pipeline_tag: text-classification
widget:
  - text: >-
      Pani Katarzyno z jakiej racji moja paczka przyszła do sąsiada zamiast do
      mnie? Nie można poprawnie nadać paczki?
    example_title: Sentiment
license: cc-by-4.0
language:
  - pl
logo voicelab nlp

Sentiment Classification in Polish

from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("Voicelab/herbert-base-cased-sentiment")

model = AutoModelForSequenceClassification.from_pretrained("Voicelab/herbert-base-cased-sentiment")

Overview