stefan-insilico commited on
Commit
678fd38
1 Parent(s): 2629133

Removed unnecessary instructions from examples

Browse files
Files changed (1) hide show
  1. README.md +5 -6
README.md CHANGED
@@ -193,7 +193,7 @@ Here, we ask the model to generate a signature for a male human within in the 70
193
  ```json
194
  {
195
  "inputs": {
196
- "instruction": ["age_group2diff2age_group", "disease2diff2disease", "compound2diff2compound"],
197
  "tissue": ["lung"],
198
  "age": "",
199
  "cell": "",
@@ -216,7 +216,7 @@ See the corresponding P3GPT output:
216
  },
217
  "mode": "meta2diff", // generation mode we specified
218
  "message": "Done!",
219
- "input": "[BOS]<age_group2diff2age_group><disease2diff2disease><compound2diff2compound><tissue>lung </tissue><cell></cell><efo>EFO_0000768 </efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 80.0-90.0 </case><control></control><dataset_type>expression </dataset_type><gender>m </gender><species>human </species>", // actual input prompt for the model
220
  "random_seed": 137
221
  }
222
  ```
@@ -227,13 +227,12 @@ _**Example 2: generate an aging signature**_
227
  <summary style="font-weight:600">Details</summary>
228
 
229
  Now, let's generate a signature for the whole blood of a healthy male human in the 70-90 years age group.
230
- Note that we use the ```disease2diff2disease``` instruction, but we expect to generate the signatures for a healthy human, that's why we set ```efo``` to an empty string "".
231
- Alternatively, we can add one more instruction to example 2 — "instruction": ["disease2diff2disease", "age_group2diff2age_group"]
232
 
233
  ```json
234
  {
235
  "inputs": {
236
- "instruction": ["disease2diff2disease", "age_group2diff2age_group"],
237
  "tissue": ["whole blood"],
238
  "age": "",
239
  "cell": "",
@@ -262,7 +261,7 @@ P3GPT's output:
262
  },
263
  "mode": "meta2diff",
264
  "message": "Done!",
265
- "input": "[BOS]<disease2diff2disease><age_group2diff2age_group><tissue>whole blood </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>40.0-50.0 </case><control></control><dataset_type>expression </dataset_type><gender>m </gender><species>human </species>",
266
  "random_seed": 137
267
  }
268
  ```
 
193
  ```json
194
  {
195
  "inputs": {
196
+ "instruction": ["age_group2diff2age_group", "disease2diff2disease"],
197
  "tissue": ["lung"],
198
  "age": "",
199
  "cell": "",
 
216
  },
217
  "mode": "meta2diff", // generation mode we specified
218
  "message": "Done!",
219
+ "input": "[BOS]<age_group2diff2age_group><disease2diff2disease><tissue>lung </tissue><cell></cell><efo>EFO_0000768 </efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 80.0-90.0 </case><control></control><dataset_type>expression </dataset_type><gender>m </gender><species>human </species>", // actual input prompt for the model
220
  "random_seed": 137
221
  }
222
  ```
 
227
  <summary style="font-weight:600">Details</summary>
228
 
229
  Now, let's generate a signature for the whole blood of a healthy male human in the 70-90 years age group.
230
+ Note, here we expect to generate the signatures for a healthy human, that's why we set ```efo``` to an empty string "".
 
231
 
232
  ```json
233
  {
234
  "inputs": {
235
+ "instruction": ["age_group2diff2age_group"],
236
  "tissue": ["whole blood"],
237
  "age": "",
238
  "cell": "",
 
261
  },
262
  "mode": "meta2diff",
263
  "message": "Done!",
264
+ "input": "[BOS]<age_group2diff2age_group><tissue>whole blood </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>40.0-50.0 </case><control></control><dataset_type>expression </dataset_type><gender>m </gender><species>human </species>",
265
  "random_seed": 137
266
  }
267
  ```