Replace toxicity model with multi-label classifier
This commit is contained in:
parent
803df7feee
commit
1568c787f8
24 changed files with 2581129 additions and 119717 deletions
|
|
@ -6,8 +6,7 @@ const result = (id: string): InferenceResult => ({
|
|||
requestId: id,
|
||||
id,
|
||||
textHash: id,
|
||||
label: "toxic",
|
||||
probability: .9,
|
||||
scores: { toxicity: .9, severe_toxicity: 0, obscene: 0, threat: 0, insult: 0, identity_attack: 0, sexual_explicit: 0 },
|
||||
navigationId: "nav"
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue