All models

Literature · knowledgator

IUPAC2SMILES-canonical-base

Translates IUPAC chemical names into canonical SMILES strings using an encoder-decoder language model.

What IUPAC2SMILES-canonical-base is

IUPAC2SMILES-canonical-base is a sequence-to-sequence language model developed by Knowledgator Engineering to translate chemical names formatted according to International Union of Pure and Applied Chemistry (IUPAC) conventions into Simplified Molecular Input Line Entry System (SMILES) strings. It is designed for researchers in chemistry, biology, and medicine who need to convert systematic and common chemical nomenclature into machine-readable molecular structures.

Chemical literature, patents, and biochemical databases frequently identify compounds solely by IUPAC names, which can be long and difficult to parse directly in computational chemistry workflows. By translating text names into canonical SMILES notations, the model enables automated ingestion of published compounds into virtual screening, molecular modelling, and chemical informatics pipelines.

How it works

The model is built on the multilingual T5 (mT5) sequence-to-sequence architecture with an attention mechanism. To handle chemical translation, the implementation uses separate, optimised tokenisers for the encoder (which processes IUPAC text) and the decoder (which generates SMILES tokens).

Training was conducted on 100 million SMILES-IUPAC pairs. The optimisation ran for two epochs with a learning rate of 0.00001 and a batch size of 512.

Key facts

Base architecture
mT5 (encoder-decoder with attention mechanism)
Model size
180 MB
Input format
IUPAC chemical names (English text)
Output format
Canonical SMILES strings
Training dataset size
100 million SMILES-IUPAC pairs
Accuracy
93.7%
BLEU-4 score
0.974

What you can use it for

Literature compound digitisation
Translates IUPAC names extracted from scientific papers and patent documents into canonical SMILES for inclusion in chemical registries.
Batch chemical name conversion
Processes large lists of chemical names in batches using the chemical-converters library to automate dataset preparation.
Cheminformatics pipeline integration
Converts systematic nomenclature into structural line notations ready for property prediction, molecular similarity searching, and docking pipelines.

Run it here

We list this model but cannot run it yet: its first test run here did not return a result, so it is tried again in a week.

Everything on this page still applies. Running it needs a loader for this repository, not a bigger machine.

Strengths and limits

Good at

  • Achieves 93.7% accuracy and a BLEU-4 score of 0.974 on translation benchmarks.
  • Outperforms the reported 68.47% accuracy of STOUT V2.0 on equivalent translation tasks.
  • Uses distinct tokenisers for the encoder and decoder to better represent IUPAC nomenclature and SMILES strings.
  • Trained on a large dataset of 100 million chemical name-structure pairs.

Watch out for

  • For research use only: it is not a medical device and must not be used for diagnosis, treatment or any clinical decision.
  • Accuracy decreases when processing large chemical molecules.
  • Does not support the generation of isomeric SMILES to capture stereochemistry.
  • Does not support isotopic SMILES for labelled compounds.

Inputs and outputs

You provide

  • Prompt

    The model continues from here.

You get back

  • The model's completion.

Licence

Check the licence before commercial use · apache-2.0

The apache-2.0 licence carries terms worth reading before you depend on it.

Questions

Can I use IUPAC2SMILES-canonical-base commercially?

Check the licence before commercial use. The apache-2.0 licence carries terms worth reading before you depend on it.

Does this model capture stereocentres or isotopic labelling?

No. The model currently does not support isomeric or isotopic SMILES, producing only canonical non-stereospecific representations.

How does the base model compare to the small model variant?

The base model achieves 93.7% accuracy and a BLEU-4 score of 0.974 with a model size of 180 MB, whereas IUPAC2SMILES-canonical-small achieves 88.9% accuracy and a 0.966 BLEU-4 score at 23 MB.

Can the model process chemical names in batches?

Yes. Through the chemical-converters Python library, it supports batched translation by specifying batch size and beam search parameters.

Written from IUPAC2SMILES-canonical-base's own documentation (model card). Statements citing a figure that does not appear there are removed before publication. Licence and running details come from our registry.