Skip to content

Toxicity classifier demo showing different result with figure in readme. #1342

@happyhj

Description

@happyhj

TensorFlow.js version

1.0.0

Browser version

Version 72.0.3626.121 (Official Build) (64-bit)

Describe the problem

Toxicity classifier demo showing different result with figure in readme.
Below the image is from the readme.

screen shot 2019-03-07 at 3 06 19 pm

In the image, input text "now join the anti gay hitler rebellion now!" results toxicity and identity flag positive.

https://storage.googleapis.com/tfjs-models/demos/toxicity/index.html
But on the demo page, typing input text with "now join the anti gay hitler rebellion now!" makes every flag "negative".

I think the mismatch between this picture and the demo will cause confusion.

Code to reproduce the bug / link to feature request

  1. Visit https://storage.googleapis.com/tfjs-models/demos/toxicity/index.html
  2. Type "now join the anti gay hitler rebellion now!" on the input area.
  3. Click "classify" button.
  4. Will show result like following image. screen shot 2019-03-07 at 3 06 19 pm

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions