CoolFace
Modelpublic

thunder121x/thai-gender-bias-classifier-minilm

sourceHugging Facemitupdated 4mo agoView on Hugging Face
0likes21downloads
Model Card

Thai Gender Bias Classifier MiniLM

Fine-tuned microsoft/Multilingual-MiniLM-L12-H384 sequence classification model for Thai gender-bias detection.

Labels

  • —GB-ATTACK
  • —GB-NORMATIVE
  • —GB-SEX
  • —neutral
  • —meta_counter
  • —gendered_insult

Usage

python
from transformers import AutoModelForSequenceClassification, AutoTokenizer, pipeline

repo_id = "thunder121x/thai-gender-bias-classifier-minilm"

tokenizer = AutoTokenizer.from_pretrained(repo_id)
model = AutoModelForSequenceClassification.from_pretrained(repo_id)

classifier = pipeline("text-classification", model=model, tokenizer=tokenizer)
print(classifier("ผู้หญิงขับรถไม่เก่ง"))

Notes

This repository contains the final exported model. Local trainer checkpoint directories are intentionally excluded from upload because they contain optimizer and scheduler state for resuming training.

Authors

  • —Nanphat Tongsirisukool — nanphatx@hotmail.com
  • —Natcha Trairattanasak — pnbookclub@gmail.com