Literature · hkqiu
PolymerGenerationPretrainedModel
A pretrained language model that generates polymer structures from fifteen specified chemical properties.
What PolymerGenerationPretrainedModel is
PolymerGenerationPretrainedModel is the pretrained release of PolyTAO, a generative language model for polymer design developed by Haoke Qiu and Zhao-Yan Sun. It is built to carry out reverse design of polymers by generating molecular structures conditioned on target descriptors.
The model assists computational chemists and materials scientists by generating candidate polymer structures that match a user-specified set of 15 predefined structural and physicochemical properties.
How it works
The model uses a T5 sequence-to-sequence transformer architecture implemented in PyTorch and Hugging Face Transformers. It takes a comma-separated string of 15 numerical property values as an input prompt and produces a text completion representing the generated polymer.
Key facts
- Base architecture
- T5
- Input format
- Text (comma-separated list of 15 property values)
- Output format
- Text (polymer structure representation)
- GPU memory required
- 16 GB
- Frameworks
- PyTorch, Transformers
What you can use it for
- On-demand reverse polymer design
- Proposing new polymer candidates tailored to predefined molecular weight, ring count, and bond parameters.
- Property-conditioned structure generation
- Generating chemical structures that satisfy specific hydrogen-bonding acceptor and donor profiles alongside heteroatom counts.
- Macrocyclic and aromatic variation
- Generating polymers constrained by targeted numbers of aliphatic and aromatic carbocycles or heterocycles.
Run it here
No installation and no GPU of your own: fill in the inputs and it runs on our servers. Results stay in your browser unless you sign in.
Runs on On-demand GPU
Runs on our servers with on-demand compute. A first run needs time to load the model; active capacity can be reused and scales down when idle.Run this model
PolymerGenerationPretrainedModel
Strengths and limits
Good at
- Conditioned directly on 15 distinct physicochemical and topological descriptors.
- Simple prompt interface requiring only a comma-separated string of property values.
Watch out for
- Requires all 15 predefined molecular property values to be specified in the input string.
- Requires at least 16 GB of GPU memory to run.
Inputs and outputs
You provide
Prompt
The model continues from here.
You get back
The model's completion.
PolymerGenerationPretrainedModel API
The same run, from your own code: one HTTP request with an API key, billed in the same credits as the Run button. A fast run answers with its outputs; a longer one answers with a poll_url to read.
curl https://corollary-labs.com/api/v1/models/hkqiu-polymergenerationpretrainedmodel/runs \
-H "Authorization: Bearer $COROLLARY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"inputs": {
"text": "<Prompt>"
}
}'Make an API key, then read the models reference.
Licence
Commercial use permitted · apache-2.0
apache-2.0, as the repository declares it. Read by the catalogue intake on 2026-11-28.
Questions
Can I use PolymerGenerationPretrainedModel commercially?
Commercial use permitted. apache-2.0, as the repository declares it. Read by the catalogue intake on 2026-11-28.
How do I run PolymerGenerationPretrainedModel without installing anything?
Use the form under “Run it here” on this page: fill in the inputs and press Run model. It runs on our servers on CPU only, typically in 1.2min, and a run costs about 28 credits. Visitors without an account get 1,000 credits a month.
What 15 properties are required in the input prompt?
The model expects MolWt, HeavyAtomCount, NHOHCount, NOCount, NumAliphaticCarbocycles, NumAliphaticHeterocycles, NumAliphaticRings, NumAromaticCarbocycles, NumAromaticHeterocycles, NumAromaticRings, NumHAcceptors, NumHDonors, NumHeteroatoms, NumRotatableBonds, and RingCount.
What does an example input prompt look like?
An example prompt provided for the model is a comma-delimited numeric string such as '264,19,0,4,1,0,1,0,0,0,4,0,6,5,1'.
Which model architecture does PolyTAO use?
The model is based on the T5 transformer architecture for text-to-text generation.
How to cite it
Qiu, Haoke and Sun, Zhao-Yan. On-Demand Reverse Design of Polymers with PolyTAO. npj Computational Materials 10, no. 1 (2024): 273. https://doi.org/10.1038/s41524-024-01466-5
Written from PolymerGenerationPretrainedModel'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.
