SkillAgentSearch skills...

Molencoder

Molecular AutoEncoder in PyTorch

Install / Use

/learn @cxhernandez/Molencoder
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

MolEncoder

Molecular AutoEncoder in PyTorch

Install

$ git clone https://github.com/cxhernandez/molencoder.git && cd molencoder
$ python setup.py install

Download Dataset

$ molencoder download --dataset chembl22

Train

$ molencoder train --dataset data/chembl22.h5

Add --cuda flag to enable CUDA. Add --cont to continue training a model from a checkpoint file.

Pre-Trained Model

A pre-trained reference model is available in the ref/ directory. Currently, it performs with ~98% accuracy on the validation set after 100 epochs of training. However, if you succeed at training a better model, feel free to submit a pull request!

TODO

  • [x] Implement encoder
  • [x] Implement decoder
  • [x] Add download command
  • [x] Add train command
  • [ ] Add encode command
  • [ ] Add decode command
  • [x] Add pre-trained model

Shoutouts

Related Skills

View on GitHub
GitHub Stars92
CategoryEducation
Updated2mo ago
Forks18

Languages

Python

Security Score

100/100

Audited on Jan 16, 2026

No findings