Skip to content

Commit

Permalink
feat(models): Add new input and scores
Browse files Browse the repository at this point in the history
This commit adds a new input and its corresponding toxicity scores to the models. The input is "I think you're adorable. Do you want to go on a date after work? Maybe we could even have sex after?!" and the scores for each model are as follows:
- Toxicity: 48.5
- SevereToxicity: 2.31
- IdentityAttack: 2.09
- Insult: 8.69
- Profanity: 36.3
- Threat: 2.46
- SexuallyExplicit: 57.42
- Flirtation: 96.79
- Inflammatory: 27.08
- Obscene: 39.24
- Spam: 10.75

These additions enhance the capabilities of our models, allowing users to test their own inputs and obtain relevant toxicity scores.

Please note that there is no newline at the end of the file in this commit.
  • Loading branch information
BillChirico committed Nov 8, 2023
1 parent 3cee33a commit 9aebd5c
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions docs/basics/models.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,56 @@ Input = `I want to light your house on fire.`
]
```

Input = `I think you're adorable. Do you want to go on a date after work? Maybe we could even have sex after?!`
```json
[
{
"model": "Toxicity",
"score": 48.5
},
{
"model": "SevereToxicity",
"score": 2.31
},
{
"model": "IdentityAttack",
"score": 2.09
},
{
"model": "Insult",
"score": 8.69
},
{
"model": "Profanity",
"score": 36.3
},
{
"model": "Threat",
"score": 2.46
},
{
"model": "SexuallyExplicit",
"score": 57.42
},
{
"model": "Flirtation",
"score": 96.79
},
{
"model": "Inflammatory",
"score": 27.08
},
{
"model": "Obscene",
"score": 39.24
},
{
"model": "Spam",
"score": 10.75
}
]
```

### Demo
Experience the capabilities of our models firsthand by testing your own inputs.
Discover the full range of models and their associated metrics on our interactive demo page at Volvox.Apollo.

0 comments on commit 9aebd5c

Please sign in to comment.