All models

Literature · knowledgator

IUPAC2SMILES-canonical-small

A compact sequence-to-sequence model translating IUPAC chemical names into canonical SMILES strings.

What IUPAC2SMILES-canonical-small is

IUPAC2SMILES-canonical-small is a language model developed by Knowladgator Engineering to convert chemical nomenclature into computational structure representations. Specifically, it translates English chemical names following International Union of Pure and Applied Chemistry (IUPAC) conventions into canonical Simplified Molecular Input Line Entry System (SMILES) strings.

Chemical structures in literature, databases, and biomedical texts are frequently reported only as systematic or trivial chemical names, which cannot be directly interpreted by many computational chemistry tools. By providing an automated translation to canonical SMILES, the model supports programmatic workflows in chemistry, biology, and medicine.

How it works

The model is built on an encoder-decoder framework with an attention mechanism based on mT5. To handle the disparate vocabularies of natural language chemical nomenclature and molecular line notation, it incorporates an optimisation that applies distinct tokenizers to the encoder and decoder.

The network was trained on 100 million pairs of SMILES and IUPAC names. Training was conducted for two epochs using a batch size of 1024 and a learning rate of 0.0003.

Key facts

Model architecture
mT5 encoder-decoder with attention
Model size
23 MB
Input format
IUPAC chemical names (English text)
Output format
Canonical SMILES strings
Training data volume
100 million SMILES-IUPAC pairs
Reported accuracy
88.9%
BLEU-4 score
0.966

What you can use it for

Chemical nomenclature translation
Translates individual systematic or trivial IUPAC chemical names into canonical SMILES for downstream cheminformatics software.
Batch processing of chemical lists
Converts large inventories or arrays of compound names into standardised molecular strings using configurable batch sizes.
Literature compound extraction
Helps convert text-based chemical designations identified in medical and biological documents into machine-actionable chemical structures.

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

  • Requires only 23 MB of storage space, offering a lightweight alternative to larger translation models.
  • Achieves an 88.9% accuracy and a BLEU-4 score of 0.966 on benchmark evaluation.
  • Uses specialised, separated tokenizers for the encoder and decoder to better fit chemical text and structure notations.

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.
  • Exhibits limited translation accuracy when handling large molecular structures.
  • Does not support the generation of isomeric or isotopic SMILES representations.

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-small commercially?

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

What kind of SMILES representations does this model produce?

The model generates canonical SMILES, but it does not support isomeric or isotopic SMILES.

How does this model differ in architecture from standard sequence-to-sequence models?

While based on the mT5 encoder-decoder architecture with attention, it implements different tokenizers for the input encoder and the output decoder.

What training regime was used to train the model?

It was trained across two epochs on 100 million SMILES-IUPAC pairs using a learning rate of 0.0003 and a batch size of 1024.

How does its performance compare to the larger base version?

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

Written from IUPAC2SMILES-canonical-small'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.