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
|
|
@ -17,12 +17,18 @@
|
|||
<p class="subtitle">Configure local toxicity filtering for supported sites.</p>
|
||||
<form id="settings">
|
||||
<div class="field">
|
||||
<label class="label" for="threshold">Toxicity threshold: <output id="threshold-value">80%</output></label>
|
||||
<label class="label" for="threshold">Category threshold: <output id="threshold-value">80%</output></label>
|
||||
<div class="control">
|
||||
<input class="slider is-fullwidth" id="threshold" type="range" min="0" max="1" step=".01">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<fieldset class="field">
|
||||
<legend class="label">Categories to filter</legend>
|
||||
<p class="help mb-2">A post is filtered when any selected category reaches the threshold.</p>
|
||||
<div id="enabled-labels" class="content"></div>
|
||||
</fieldset>
|
||||
|
||||
<div class="field">
|
||||
<label class="label" for="filter-mode">Filtering mode</label>
|
||||
<div class="control">
|
||||
|
|
@ -36,7 +42,7 @@
|
|||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label class="checkbox"><input id="show-score" type="checkbox"> Show toxicity score</label>
|
||||
<label class="checkbox"><input id="show-score" type="checkbox"> Show highest matching category score</label>
|
||||
</div>
|
||||
|
||||
<fieldset class="field">
|
||||
|
|
|
|||
Loading…
Reference in a new issue