Model Card for Model ID

Model Details

Model Description

This is the model card of a ๐Ÿค— transformers model that has been pushed on the Hub. This model card has been automatically generated.

  • Developed by: [Zhi Huang (Sichuan university)]
  • Funded by [optional]: [More Information Needed]
  • Shared by [optional]: [Zhi Huang]
  • Model type: [Classification]
  • Language(s) (NLP): [NLP]
  • License: [Commercial use requires author's permission.]
  • Finetuned from model [optional]: [More Information Needed]

Model Sources [optional]

Uses

Direct Use

#It is best to use the isomeric SMILES of a compound as input to predict its toxicity. Use a pipeline as a high-level helper

from transformers import pipeline pipe = pipeline("text-classification", model="ML4chemistry/Toxicity_Prediction_of_Ames_test")

predict the toxicity of 4-(4-hydroxyphenyl)sulfonylphenol and 2-aminonaphthalene-1-sulfonic acid

pipe(['O=S(=O)(c1ccc(O)cc1)c1ccc(O)cc1','Nc1ccc2ccccc2c1S(=O)(=O)O'])#SMILES of 4-(4-hydroxyphenyl)sulfonylphenol,2-aminonaphthalene-1-sulfonic acid

#outputs:[{'label': 'LABEL_0', 'score': 0.9998965263366699},(0 represents non-toxicity) {'label': 'LABEL_1', 'score': 0.9995802044868469}],(1 represents toxicity)

Downloads last month
18
Safetensors
Model size
85.9M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support