Update README.md
Browse files
README.md
CHANGED
@@ -162,7 +162,7 @@ task_categories:
|
|
162 |
---
|
163 |
|
164 |
![image.png](./OPI_logo.png)
|
165 |
-
#
|
166 |
|
167 |
## Dataset Update
|
168 |
The previous version of OPI dataset is based on the **release 2022_01** of UniProtKB/Swiss-Prot protein knowledgebase. At current, OPI is updated to contain the latest **release 2023_05**, which can be accessed via the dataset file [OPI_updated_160k.json](./OPI_DATA/OPI_updated_160k.json).
|
@@ -179,14 +179,18 @@ Reference:
|
|
179 |
- **Leaderboard:**
|
180 |
- **Point of Contact:**
|
181 |
|
182 |
-
### Dataset
|
183 |
|
184 |
Open Protein Instructions(OPI) is the initial part of Open Biology Instructions(OBI) project, together with the subsequent Open Molecule Instructions(OMI), Open DNA Instructions(ODI), Open RNA Instructions(ORI) and Open Single-cell Instructions (OSCI). OBI is a project which aims to fully leverage the potential ability of Large Language Models(LLMs), especially the scientific LLMs like Galactica, to facilitate research in AI for Life Science community. While OBI is still in an early stage, we hope to provide a starting point for the community to bridge LLMs and biological domain knowledge.
|
185 |
|
186 |
-
|
187 |
|
188 |
-
|
|
|
189 |
|
|
|
|
|
|
|
190 |
```
|
191 |
instruction:
|
192 |
What is the EC classification of the input protein sequence based on its biological function?
|
@@ -200,74 +204,74 @@ input:
|
|
200 |
output:
|
201 |
2.7.10.2
|
202 |
```
|
|
|
|
|
|
|
|
|
203 |
|
204 |
-
|
205 |
-
The OPI dataset folder structure is as follows:
|
206 |
```
|
207 |
./OPI_DATA/
|
208 |
-
|
209 |
-
β βββ
|
210 |
β β βββ test
|
211 |
-
β β β βββ
|
212 |
-
β β β
|
213 |
-
β β β βββ UniProtSeq_function_test.jsonl
|
214 |
β β βββ train
|
215 |
-
β β βββ
|
216 |
-
β
|
217 |
-
β βββ GO
|
218 |
β β βββ test
|
219 |
-
β β β
|
220 |
-
β β β βββ IDFilterSeq_go_test.jsonl
|
221 |
-
β β β βββ UniProtSeq_go_test.jsonl
|
222 |
β β βββ train
|
223 |
-
β β
|
224 |
-
β
|
225 |
-
β βββ Keywords
|
226 |
β βββ test
|
227 |
-
β β βββ
|
228 |
-
β β βββ IDFilterSeq_keywords_test.jsonl
|
229 |
-
β β βββ UniProtSeq_keywords_test.jsonl
|
230 |
β βββ train
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
β βββ gSymbol2Cancer
|
235 |
β β βββ test
|
236 |
-
β β β
|
|
|
|
|
237 |
β β βββ train
|
238 |
-
β β
|
239 |
-
β βββ
|
240 |
β β βββ test
|
241 |
-
β β β
|
|
|
|
|
242 |
β β βββ train
|
243 |
-
β β
|
244 |
-
β
|
245 |
β βββ test
|
246 |
-
β β
|
|
|
|
|
247 |
β βββ train
|
248 |
-
β
|
249 |
-
|
250 |
-
|
251 |
β βββ test
|
252 |
-
β β
|
253 |
-
β β βββ CLEAN_EC_number_price_test.jsonl
|
254 |
β βββ train
|
255 |
-
β
|
256 |
-
βββ
|
257 |
β βββ test
|
258 |
-
β β βββ
|
259 |
β βββ train
|
260 |
-
β βββ
|
261 |
-
|
262 |
βββ test
|
263 |
-
β
|
264 |
βββ train
|
265 |
-
βββ
|
266 |
```
|
267 |
|
268 |
-
## Dataset
|
269 |
|
270 |
-
The OPI dataset is curated on our own by extracting key information from [Swiss-Prot](https://www.uniprot.org/uniprotkb?facets=reviewed%3Atrue&query=%2A) database. The
|
271 |
![image.png](./OPI_data.png)
|
272 |
|
273 |
## License
|
|
|
162 |
---
|
163 |
|
164 |
![image.png](./OPI_logo.png)
|
165 |
+
# Open Protein Instructions (OPI)
|
166 |
|
167 |
## Dataset Update
|
168 |
The previous version of OPI dataset is based on the **release 2022_01** of UniProtKB/Swiss-Prot protein knowledgebase. At current, OPI is updated to contain the latest **release 2023_05**, which can be accessed via the dataset file [OPI_updated_160k.json](./OPI_DATA/OPI_updated_160k.json).
|
|
|
179 |
- **Leaderboard:**
|
180 |
- **Point of Contact:**
|
181 |
|
182 |
+
### Dataset Overview
|
183 |
|
184 |
Open Protein Instructions(OPI) is the initial part of Open Biology Instructions(OBI) project, together with the subsequent Open Molecule Instructions(OMI), Open DNA Instructions(ODI), Open RNA Instructions(ORI) and Open Single-cell Instructions (OSCI). OBI is a project which aims to fully leverage the potential ability of Large Language Models(LLMs), especially the scientific LLMs like Galactica, to facilitate research in AI for Life Science community. While OBI is still in an early stage, we hope to provide a starting point for the community to bridge LLMs and biological domain knowledge.
|
185 |
|
186 |
+
We are excited to announce the release of the OPI dataset, a curated collection of instructions covering 9 tasks for adapting LLMs to protein biology. The dataset is designed to advance LLM-driven research in the field of protein biology. We welcome contributions and enhancements to this dataset from the community.
|
187 |
|
188 |
+
**Accessing the OPI dataset:**
|
189 |
+
The OPI dataset is organized into the three subfoldersβAP, KM, and SUβby in the [OPI_DATA](./OPI_DATA/) directory within this repository, where you can find a subset for each specific task as well as the full dataset file: [OPI_full_1.61M_train.json](./OPI_DATA/OPI_full_1.61M_train.json). f you want to merge all or several training data files of the tasks into one single training data file, please do like this:
|
190 |
|
191 |
+
## Dataset Examples
|
192 |
+
|
193 |
+
**An example of OPI training data:**
|
194 |
```
|
195 |
instruction:
|
196 |
What is the EC classification of the input protein sequence based on its biological function?
|
|
|
204 |
output:
|
205 |
2.7.10.2
|
206 |
```
|
207 |
+
- **An example of OPI testing data:**
|
208 |
+
```
|
209 |
+
{"id": "seed_task_0", "name": "EC number of price dataset from CLEAN", "instruction": "Return the EC number of the protein sequence.", "instances": [{"input": "MAIPPYPDFRSAAFLRQHLRATMAFYDPVATDASGGQFHFFLDDGTVYNTHTRHLVSATRFVVTHAMLYRTTGEARYQVGMRHALEFLRTAFLDPATGGYAWLIDWQDGRATVQDTTRHCYGMAFVMLAYARAYEAGVPEARVWLAEAFDTAEQHFWQPAAGLYADEASPDWQLTSYRGQNANMHACEAMISAFRATGERRYIERAEQLAQGICQRQAALSDRTHAPAAEGWVWEHFHADWSVDWDYNRHDRSNIFRPWGYQVGHQTEWAKLLLQLDALLPADWHLPCAQRLFDTAVERGWDAEHGGLYYGMAPDGSICDDGKYHWVQAESMAAAAVLAVRTGDARYWQWYDRIWAYCWAHFVDHEHGAWFRILHRDNRNTTREKSNAGKVDYHNMGACYDVLLWALDAPGFSKESRSAALGRP", "output": "5.3.1.7"}], "is_classification": false}
|
210 |
+
```
|
211 |
|
212 |
+
## OPI Dataset Folder Structure
|
|
|
213 |
```
|
214 |
./OPI_DATA/
|
215 |
+
βββ SU
|
216 |
+
β βββ EC_number
|
217 |
β β βββ test
|
218 |
+
β β β βββ CLEAN_EC_number_new_test.jsonl
|
219 |
+
β β β βββ CLEAN_EC_number_price_test.jsonl
|
|
|
220 |
β β βββ train
|
221 |
+
β β βββ CLEAN_EC_number_train.json
|
222 |
+
β βββ Fold_type
|
|
|
223 |
β β βββ test
|
224 |
+
β β β βββ fold_type_test.jsonl
|
|
|
|
|
225 |
β β βββ train
|
226 |
+
β β βββ fold_type_train.json
|
227 |
+
β βββ Subcellular_localization
|
|
|
228 |
β βββ test
|
229 |
+
β β βββ subcell_loc_test.jsonl
|
|
|
|
|
230 |
β βββ train
|
231 |
+
βββ subcell_loc_train.json
|
232 |
+
βββ AP
|
233 |
+
β βββ Keywords
|
|
|
234 |
β β βββ test
|
235 |
+
β β β βββ CASPSimilarSeq_keywords_test.jsonl
|
236 |
+
β β β βββ IDFilterSeq_keywords_test.jsonl
|
237 |
+
β β β βββ UniProtSeq_keywords_test.jsonl
|
238 |
β β βββ train
|
239 |
+
β β βββ keywords_train.json
|
240 |
+
β βββ GO
|
241 |
β β βββ test
|
242 |
+
β β β βββ CASPSimilarSeq_go_terms_test.jsonl
|
243 |
+
β β β βββ IDFilterSeq_go_terms_test.jsonl
|
244 |
+
β β β βββ UniProtSeq_go_terms_test.jsonl
|
245 |
β β βββ train
|
246 |
+
β β βββ go_terms_train.json
|
247 |
+
β βββ Function
|
248 |
β βββ test
|
249 |
+
β β βββ CASPSimilarSeq_function_test.jsonl
|
250 |
+
β β βββ IDFilterSeq_function_test.jsonl
|
251 |
+
β β βββ UniProtSeq_function_test.jsonl
|
252 |
β βββ train
|
253 |
+
β βββ function_train.json
|
254 |
+
βββ KM
|
255 |
+
βββ gSymbol2Tissue
|
256 |
β βββ test
|
257 |
+
β β βββ gene_symbol_to_tissue_test.jsonl
|
|
|
258 |
β βββ train
|
259 |
+
β βββ gene_symbol_to_tissue_train.json
|
260 |
+
βββ gSymbol2Cancer
|
261 |
β βββ test
|
262 |
+
β β βββ gene_symbol_to_cancer_test.jsonl
|
263 |
β βββ train
|
264 |
+
β βββ gene_symbol_to_cancer_train.json
|
265 |
+
βββ gName2Cancer
|
266 |
βββ test
|
267 |
+
β βββ gene_name_to_cancer_test.jsonl
|
268 |
βββ train
|
269 |
+
βββ gene_name_to_cancer_train.json
|
270 |
```
|
271 |
|
272 |
+
## OPI Dataset Construction Pipeline
|
273 |
|
274 |
+
The OPI dataset is curated on our own by extracting key information from [Swiss-Prot](https://www.uniprot.org/uniprotkb?facets=reviewed%3Atrue&query=%2A) database. The following figure shows the general construction process.
|
275 |
![image.png](./OPI_data.png)
|
276 |
|
277 |
## License
|