kubota commited on
Commit
9dcf4b7
1 Parent(s): 6ce5824

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -0
README.md CHANGED
@@ -20,6 +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
  - "Defamation_Japanese_YouTube".
22
 
 
 
 
 
 
 
 
 
 
 
23
  ## Licenses
24
 
25
  The finetuned model with all attached files is licensed under [CC BY-SA 4.0](http://creativecommons.org/licenses/by-sa/4.0/), or Creative Commons Attribution-ShareAlike 4.0 International License.
 
20
  - [![Generic badge](https://img.shields.io/badge/Dataset-DefamationJapaneseTwitter-red.svg)](https://huggingface.co/datasets/kubota/defamation-japanese-twitter)
21
  - "Defamation_Japanese_YouTube".
22
 
23
+ ## Example Pipeline
24
+ ```python
25
+ from transformers import pipeline
26
+ pipe = pipeline(model="kubota/luke-large-defamation-detection-japanese")
27
+ pipe("あの人は殺人を犯した犯罪者らしい")
28
+ ```
29
+ ```
30
+ [{'label': '名誉を低下させる発言', 'score': 0.8889994621276855}]
31
+ ```
32
+
33
  ## Licenses
34
 
35
  The finetuned model with all attached files is licensed under [CC BY-SA 4.0](http://creativecommons.org/licenses/by-sa/4.0/), or Creative Commons Attribution-ShareAlike 4.0 International License.