Downloads · 30 days
3
8% of all-time downloads
gwoo123/ko-social-bias-detector
ko-social-bias-detector is a machine learning model from gwoo123. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
A Korean one-sentence social-bias detector using a fine-tuned KLUE-RoBERTa multitask classifier plus deterministic target, context, and minimal-edit logic.
Downloads · 30 days
3
8% of all-time downloads
All-time downloads
40
Public
Repo size
443 MB
Likes
0
Public
Click a slice to open those files.
.safetensors442 MB · 100%
From the Hugging Face model README
A Korean one-sentence social-bias detector using a fine-tuned KLUE-RoBERTa multitask classifier plus deterministic target, context, and minimal-edit logic.
from pipeline import detect_bias
result = detect_bias("여성은 원래 지도자 역할에 적합하지 않다.")
base_social_score_1_100 is the trained model's
raw_bias_probability × social_target_probability.
It is not calibrated confidence for the final label. The final decision may also be changed by:
Inspect decision_basis to see how the final label was reached.
target.surface_text: target with Korean particle.target.core_text: target without the particle.evidence_atoms: minimal bias-triggering expressions.rewrite_spans: character-offset spans permitted for local revision.Apply multiple edits from right to left and recheck rewritten text with the detector before accepting it.
The Korean span layer is rule-assisted. A future release should replace it with a manually labeled token-role model and broader independent holdout evaluation.