Unprofane

Map your Perspective thresholds to Unprofane

Give it texts with their old Perspective scores. It finds the threshold here that keeps your review queue the same size.

A text column and your old score column (what to upload). The file is read in this tab; nothing is sent until you press Run.

What to upload

A CSV in UTF-8 with two columns: the text, and the score Perspective gave it.

The text
A column named text: the comment as you sent it to Perspective.
The old score
Named score or after its attribute: toxicity, profanity, insult, threat, severe_toxicity, identity_attack or sexually_explicit.
No header
The first column is read as the text and the second as the score. Other columns are ignored.
Separators
Commas, semicolons or tabs. Put a text that contains one in double quotes.
sample.csv Download it
text,toxicity
"Thanks for the write-up, the second chart cleared it up for me.",0.02
"Scunthorpe United won again on Saturday.",0.06
"you are a clown and everyone here knows it",0.81
"this take is sh1t, did you even read the article?",0.74
"I disagree, but I see where you are coming from.",0.03
"shut up, nobody asked you",0.62
"Great recipe. I added more garlic, which was a mistake, ha.",0.04
"what an absolute f*cking idiot",0.95

Made up to show the format: every text and score in it was written for this page, not returned by Perspective.

Before you choose a file

What the old score must be

The probability Perspective returned for one attribute, from 0 to 1: for TOXICITY, attributeScores.TOXICITY.summaryScore.value. Use the attribute your thresholds were set on, one per file. A percentage is not read: divide it by 100 first, or the tool lists those rows as unusable.

The score here is Unprofane’s score, also from 0 to 1, on the engine’s own scale rather than fitted to Perspective’s. 0.8 there is not 0.8 here, which is why the tool maps a threshold instead of copying it.

Limits
  • The first 500 usable rows are checked. The tool says how many more it left out.
  • A text of up to 10,000 characters. A longer one is listed as unusable, not cut short.
  • A file of up to 5 MB.
  • The texts go in batches of up to 100, with a limit on batches per address each minute. If the tool asks you to wait, wait a minute and press Run again: it checks only the rows not yet answered.
  • It runs once you sign in, with one emailed link and no card. An account without a plan replays from its 100 free checks a month, counting only the rows the model reads (the rest are free); on a plan there is no limit.
What comes back

Before anything is sent, a preview: how the columns were read, how many rows will be checked, and each row that cannot be used, with its line and the reason. After Run, for each old threshold (0.50, 0.60, 0.70, 0.80, 0.90):

  • Flagged at it: the share of your texts the old threshold flagged.
  • Set ours to: the score here that flags about the same share.
  • Flagged at ours: the share that score flags. Texts tied at the cut can make it a little larger.
  • Same items flagged: of the texts the old threshold flagged, the share the new one flags too.
  • Agreement: the share of all texts on which the two agree, flagged or not. Mostly clean traffic makes it high whatever the thresholds do, so read it with Same items flagged.

Under the table, our mean score for each tenth of your old scores, and every row with both scores and the action here: allow, review or block. A row that could not be checked is listed with its line and the reason, and left out of the map. A text the model did not answer in time is scored by the rules alone, and the tool counts those.

How the texts are checked

Each text is checked as a comment under the standard policy in balanced mode, the API’s default, on the current engine version, which the results name. In balanced mode the rules answer a word or two they block outright, and every other text also goes to the model, as it would in production. See which mode.

Your file is read in this tab and never uploaded. When you press Run, the texts go to unprofane.com in batches, without the old scores, and come back as scores and actions. The results on the page go when you close the tab, and the checks count against the tool’s daily budget.

The same queue size is not the same accuracy

Matching the share your old threshold flagged keeps the review queue about the same size, so your moderators see no sudden flood or drought. It does not make the same decisions: two thresholds can flag the same number of comments and disagree on which ones, and Same items flagged shows by how much. Nor does it make them right: agreeing with Perspective repeats its mistakes along with its catches. The map is a starting point for the next step, not a replacement for it.

Check a threshold against your own decisions
  1. Take a sample your moderators have already decided: comments they removed and comments they approved, from the same places, languages and hours as your traffic, not only the ones Perspective flagged. The more removed comments it holds, the less one of them can swing the result.
  2. Check them with your own key and keep each item’s score: a test key answers 100 free checks a month, a live key as many as your plan does. Use the mode and policy you will run in production.
  3. For each candidate threshold, including the one this tool suggests, count the removed comments it catches and the approved comments it flags. Removed comments under the threshold are what it lets through; approved comments over it are the work it adds.
  4. Read the disagreements, not just the counts: the comments one threshold flags and the other does not show what each misses.
  5. Choose the threshold whose misses and extra reviews you can live with, and keep your Google key until the switch is done: it is the way back until Google’s service ends.

The field-by-field contract: Perspective API compatibility. Every client’s move: the migration hub.