mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
Create README.md
I create japanese binary classification.
This commit is contained in:
parent
c73c83b0e6
commit
0ac6d0bf33
13
model_cards/daigo/bert-base-japanese-sentiment/README.md
Normal file
13
model_cards/daigo/bert-base-japanese-sentiment/README.md
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
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}]
|
||||
```
|
Loading…
Reference in New Issue
Block a user