transformers/model_cards/daigo/bert-base-japanese-sentiment/README.md

14 lines
278 B
Markdown
Raw Normal View History

---
language:
- japanese
---
binary classification
# Usage
```
print(pipeline("sentiment-analysis",model="daigo/bert-base-japanese-sentiment",tokenizer="daigo/bert-base-japanese-sentiment")("私は幸福である。"))
[{'label': 'ポジティブ', 'score': 0.98430425}]
```