AI4PD / Mol2Pro-tokenizer

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: February 10 2026

Introduction of Mol2Pro-tokenizer

Model Details of Mol2Pro-tokenizer

Mol2Pro-tokenizer

Paper: Generalise or Memorise? Benchmarking Ligand-Conditioned Protein Generation from Sequence-Only Data
Tokenizer description

This repository provides the paired tokenizers used by Mol2Pro models:

  • smiles/ : tokenizer for molecule inputs (SMILES) used on the encoder side.
  • aa/ : tokenizer for protein sequence outputs used on the decoder side.

The two tokenizers are designed to be used together with the Mol2Pro sequence-to-sequence checkpoints (see the model card: AI4PD/Mol2Pro-base ).

Offset vocabulary

Mol2Pro uses an offset token-id scheme so that SMILES tokens and amino-acid tokens do not collide in id space. Avoids sharing embeddings for identical token strings.

  • The AA tokenizer uses its natural token id space.
  • The SMILES tokenizer vocabulary ids are offset above the AA vocabulary ids.
How to use
from transformers import AutoTokenizer

tokenizer_id = "AI4PD/Mol2Pro-tokenizer"

# Load tokenizers
tokenizer_mol = AutoTokenizer.from_pretrained(tokenizer_id, subfolder="smiles")
tokenizer_aa  = AutoTokenizer.from_pretrained(tokenizer_id, subfolder="aa")

# Example:
smiles = "CCO"
enc = tokenizer_mol(smiles, return_tensors="pt")
print("Encoder token ids:", enc.input_ids[0].tolist())
print("Encoder tokens:", tokenizer_mol.convert_ids_to_tokens(enc.input_ids[0]))

aa_text = tokenizer_aa.decode([0, 1, 2], skip_special_tokens=True)
print("Decoded protein sequence:", decoded)
Citation

If you find this work useful, please cite:

@article{VicenteSola2026Generalise,
  title   = {Generalise or Memorise? Benchmarking Ligand-Conditioned Protein Generation from Sequence-Only Data},
  author  = {Vicente-Sola, Alex and Dornfeld, Lars and Coines, Joan and Ferruz, Noelia},
  journal = {bioRxiv},
  year    = {2026},
  doi     = {10.64898/2026.02.06.704305},
}

Runs of AI4PD Mol2Pro-tokenizer on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About Mol2Pro-tokenizer huggingface.co Model

More Mol2Pro-tokenizer license Visit here:

https://choosealicense.com/licenses/apache-2.0

Mol2Pro-tokenizer huggingface.co

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

Mol2Pro-tokenizer huggingface.co Url

https://huggingface.co/AI4PD/Mol2Pro-tokenizer

AI4PD Mol2Pro-tokenizer online free

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

AI4PD Mol2Pro-tokenizer online free url in huggingface.co:

https://huggingface.co/AI4PD/Mol2Pro-tokenizer

Mol2Pro-tokenizer install

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

Mol2Pro-tokenizer install url in huggingface.co:

https://huggingface.co/AI4PD/Mol2Pro-tokenizer

Url of Mol2Pro-tokenizer

Mol2Pro-tokenizer huggingface.co Url

Provider of Mol2Pro-tokenizer huggingface.co

AI4PD
ORGANIZATIONS

Other API from AI4PD

huggingface.co

Total runs: 1.5K
Run Growth: 0
Growth Rate: 0.00%
Updated:March 11 2025
huggingface.co

Total runs: 11
Run Growth: 5
Growth Rate: 45.45%
Updated:June 23 2023
huggingface.co

Total runs: 7
Run Growth: 2
Growth Rate: 28.57%
Updated:February 10 2026
huggingface.co

Total runs: 3
Run Growth: -3
Growth Rate: -100.00%
Updated:June 16 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:October 16 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 19 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 23 2023