luke-large-defamation-detection-japanese

日本語誹謗中傷検出器

This model is a fine-tuned version of studio-ousia/luke-japanese-large for the Japanese language finetuned for automatic defamation detection.

The original foundation model was finetuned on a balanced dataset created by unifying two datasets:

  • Generic badge
  • DefamationJapaneseYouTube : TBA

Labels:
0 -> "中傷性のない発言"
1 -> "脅迫的な発言"
2 -> "侮蔑的な発言"
3"-> "名誉を低下させる発言"

Example Pipeline

Open In Colab

# !pip install transformers==4.26 sentencepiece
from transformers import pipeline
pipe = pipeline(model="kubota/luke-large-defamation-detection-japanese")
pipe("あの人は殺人を犯した犯罪者らしい")
[{'label': '名誉を低下させる発言', 'score': 0.8889994621276855}]

Training Scripts

Open In Colab

Licenses

The finetuned model with all attached files is licensed under CC BY-SA 4.0, or Creative Commons Attribution-ShareAlike 4.0 International License.

Creative Commons License

Downloads last month
52
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Dataset used to train kubota/luke-large-defamation-detection-japanese