微调
Browse files
app.py
CHANGED
|
@@ -44,7 +44,32 @@ with gr.Blocks(css=css,theme=gr.themes.Soft(text_size="sm")) as demo:
|
|
| 44 |
|
| 45 |
with gr.Row():
|
| 46 |
gr.Markdown("#### Knowledge editing aims to subtly inject/edit updated knowledge or adjust undesirable behaviors, while minimizing the impact on unrelated inputs.")
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
with gr.Row():
|
| 50 |
prompt = gr.Textbox(label="Edit Prompt")
|
|
|
|
| 44 |
|
| 45 |
with gr.Row():
|
| 46 |
gr.Markdown("#### Knowledge editing aims to subtly inject/edit updated knowledge or adjust undesirable behaviors, while minimizing the impact on unrelated inputs.")
|
| 47 |
+
with gr.Accordion("Expiation", open=False):
|
| 48 |
+
gr.Markdown(
|
| 49 |
+
"""
|
| 50 |
+
Edit Steps: the number of times a layer is trained in the GRACE method.
|
| 51 |
+
"""
|
| 52 |
+
)
|
| 53 |
+
gr.Markdown(
|
| 54 |
+
"""
|
| 55 |
+
Replacement: the optimization strategy during fine-tuning.
|
| 56 |
+
"""
|
| 57 |
+
)
|
| 58 |
+
gr.Markdown(
|
| 59 |
+
"""
|
| 60 |
+
Reliability Evaluation: the optimization strategy during fine-tuning.
|
| 61 |
+
"""
|
| 62 |
+
)
|
| 63 |
+
gr.Markdown(
|
| 64 |
+
"""
|
| 65 |
+
Reliability Evaluation: the assessment of whether the target edit can be accomplished.
|
| 66 |
+
"""
|
| 67 |
+
)
|
| 68 |
+
gr.Markdown(
|
| 69 |
+
"""
|
| 70 |
+
Locality Evaluation: the assessment of whether unrelated content has been affected..
|
| 71 |
+
"""
|
| 72 |
+
)
|
| 73 |
|
| 74 |
with gr.Row():
|
| 75 |
prompt = gr.Textbox(label="Edit Prompt")
|