ZJU-Fangyin
commited on
Commit
•
97103f4
1
Parent(s):
dd69124
Create README.md
Browse files
README.md
CHANGED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- chemistry
|
5 |
+
- biology
|
6 |
+
- molecule
|
7 |
+
- instructions
|
8 |
+
---
|
9 |
+
This repo contains a low-rank adapter for LLaMA-7b fit on the 🧪 [Mol-Instructions](https://huggingface.co/datasets/zjunlp/Mol-Instructions) dataset.
|
10 |
+
|
11 |
+
|
12 |
+
Instructions for running it can be found at https://github.com/zjunlp/Mol-Instructions.
|
13 |
+
|
14 |
+
|
15 |
+
<h3> 🔬 Tasks</h3>
|
16 |
+
|
17 |
+
|
18 |
+
<details>
|
19 |
+
<summary><b>Molecule description generation</b></summary>
|
20 |
+
|
21 |
+
- *Please give me some details about this molecule:*
|
22 |
+
[C][C][C][C][C][C][C][C][C][C][C][C][C][C][C][C][C][C][=Branch1][C][=O][O][C@H1][Branch2][Ring1][=Branch1][C][O][C][=Branch1][C][=O][C][C][C][C][C][C][C][C][C][C][C][C][C][C][C][C][O][P][=Branch1][C][=O][Branch1][C][O][O][C][C@@H1][Branch1][=Branch1][C][=Branch1][C][=O][O][N]
|
23 |
+
|
24 |
+
```
|
25 |
+
The molecule is a 3-sn-phosphatidyl-L-serine in which the phosphatidyl acyl groups at positions 1 and 2 are specified as stearoyl and arachidonoyl respectively.
|
26 |
+
It is functionally related to an arachidonic acid and an octadecanoic acid.
|
27 |
+
```
|
28 |
+
</details>
|
29 |
+
|
30 |
+
<details>
|
31 |
+
<summary><b>Description-guided molecule design</b></summary>
|
32 |
+
|
33 |
+
- *Create a molecule with the structure as the one described:*
|
34 |
+
The molecule is a primary arylamine in which an amino functional group is substituted for one of the benzene hydrogens. It is a primary arylamine and a member of anilines.
|
35 |
+
|
36 |
+
```
|
37 |
+
[N][C][=C][C][=C][C][=C][Ring1][=Branch1]
|
38 |
+
```
|
39 |
+
</details>
|
40 |
+
|
41 |
+
<details>
|
42 |
+
<summary><b>Forward reaction prediction</b></summary>
|
43 |
+
|
44 |
+
- *With the provided reactants and reagents, propose a potential product:*
|
45 |
+
[O][=N+1][Branch1][C][O-1][C][=C][N][=C][Branch1][C][Cl][C][Branch1][C][I][=C][Ring1][Branch2].[Fe]
|
46 |
+
|
47 |
+
```
|
48 |
+
[N][C][=C][N][=C][Branch1][C][Cl][C][Branch1][C][I][=C][Ring1][Branch2]
|
49 |
+
```
|
50 |
+
</details>
|
51 |
+
|
52 |
+
<details>
|
53 |
+
<summary><b>Retrosynthesis</b></summary>
|
54 |
+
|
55 |
+
- *Please suggest potential reactants used in the synthesis of the provided product:*
|
56 |
+
[C][=C][C][C][N][C][=Branch1][C][=O][O][C][Branch1][C][C][Branch1][C][C][C]
|
57 |
+
|
58 |
+
```
|
59 |
+
[C][=C][C][C][N].[C][C][Branch1][C][C][Branch1][C][C][O][C][=Branch1][C][=O][O][C][=Branch1][C][=O][O][C][Branch1][C][C][Branch1][C][C][C]
|
60 |
+
```
|
61 |
+
</details>
|
62 |
+
|
63 |
+
|
64 |
+
<details>
|
65 |
+
<summary><b>Reagent prediction</b></summary>
|
66 |
+
|
67 |
+
- *Please provide possible reagents based on the following chemical reaction:*
|
68 |
+
[C][C][=C][C][=C][Branch1][C][N][C][=N][Ring1][#Branch1].[O][=C][Branch1][C][Cl][C][Cl]>>[C][C][=C][C][=C][Branch1][Branch2][N][C][=Branch1][C][=O][C][Cl][C][=N][Ring1][O]
|
69 |
+
|
70 |
+
```
|
71 |
+
[C][C][C][O][C][Ring1][Branch1].[C][C][N][Branch1][Ring1][C][C][C][C].[O]
|
72 |
+
```
|
73 |
+
</details>
|
74 |
+
|
75 |
+
<details>
|
76 |
+
<summary><b>Property prediction</b></summary>
|
77 |
+
|
78 |
+
- *Please provide the HOMO energy value for this molecule:*
|
79 |
+
[C][C][O][C][C][Branch1][C][C][C][Branch1][C][C][C]
|
80 |
+
|
81 |
+
```
|
82 |
+
-0.2482
|
83 |
+
```
|
84 |
+
</details>
|
85 |
+
|
86 |
+
|
87 |
+
<h3> 🚨 Limitations</h3>
|
88 |
+
|
89 |
+
The current state of the model, obtained via instruction tuning, is a preliminary demonstration. Its capacity to handle real-world, production-grade tasks remains limited.
|
90 |
+
|
91 |
+
<h3> 📚 References</h3>
|
92 |
+
If you use our repository, please cite the following related paper:
|
93 |
+
|
94 |
+
```
|
95 |
+
@article{molinst,
|
96 |
+
author = {Yin Fang, Xiaozhuan Liang, Ningyu Zhang, Kangwei Liu, Rui Huang, Zhuo Chen, Xiaohui Fan and Huajun Chen},
|
97 |
+
title = {Mol-Instructions: A Large-Scale Biomolecular Instruction Dataset for Large Language Models},
|
98 |
+
journal = {arXiv preprint}
|
99 |
+
year = {2023},
|
100 |
+
}
|
101 |
+
```
|
102 |
+
|
103 |
+
<h3 id="5-2"> 🫱🏻🫲🏾 5.2 Acknowledgements</h3>
|
104 |
+
|
105 |
+
We appreciate [LLaMA](https://github.com/facebookresearch/llama), [Huggingface Transformers Llama](https://github.com/huggingface/transformers/tree/main/src/transformers/models/llama), [Alpaca](https://crfm.stanford.edu/2023/03/13/alpaca.html), [Alpaca-LoRA](https://github.com/tloen/alpaca-lora), [Chatbot Service](https://github.com/deep-diver/LLM-As-Chatbot) and many other related works for their open-source contributions.
|