From ef428660d4878e48e792a1056a2d3abdc0c2d5d3 Mon Sep 17 00:00:00 2001 From: Kamal Choudhary Date: Fri, 9 Aug 2024 09:58:23 -0400 Subject: [PATCH 1/3] Update README.md --- README.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 57e317d..d041c10 100644 --- a/README.md +++ b/README.md @@ -51,12 +51,20 @@ python atomgpt/inverse_models/inverse_models.py --config_name atomgpt/examples/i More detailed examples/case-studies would be added here soon. # Google colab/Jupyter notebook -Examples for running AtomGPT is given in the [notebook](https://colab.research.google.com/github/knc6/jarvis-tools-notebooks/blob/master/jarvis-tools-notebooks/atomgpt_example.ipynb) -[![Open in Google Colab]](https://colab.research.google.com/github/knc6/jarvis-tools-notebooks/blob/master/jarvis-tools-notebooks/atomgpt_example.ipynb) + + +| Notebooks | Google Colab | Descriptions | +| ---------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [Forward/Inverse Model training](https://colab.research.google.com/github/knc6/jarvis-tools-notebooks/blob/master/jarvis-tools-notebooks/atomgpt_example.ipynb) | [![Open in Google Colab]](https://colab.research.google.com/github/knc6/jarvis-tools-notebooks/blob/master/jarvis-tools-notebooks/atomgpt_example.ipynb) | Example of installing AtomGPT, inverse model training for 5 sample materials, using the trained model for inference, relaxing structures with ALIGNN-FF, generating a database of atomic structures, train a forward prediction model. | +| [HuggingFace model inference](https://colab.research.google.com/github/knc6/jarvis-tools-notebooks/blob/master/jarvis-tools-notebooks/atomgpt_example_huggingface.ipynb) | [![Open in Google Colab]](https://colab.research.google.com/github/knc6/jarvis-tools-notebooks/blob/master/jarvis-tools-notebooks/atomgpt_example_huggingface.ipynb) | AtomGPT Structure Generation/Inference example with a model hosted on Huggingface. | + [Open in Google Colab]: https://colab.research.google.com/assets/colab-badge.svg -For other notebook example, see [here](https://github.com/JARVIS-Materials-Design/jarvis-tools-notebooks) + + + +For similar other notebook examples, see [JARVIS-Tools-Notebook Collection](https://github.com/JARVIS-Materials-Design/jarvis-tools-notebooks) @@ -66,7 +74,8 @@ For other notebook example, see [here](https://github.com/JARVIS-Materials-Desig 1. [AtomGPT: Atomistic Generative Pretrained Transformer for Forward and Inverse Materials Design](https://pubs.acs.org/doi/full/10.1021/acs.jpclett.4c01126) 2. [ChemNLP: A Natural Language Processing based Library for Materials Chemistry Text Data](https://github.com/usnistgov/chemnlp) 3. [JARVIS-Leaderboard](https://pages.nist.gov/jarvis_leaderboard) - +4. [NIST-JARVIS Infrastructure](https://jarvis.nist.gov/) + How to contribute ----------------- From f8e6d0ffd54c345b33a54f88263423ca90c9a67f Mon Sep 17 00:00:00 2001 From: Kamal Choudhary Date: Fri, 9 Aug 2024 10:01:26 -0400 Subject: [PATCH 2/3] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d041c10..e74b15f 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,9 @@ More detailed examples/case-studies would be added here soon. For similar other notebook examples, see [JARVIS-Tools-Notebook Collection](https://github.com/JARVIS-Materials-Design/jarvis-tools-notebooks) +# HuggingFace link :hugs: +https://huggingface.co/knc6 # Referenes: From 4c20ddad7173a0064d1977631b30f541eebb53bd Mon Sep 17 00:00:00 2001 From: Kamal Choudhary Date: Fri, 9 Aug 2024 10:38:31 -0400 Subject: [PATCH 3/3] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index e74b15f..d890709 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,12 @@ pip install -q -r dev-requirements.txt pip install -q -e . ``` +As an alternate method, AtomGPT can also be installed using `pip` command as follows: +``` +pip install atomgpt +``` + + ## Forward model example (structure to property) Forwards model are used for developing surrogate models for atomic structure to property predictions. It requires text input which can be either the raw POSCAR type files or a text description of the material. After that, we can use Google-T5/ OpenAI GPT2 etc. models with customizing langauage head for accomplishing such a task. The description of a material is generated with [ChemNLP/describer](https://github.com/usnistgov/jarvis/blob/master/jarvis/core/atoms.py#L1567) function. If you turn [`convert`](https://github.com/usnistgov/atomgpt/blob/develop/atomgpt/forward_models/forward_models.py#L277) to `False`, you can also train on bare POSCAR files.