微调
Browse files- __pycache__/utils.cpython-39.pyc +0 -0
- app.py +15 -15
- easyeditor/__pycache__/__init__.cpython-39.pyc +0 -0
- easyeditor/models/__pycache__/__init__.cpython-39.pyc +0 -0
- easyeditor/models/grace/__pycache__/GRACE.cpython-39.pyc +0 -0
- easyeditor/models/grace/__pycache__/__init__.cpython-39.pyc +0 -0
- easyeditor/models/grace/__pycache__/grace_hparams.cpython-39.pyc +0 -0
- easyeditor/models/grace/__pycache__/grace_main.cpython-39.pyc +0 -0
- easyeditor/models/grace/__pycache__/metrics.cpython-39.pyc +0 -0
- easyeditor/models/grace/__pycache__/utils.cpython-39.pyc +0 -0
- easyeditor/util/__pycache__/__init__.cpython-39.pyc +0 -0
- easyeditor/util/__pycache__/hparams.cpython-39.pyc +0 -0
- easyeditor/util/__pycache__/logit_lens.cpython-39.pyc +0 -0
- easyeditor/util/__pycache__/nethook.cpython-39.pyc +0 -0
__pycache__/utils.cpython-39.pyc
ADDED
|
Binary file (1.8 kB). View file
|
|
|
app.py
CHANGED
|
@@ -23,21 +23,21 @@ def slowly_reverse(word, progress=gr.Progress()):
|
|
| 23 |
with gr.Blocks(css=css,theme=gr.themes.Soft(text_size="sm")) as demo:
|
| 24 |
with gr.Row(equal_height=True):
|
| 25 |
gr.HTML(
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
|
| 42 |
# with gr.Row():
|
| 43 |
# gr.Markdown("<p align='center'><a href='https://github.com/zjunlp/EasyEdit'>🔧https://github.com/zjunlp/EasyEdit</a></p>")
|
|
|
|
| 23 |
with gr.Blocks(css=css,theme=gr.themes.Soft(text_size="sm")) as demo:
|
| 24 |
with gr.Row(equal_height=True):
|
| 25 |
gr.HTML(
|
| 26 |
+
"""
|
| 27 |
+
<div style="display: flex; flex-direction: column; align-items: center;">
|
| 28 |
+
<h1>🔧EasyEdit: An Easy-to-use Knowledge Editing Framework for Large Language Models</h1>
|
| 29 |
+
|
| 30 |
+
<p>
|
| 31 |
+
📑[<a href="https://huggingface.co/papers/2308.07269">Paper</a>]
|
| 32 |
+
👨💻[<a href="https://github.com/zjunlp/EasyEdit" target="_blank"><span class="icon"><i class="fab fa-github"></i></span>Code</a>]
|
| 33 |
+
📄[<a href="https://zjunlp.gitbook.io/easyedit">Docs</a>]
|
| 34 |
+
🤗[<a href="https://huggingface.co/spaces/zjunlp/EasyEdit" target="_blank">Demo</a>]
|
| 35 |
+
[<a href="https://arxiv.org/abs/2211.11031">via GRACE</a>]
|
| 36 |
+
</p>
|
| 37 |
+
</div>
|
| 38 |
+
"""
|
| 39 |
+
)
|
| 40 |
+
# gr.HTML("""<div style="text-align: center; margin: 0 auto;"><p><h1> Knowledge Editing</h1></div>""")
|
| 41 |
|
| 42 |
# with gr.Row():
|
| 43 |
# gr.Markdown("<p align='center'><a href='https://github.com/zjunlp/EasyEdit'>🔧https://github.com/zjunlp/EasyEdit</a></p>")
|
easyeditor/__pycache__/__init__.cpython-39.pyc
ADDED
|
Binary file (182 Bytes). View file
|
|
|
easyeditor/models/__pycache__/__init__.cpython-39.pyc
CHANGED
|
Binary files a/easyeditor/models/__pycache__/__init__.cpython-39.pyc and b/easyeditor/models/__pycache__/__init__.cpython-39.pyc differ
|
|
|
easyeditor/models/grace/__pycache__/GRACE.cpython-39.pyc
CHANGED
|
Binary files a/easyeditor/models/grace/__pycache__/GRACE.cpython-39.pyc and b/easyeditor/models/grace/__pycache__/GRACE.cpython-39.pyc differ
|
|
|
easyeditor/models/grace/__pycache__/__init__.cpython-39.pyc
CHANGED
|
Binary files a/easyeditor/models/grace/__pycache__/__init__.cpython-39.pyc and b/easyeditor/models/grace/__pycache__/__init__.cpython-39.pyc differ
|
|
|
easyeditor/models/grace/__pycache__/grace_hparams.cpython-39.pyc
CHANGED
|
Binary files a/easyeditor/models/grace/__pycache__/grace_hparams.cpython-39.pyc and b/easyeditor/models/grace/__pycache__/grace_hparams.cpython-39.pyc differ
|
|
|
easyeditor/models/grace/__pycache__/grace_main.cpython-39.pyc
CHANGED
|
Binary files a/easyeditor/models/grace/__pycache__/grace_main.cpython-39.pyc and b/easyeditor/models/grace/__pycache__/grace_main.cpython-39.pyc differ
|
|
|
easyeditor/models/grace/__pycache__/metrics.cpython-39.pyc
CHANGED
|
Binary files a/easyeditor/models/grace/__pycache__/metrics.cpython-39.pyc and b/easyeditor/models/grace/__pycache__/metrics.cpython-39.pyc differ
|
|
|
easyeditor/models/grace/__pycache__/utils.cpython-39.pyc
CHANGED
|
Binary files a/easyeditor/models/grace/__pycache__/utils.cpython-39.pyc and b/easyeditor/models/grace/__pycache__/utils.cpython-39.pyc differ
|
|
|
easyeditor/util/__pycache__/__init__.cpython-39.pyc
CHANGED
|
Binary files a/easyeditor/util/__pycache__/__init__.cpython-39.pyc and b/easyeditor/util/__pycache__/__init__.cpython-39.pyc differ
|
|
|
easyeditor/util/__pycache__/hparams.cpython-39.pyc
CHANGED
|
Binary files a/easyeditor/util/__pycache__/hparams.cpython-39.pyc and b/easyeditor/util/__pycache__/hparams.cpython-39.pyc differ
|
|
|
easyeditor/util/__pycache__/logit_lens.cpython-39.pyc
CHANGED
|
Binary files a/easyeditor/util/__pycache__/logit_lens.cpython-39.pyc and b/easyeditor/util/__pycache__/logit_lens.cpython-39.pyc differ
|
|
|
easyeditor/util/__pycache__/nethook.cpython-39.pyc
CHANGED
|
Binary files a/easyeditor/util/__pycache__/nethook.cpython-39.pyc and b/easyeditor/util/__pycache__/nethook.cpython-39.pyc differ
|
|
|