Update constants.py
Browse files- constants.py +6 -3
constants.py
CHANGED
|
@@ -17,10 +17,12 @@ DATA_COLUMN_NAMES =["locality","labels","concept","text"]
|
|
| 17 |
KE_TABLE_INTRODUCTION = """In the table below, we summarize each task performance of all the models. We use F1 score(%) as the primary evaluation metric for each tasks.
|
| 18 |
"""
|
| 19 |
RESULT_COLUMN_NAMES= ["DataSet","Metric","Metric","ICE","AdaLoRA","MEND","ROME","MEMIT","FT-L","FT"]
|
|
|
|
|
|
|
| 20 |
DATA_STRUCT="""
|
| 21 |
-
Datasets ZsRE Wikirecent Wikicounterfact WikiBio
|
| 22 |
-
Train 10,000 570 1455 592
|
| 23 |
-
Test 1230 1266 885 1392
|
| 24 |
"""
|
| 25 |
TITLE = """# KnowEdit: a dataset for knowledge editing"""
|
| 26 |
|
|
@@ -67,3 +69,4 @@ CITATION_BUTTON_TEXT = r"""@article{tan2023evaluation,
|
|
| 67 |
year = {2023}
|
| 68 |
}
|
| 69 |
"""
|
|
|
|
|
|
| 17 |
KE_TABLE_INTRODUCTION = """In the table below, we summarize each task performance of all the models. We use F1 score(%) as the primary evaluation metric for each tasks.
|
| 18 |
"""
|
| 19 |
RESULT_COLUMN_NAMES= ["DataSet","Metric","Metric","ICE","AdaLoRA","MEND","ROME","MEMIT","FT-L","FT"]
|
| 20 |
+
STRUCT_COLUMN_NAMES=["Datasets","ZsRE","Wikirecent","Wikicounterfact","WikiBio"]
|
| 21 |
+
|
| 22 |
DATA_STRUCT="""
|
| 23 |
+
|Datasets |ZsRE |Wikirecent| Wikicounterfact| WikiBio|
|
| 24 |
+
|Train |10,000 |570 |1455 |592|
|
| 25 |
+
|Test |1230| 1266 |885 |1392|
|
| 26 |
"""
|
| 27 |
TITLE = """# KnowEdit: a dataset for knowledge editing"""
|
| 28 |
|
|
|
|
| 69 |
year = {2023}
|
| 70 |
}
|
| 71 |
"""
|
| 72 |
+
|