Update README.md
Browse files
README.md
CHANGED
|
@@ -60,7 +60,8 @@ medi_df["negatives"] = [[row["neg"][0][1]] for _, row in medi_df.iterrows()]
|
|
| 60 |
medi_df["pos_doc_instruction"] = [row["pos"][0][0] for _, row in medi_df.iterrows()]
|
| 61 |
medi_df["positives"] = [[row["pos"][0][1]] for _, row in medi_df.iterrows()]
|
| 62 |
|
| 63 |
-
medi_df.drop_duplicates("
|
| 64 |
medi_df.reset_index(drop=True, inplace=True)
|
| 65 |
medi_df = medi_df[["query_instruction", "pos_doc_instruction", "neg_doc_instruction", "query", "positives", "negatives"]]
|
|
|
|
| 66 |
```
|
|
|
|
| 60 |
medi_df["pos_doc_instruction"] = [row["pos"][0][0] for _, row in medi_df.iterrows()]
|
| 61 |
medi_df["positives"] = [[row["pos"][0][1]] for _, row in medi_df.iterrows()]
|
| 62 |
|
| 63 |
+
medi_df.drop_duplicates("query", inplace=True)
|
| 64 |
medi_df.reset_index(drop=True, inplace=True)
|
| 65 |
medi_df = medi_df[["query_instruction", "pos_doc_instruction", "neg_doc_instruction", "query", "positives", "negatives"]]
|
| 66 |
+
medi_df["dataset_name"] = "medi2"
|
| 67 |
```
|