In the interest of research and contribution into the performance of our language models, we release previous versions of our models for public use.
All models are licensed under the GPL-v3 license, and released on an as-is basis. We make no guarantee of the accuracy or performance of these models, and you implement them under the expectation that these models can potentially contain biases as a result of the training process.
wget https://moderatehatespeech.com/research/models/pyt_v2.pkl -O production.pklThe following weights are provided as FastAI (Pytorch) pickled weights. You should install requirements via:
pip3 install -r requirements.txt
To load the model, import the necessary classes from the mhs_imports.py file and load the model:
from mhs_imports import *
model = MHSPredictor("production.pkl")To run a inference:
model.predict("Testing, 123")Information on our training process can be found on our website