SoongsilBERT-base-beep-deploy
SoongsilBERT-base-beep-deploy copied to clipboard
SoongsilBERT:BEEP!
한국어 혐오성 게시글 분류모델.
How to use
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=제정신이냐?"
Post parameter
text: 분류할 텍스트
Output format
# Logits
{
"dpstring": [],
"result": {
"Default": 0.052083078771829605,
"Hate": 0.029860498383641243,
"Offensive": 0.9180563688278198
}
}
# Class
{
"dpstring": "공격발언",
"result": "1"
}
* With CLI *
Types: logits (confidence rate)
Input example
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=제정신이냐?"
Output example
{
"dpstring": [],
"result": {
"Default": 0.052083078771829605,
"Hate": 0.029860498383641243,
"Offensive": 0.9180563688278198
}
}
Types: class
Input example
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=제정신이냐?"
Output example
{
"dpstring": "공격발언",
"result": "1"
}