Skip to content

jason9693/SoongsilBERT-base-beep-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SoongsilBERT:BEEP!

Run on Ainize

한국어 혐오성 게시글 분류모델.

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"
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published