한국어 혐오성 게시글 분류모델.
curl -X POST "https://master-soongsil-bert-base-beep-deploy-jason9693.endpoint.ainize.ai/predict/logits" -H "accept: application/json" -H "Content-Type: multipart/form-data" -F "text=제정신이냐?"
text: 분류할 텍스트
# Logits
{
"dpstring": [],
"result": {
"Default": 0.052083078771829605,
"Hate": 0.029860498383641243,
"Offensive": 0.9180563688278198
}
}
# Class
{
"dpstring": "공격발언",
"result": "1"
}
curl -X POST "https://master-soongsil-bert-base-beep-deploy-jason9693.endpoint.ainize.ai/predict/logits" -H "accept: application/json" -H "Content-Type: multipart/form-data" -F "text=제정신이냐?"
{
"dpstring": [],
"result": {
"Default": 0.052083078771829605,
"Hate": 0.029860498383641243,
"Offensive": 0.9180563688278198
}
}
curl -X POST "https://master-soongsil-bert-base-beep-deploy-jason9693.endpoint.ainize.ai/predict/class" -H "accept: application/json" -H "Content-Type: multipart/form-data" -F "text=제정신이냐?"
{
"dpstring": "공격발언",
"result": "1"
}