Skip to content
This repository has been archived by the owner on Feb 11, 2024. It is now read-only.

zistabar/detox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

detox

Identification and classification of toxic comments using machine learning techniques.

Links to the pre-trained models used in the application:

Place the pre-trained models in the following directory: /pretrained-models/*.

A container with the created model and REST API that returns predictions for a given comment is in the following repository: https://hub.docker.com/r/zista/detox-comments-v1.1. To run the container locally, run the following command:

sudo docker run -p 5000:5000 zista/detox-comments-v1.1:azure-deploy

An example request that the created REST API can take to predict a comment looks as follows:

curl --location --request POST 'http://detox-comments.azurewebsites.net/detox/api/comment' \
--header 'Content-Type: application/json' \
--data-raw '{
    "comment": "Foo bar"
}'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages