kubota commited on
Commit
bd0031c
·
1 Parent(s): d5c918f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -4
README.md CHANGED
@@ -20,14 +20,16 @@ The original foundation model was finetuned on a balanced dataset created by uni
20
  - [![Generic badge](https://img.shields.io/badge/Dataset-DefamationJapaneseTwitter-red.svg)](https://huggingface.co/datasets/kubota/defamation-japanese-twitter)
21
  - `DefamationJapaneseYouTube` : TBA
22
 
23
- <b>Labels</b>:
24
- 0 -> "中傷性のない発言";
25
- 1 -> "脅迫的な発言";
26
- 2 -> "侮蔑的な発言";
27
  3"-> "名誉を低下させる発言"
28
 
29
  ## Example Pipeline
 
30
  ```python
 
31
  from transformers import pipeline
32
  pipe = pipeline(model="kubota/luke-large-defamation-detection-japanese")
33
  pipe("あの人は殺人を犯した犯罪者らしい")
 
20
  - [![Generic badge](https://img.shields.io/badge/Dataset-DefamationJapaneseTwitter-red.svg)](https://huggingface.co/datasets/kubota/defamation-japanese-twitter)
21
  - `DefamationJapaneseYouTube` : TBA
22
 
23
+ <b>Labels</b>:\
24
+ 0 -> "中傷性のない発言"\
25
+ 1 -> "脅迫的な発言"\
26
+ 2 -> "侮蔑的な発言"\
27
  3"-> "名誉を低下させる発言"
28
 
29
  ## Example Pipeline
30
+ [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/kubotaissei/defamation_japanese_twitter/blob/master/src/example.ipynb)
31
  ```python
32
+ # !pip install transformers==4.26 sentencepiece
33
  from transformers import pipeline
34
  pipe = pipeline(model="kubota/luke-large-defamation-detection-japanese")
35
  pipe("あの人は殺人を犯した犯罪者らしい")