Skip to content

Commit

Permalink
Be more explicit about how to install the models
Browse files Browse the repository at this point in the history
  • Loading branch information
ianroberts committed Sep 7, 2021
1 parent 42a55f2 commit cd48189
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pip
## Models

1. Download models from [the latest release of this repository](https://github.com/GateNLP/ToxicClassifier/releases/latest) (currently available `kaggle.tar.gz`, `olid.tar.gz`)
2. Decompress file inside `models/en/`
2. Decompress file inside `models/en/` (which will create `models/en/kaggle` or `models/en/olid` respectively)

## Basic Usage

Expand Down
2 changes: 1 addition & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The toxic and offensive classifiers are deployed on GATE Cloud via a two step pr

## Building the Python classifier images

The Python-based classifiers for toxic and offensive language can be built using the `./build.sh` script in this directory. The images are pushed to the GitHub container registry:
The Python-based classifiers for toxic (kaggle dataset) and offensive (olid dataset) language can be built using the `./build.sh` script in this directory. The relevant model files must be downloaded and unpacked in `../models` as described in [the main README](../README.md). The images are pushed to the GitHub container registry:

```
TAG=ghcr.io/gatenlp/toxicclassifier/toxic-classifier:latest ./build.sh en/kaggle Toxic
Expand Down

0 comments on commit cd48189

Please sign in to comment.