Downloads · 30 days
119
10% of all-time downloads
LoneWolfgang/bert-for-japanese-twitter-sentiment-mixed-label
bert-for-japanese-twitter-sentiment-mixed-label is a text classification model from LoneWolfgang. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
This model was finetuned from BERT for Japanese Twitter, which was adapted from Japanese BERT by Tohoku NLP by continuing MLM on a Twitter corpus.
Downloads · 30 days
119
10% of all-time downloads
All-time downloads
1.2K
Public
Parameters
111M
443 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors443 MB · 100%
From the Hugging Face model README
This model was finetuned from BERT for Japanese Twitter, which was adapted from Japanese BERT by Tohoku NLP by continuing MLM on a Twitter corpus.
It used Japanese Twitter Sentiment 1k (JTS1k).
For a model without the mixed label, please use the main version of BERT for Japanese Twitter Sentiment.
0 -> Negative; 1 -> Neutral; 2 -> Positive; 3 -> Mixed
from transformers import pipeline
sentiment = pipeline("sentiment-analysis", model="LoneWolfgang/bert-for-japanese-twitter-sentiment-mixed-label")
sentiment ("ケーキは美味しかったけど、店員さんの態度が少し残念だった。")
[{'label': 'mixed', 'score': 0.6090}]