Aurigene-AI / ReactionT5v2-retrosynthesis

huggingface.co
Total runs: 88
24-hour runs: -5
7-day runs: -14
30-day runs: -128
Model's Last Updated: September 10 2026
text-generation

Introduction of ReactionT5v2-retrosynthesis

Model Details of ReactionT5v2-retrosynthesis

Mirrored by Aurigene AI

Discovery stage: Synthesis planning

Single-step retrosynthesis: product SMILES in, plausible reactants out. Chain it with the forward model to score a proposed route.

Upstream: sagawa/ReactionT5v2-retrosynthesis - all credit to the original authors; the model card and licence below are theirs.

Explore the rest of the catalogue: Molecule Explorer - Protein Target Explorer - Drug Discovery Model Hub


Model Card for ReactionT5v2-retrosynthesis

This is a ReactionT5 pre-trained to predict the reactants of reactions. You can use the demo here .

Model Sources
Uses

You can use this model for retrosynthesis prediction or fine-tune this model with your dataset.

How to Get Started with the Model

Use the code below to get started with the model.

from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

tokenizer = AutoTokenizer.from_pretrained("sagawa/ReactionT5v2-retrosynthesis", return_tensors="pt")
model = AutoModelForSeq2SeqLM.from_pretrained("sagawa/ReactionT5v2-retrosynthesis")

inp = tokenizer('CCN(CC)CCNC(=S)NC1CCCc2cc(C)cnc21', return_tensors='pt')
output = model.generate(**inp, num_beams=1, num_return_sequences=1, return_dict_in_generate=True, output_scores=True)
output = tokenizer.decode(output['sequences'][0], skip_special_tokens=True).replace(' ', '').rstrip('.')
output # 'CCN(CC)CCN=C=S.Cc1cnc2c(c1)CCCC2N'
Training Details
Training Procedure

We used the Open Reaction Database (ORD) dataset for model training. In addition, we used USPTO_50k dataset 's test split to prevent data leakage. The command used for training is the following. For more information about data preprocessing and training, please refer to the paper and GitHub repository.

cd task_retrosynthesis
python train.py \
    --output_dir='t5' \
    --epochs=80 \
    --lr=2e-4 \
    --batch_size=32 \
    --input_max_len=100 \
    --target_max_len=150 \
    --weight_decay=0.01 \
    --evaluation_strategy='epoch' \
    --save_strategy='epoch' \
    --logging_strategy='epoch' \
    --train_data_path='../data/preprocessed_ord_train.csv' \
    --valid_data_path='../data/preprocessed_ord_valid.csv' \
    --test_data_path='../data/preprocessed_ord_test.csv' \
    --USPTO_test_data_path='../data/USPTO_50k/test.csv' \
    --pretrained_model_name_or_path='sagawa/CompoundT5'
Results
Model Training set Test set Top-1 [% acc.] Top-2 [% acc.] Top-3 [% acc.] Top-5 [% acc.]
Sequence-to-sequence USPTO_50k USPTO_50k 37.4 - 52.4 57.0
Molecular Transformer USPTO_50k USPTO_50k 43.5 - 60.5 -
SCROP USPTO_50k USPTO_50k 43.7 - 60.0 65.2
T5Chem USPTO_50k USPTO_50k 46.5 - 64.4 70.5
CompoundT5 USPTO_50k USPTO_50k 44,2 55.2 61.4 67.3
ReactionT5 (This model) - USPTO_50k 13.8 18.6 21.4 26.2
ReactionT5 USPTO_50k USPTO_50k 71.2 81.4 84.9 88.2

Performance comparison of Compound T5, ReactionT5, and other models in product prediction.

Citation
@article{Sagawa2025,
  title   = {ReactionT5: a pre-trained transformer model for accurate chemical reaction prediction with limited data},
  author  = {Sagawa, Tatsuya and Kojima, Ryosuke},
  journal = {Journal of Cheminformatics},
  year    = {2025},
  volume  = {17},
  number  = {1},
  pages   = {126},
  doi     = {10.1186/s13321-025-01075-4},
  url     = {https://doi.org/10.1186/s13321-025-01075-4}
}

Runs of Aurigene-AI ReactionT5v2-retrosynthesis on huggingface.co

88
Total runs
-5
24-hour runs
-10
3-day runs
-14
7-day runs
-128
30-day runs

More Information About ReactionT5v2-retrosynthesis huggingface.co Model

More ReactionT5v2-retrosynthesis license Visit here:

https://choosealicense.com/licenses/mit

ReactionT5v2-retrosynthesis huggingface.co

ReactionT5v2-retrosynthesis huggingface.co is an AI model on huggingface.co that provides ReactionT5v2-retrosynthesis's model effect (), which can be used instantly with this Aurigene-AI ReactionT5v2-retrosynthesis model. huggingface.co supports a free trial of the ReactionT5v2-retrosynthesis model, and also provides paid use of the ReactionT5v2-retrosynthesis. Support call ReactionT5v2-retrosynthesis model through api, including Node.js, Python, http.

ReactionT5v2-retrosynthesis huggingface.co Url

https://huggingface.co/Aurigene-AI/ReactionT5v2-retrosynthesis

Aurigene-AI ReactionT5v2-retrosynthesis online free

ReactionT5v2-retrosynthesis huggingface.co is an online trial and call api platform, which integrates ReactionT5v2-retrosynthesis's modeling effects, including api services, and provides a free online trial of ReactionT5v2-retrosynthesis, you can try ReactionT5v2-retrosynthesis online for free by clicking the link below.

Aurigene-AI ReactionT5v2-retrosynthesis online free url in huggingface.co:

https://huggingface.co/Aurigene-AI/ReactionT5v2-retrosynthesis

ReactionT5v2-retrosynthesis install

ReactionT5v2-retrosynthesis is an open source model from GitHub that offers a free installation service, and any user can find ReactionT5v2-retrosynthesis on GitHub to install. At the same time, huggingface.co provides the effect of ReactionT5v2-retrosynthesis install, users can directly use ReactionT5v2-retrosynthesis installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

ReactionT5v2-retrosynthesis install url in huggingface.co:

https://huggingface.co/Aurigene-AI/ReactionT5v2-retrosynthesis

Url of ReactionT5v2-retrosynthesis

ReactionT5v2-retrosynthesis huggingface.co Url

Provider of ReactionT5v2-retrosynthesis huggingface.co

Aurigene-AI
ORGANIZATIONS

Other API from Aurigene-AI

huggingface.co

Total runs: 71
Run Growth: -68
Growth Rate: -95.77%
Updated:September 10 2026
huggingface.co

Total runs: 21
Run Growth: -197
Growth Rate: -938.10%
Updated:September 10 2026