Downloads · 30 days
13
2% of all-time downloads
baikalai/dbert-sentiment
dbert-sentiment is a text classification model from baikalai. Use it when you need a label for a piece of text. It is set up for transformers.
Downloads · 30 days
13
2% of all-time downloads
All-time downloads
763
Public
Parameters
113M
1.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.bin452 MB · 67%
From the Hugging Face model README
from transformers import BertForSequenceClassification, BertTokenizer, TextClassificationPipeline
model = BertForSequenceClassification.from_pretrained("deeq/dbert-sentiment")
tokenizer = BertTokenizer.from_pretrained("deeq/dbert")
nlp = TextClassificationPipeline(model=model, tokenizer=tokenizer)
print(nlp("좋아요"))
print(nlp("글쎄요"))