OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Molclr

MolCLR is an open-source Python framework that uses contrastive learning and graph neural networks to learn molecular representations from unlabeled data, with code and pretrained models for fine-tuning on molecular property-prediction benchmarks.

Independent OpenViST project profile, based on linked sources.

Molclr — Research workflows that train graph neural networks on molecular datasets
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use MolCLR when you need a self-hosted research codebase for contrastive molecular representation pre-training or benchmark fine-tuning, and can work with its documented Python, PyTorch, CUDA, and molecular-data setup.

Who it is for

  • Chemistry and computational research teams training molecular graph neural networks.
  • Researchers evaluating learned molecular representations on property-prediction benchmarks.

Documented uses

  • Pre-train graph neural networks on unlabeled molecular data.
  • Fine-tune a pretrained model for downstream molecular-property benchmarks.
  • Use the provided GCN or GIN checkpoints as starting models.
  • Monitor training logs with TensorBoard.
Before you choose

Requirements & limits

The repository is public and identifies its license as MIT.

  • The documented setup pins older versions, including Python 3.7, PyTorch 1.7.1, PyTorch Geometric 1.6.3, and RDKit 2020.09.1.0.
  • The README describes local command-line training rather than a hosted prediction interface.
  • Pre-training and fine-tuning are controlled by separate YAML configuration files and scripts.
  • Pretrained GCN and GIN checkpoints are included in repository checkpoint directories.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Set up the MolCLR environment and repository

Create the documented Conda environment, install listed dependencies, and clone the codebase.

Before you start

  • Conda
  • Python 3.7 environment
  • CUDA 11.0 PyTorch packages as specified in the README

Steps

  1. Create and activate a Conda environment named molclr with Python 3.7.

  2. Install the specified PyTorch and torchvision CUDA packages, followed by PyTorch Geometric, torch-sparse, torch-scatter, and PyYAML.

  3. Install RDKit 2020.09.1.0 and TensorBoard from conda-forge; NVIDIA Apex is optional.

  4. Clone https://github.com/yuyangw/MolCLR.git and change into the MolCLR directory.

Expected outcome

The documented environment and cloned repository are prepared for the dataset and training stages described in the README.

Guide limitations

  • This setup guide does not cover dataset acquisition, training execution, or compatibility with other software versions or hardware.
Source-based practical guide

Prepare the documented training data

Place the paper’s pre-training data and benchmark datasets in the repository’s expected data directory.

Before you start

  • The MolCLR repository
  • The downloadable pre-training and benchmark archive referenced by the README

Steps

  1. Download the pre-training data and benchmarks using the link in the README.

  2. Extract the archive under the repository’s ./data folder.

  3. Use pubchem-10m-clean.txt for pre-training; benchmark databases are organized under their benchmark names.

Expected outcome

The README-described data files are arranged under ./data for the separately documented pre-training and fine-tuning stages.

Guide limitations

  • The README does not describe data validation or processing steps beyond downloading and extracting the archive.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
20 November 2026
Original website title
yuyangw/MolCLR · Official homepage title · retained in its source language