ToChiquinho is a toxicity detection system for Brazilian Portuguese texts based on the OLID-BR dataset.
ToChiquinho is available as a Docker image. To run it, you need to have Docker installed on your machine.
Then, you can run the following command:
docker run -p 5000:5000 dougtrajano/tochiquinho
ToChiquinho is a toxicity detection system with multiple tasks. You can parameterize the task that will be served by the API by setting the API_TASK
environment variable. The available tasks are:
all
: serves all tasks (default) - Warning: this task is not recommended for production environments.route
: serves the route task. This task is recommended for production environments.toxic_spans
: serves the toxic spans detection task.toxicity_target_type
: serves the toxicity target type identification task.toxicity_target
: serves the toxicity target classification task.toxicity_type
: serves the toxicity type detection task.toxicity
: serves the toxicity classification task.
See more in the Environment variables section.
Variable | Description | Default |
---|
See the GitHub Releases page for a history of notable changes to this project.
The project is licensed under the Apache 2.0 License.