phobert-toxic-detection / inference_config.json
jayandy's picture
Upload PhoBERT toxic detection model
081259d verified
{
"random_seed": 42,
"phobert_model": "vinai/phobert-base-v2",
"max_length": 64,
"num_labels": 3,
"label_names": [
"CLEAN",
"OFFENSIVE",
"HATE"
],
"resource_paths": {
"bad_words": "/content/drive/MyDrive/AI_Code/Detect_Toxic_Cmt/resources/SensitiveWords_dic/bad_words.json",
"bad_words_politics": "/content/drive/MyDrive/AI_Code/Detect_Toxic_Cmt/resources/SensitiveWords_dic/bad_words_politics.json",
"teencode": "/content/drive/MyDrive/AI_Code/Detect_Toxic_Cmt/resources/TeenCode_dic/TeenCode_words.json"
},
"class_weights": [
0.40378233790397644,
4.953063488006592,
3.1101982593536377
]
}