Building AI models to predict the toxicity of drug candidates