InChI to IUPAC name machine learning model
<p>This is a machine learning model that predicts IUPAC names from InChI. It was trained on a dump of PubChem's database, and has a transformer encoder-decoder architecture.</p> <p><strong>Instructions</strong></p> <p>Requires:</p> <ul> <li>Python >= 3.6</li> <li>PyTorch == 1.6.0</li> </ul> <p>1. Install <a href="https://github.com/OpenNMT/OpenNMT-py/tree/2.0.0">OpenNMT-py</a> version 2.0.0:</p> <pre><code class="language-bash">pip install OpenNMT-py==2.0.0</code></pre> <p>2. Prepare InChI to be translated by splitting into individual characters separated by whitespace and saving in a text file. You can predict multiple IUPAC names by having one InChI per line (see example.inchi for reference).</p> <p>3. Perform the prediction with the supplied model file:</p> <pre><code class="language-bash">onmt_translate --beam_size 10 --length_penalty wu --alpha 1.0 --model inchi2iupac_step_259200.pt --src <infile> --max_length 300 --output <outfile></code></pre> <p> </p>
ShareScore
44/100
Overall dataset sharing score
Score breakdown
These five areas show where the dataset supports — or may limit — practical reuse.
- Stewardship
- 8
- Harmonization
- 4
- Access
- 16
- Reuse readiness
- 8
- Engagement
- 8