• Stars
    star
    574
  • Rank 77,184 (Top 2 %)
  • Language
    Python
  • License
    MIT License
  • Created over 1 year ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Chemcrow

tests DOI:10.1101/2020.07.15.204701

ChemCrow logo



ChemCrow is an open source package for the accurate solution of reasoning-intensive chemical tasks.

Built with Langchain, it uses a collection of chemical tools including RDKit, paper-qa, as well as some relevant databases in chemistry, like Pubchem and chem-space.

🤗 Try it out in HuggingFace!

ChemCrow Demo

⚠️ Note

This package does not contain all the tools described in the ChemCrow paper because of API usage restrictions. This repo will not give the same results as that paper.

All the experiments have been released under ChemCrow runs.

👩‍💻 Installation

pip install chemcrow

🔥 Usage

First set up your API keys in your environment.

export OPENAI_API_KEY=your-openai-api-key

You can optionally use Serp API:

export SERP_API_KEY=your-serpapi-api-key

In a Python session:

from chemcrow.agents import ChemCrow

chem_model = ChemCrow(model="gpt-4-0613", temp=0.1, verbose=True)
chem_model.run("What is the molecular weight of tylenol?")

✅ Citation

Bran, Andres M., et al. "ChemCrow: Augmenting large-language models with chemistry tools." arXiv preprint arXiv:2304.05376 (2023).

@article{bran2023chemcrow,
      title={ChemCrow: Augmenting large-language models with chemistry tools}, 
      author={Andres M Bran and Sam Cox and Oliver Schilter and Carlo Baldassari and Andrew D White and Philippe Schwaller},
      year={2023},
      eprint={2304.05376},
      archivePrefix={arXiv},
      primaryClass={physics.chem-ph},
      publisher={arXiv}
}

More Repositories

1

exmol

Explainer for black box models that predict molecule properties
Jupyter Notebook
280
star
2

LLMs-in-science

129
star
3

md-agent

Molecular dynamics simulations with an LLM agent
Python
67
star
4

BO-LIFT

BayesOpt + LIFT
Jupyter Notebook
63
star
5

chemcrow-runs

Jupyter Notebook
62
star
6

wazy

Bayesian Optimization with Pretrained Protein Sequence Models
Jupyter Notebook
52
star
7

nmrgnn

Graph neural network for predicting NMR chemical shifts
Python
48
star
8

hoomd-tf

A plugin that allows the use of Tensorflow in Hoomd-Blue for GPU-accelerated ML+MD
Python
30
star
9

peptide-dashboard

Web cards/apps describing peptides
Jupyter Notebook
23
star
10

maxent

MaxEnt code for fitting simulation outcomes/statistical models to observations
Jupyter Notebook
16
star
11

mol.dev

Jupyter Notebook
14
star
12

nmrdata

Python
10
star
13

nlcc-data

Benchmark dataset and evaluation for large language models that generate code
Jupyter Notebook
10
star
14

alcfd

Active learning symbolic regression CFD + AI = Wow
Python
8
star
15

peptidesim

Automated peptide simulation tool with gromacs, gromacswrapper, plumed
Python
7
star
16

peptide-ai

Jupyter Notebook
6
star
17

simview

A VR/AR client for visualizing molecular dynamics with Unity, Hoomd
C#
4
star
18

fedchem

Python
4
star
19

mapping-graph

Python
4
star
20

joint-chem-space

Python
4
star
21

whitelab-slides

Our reveal.js slide template
CSS
3
star
22

parser-bench

Python
3
star
23

py0

Jupyter Notebook
3
star
24

library-analysis

Collaboration project with Rudi Fasan's group to implement a peptide library analysis tool in python and do QSAR modeling.
Python
2
star
25

docker-images

A suite of Docker images used for computational chemistry
Dockerfile
2
star
26

tutorials

Docker based tutorials for minimal biasing simulation methods
Python
2
star
27

peptide-qspr

Python
2
star
28

pu-peptides

Positive unlabeled screening with peptides
Jupyter Notebook
1
star
29

CG-Mapper

CG-Mapper is a webpage that takes in a SMILES string and shows a graphical representation that can be used to coarse grain molecules.
JavaScript
1
star
30

arc-graphics

C#
1
star