Back to all models
Model: daigo/bert-base-japanese-sentiment

Monthly model downloads

daigo/bert-base-japanese-sentiment daigo/bert-base-japanese-sentiment
- downloads
last 30 days

pytorch

tf

Contributed by

daigo daigo
1 model

How to use this model directly from the πŸ€—/transformers library:

			
Copy model
tokenizer = AutoTokenizer.from_pretrained("daigo/bert-base-japanese-sentiment") model = AutoModelForSequenceClassification.from_pretrained("daigo/bert-base-japanese-sentiment")

binary classification

Usage

print(pipeline("sentiment-analysis",model="daigo/bert-base-japanese-sentiment",tokenizer="daigo/bert-base-japanese-sentiment")("私は幸福である。"))

[{'label': 'ポジティブ', 'score': 0.98430425}]