Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import os
|
|
2 |
import gradio as gr
|
3 |
import pandas as pd
|
4 |
|
5 |
-
MODELS = ['pythia-12B', 'pythia-6.
|
6 |
|
7 |
def load_csv(model_name):
|
8 |
csv_path = f"model_csvs/{model_name}.csv"
|
@@ -26,9 +26,33 @@ def update_csv_dropdown(model_name):
|
|
26 |
with gr.Blocks() as demo:
|
27 |
gr.Markdown(
|
28 |
"""
|
29 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
31 |
-
|
|
|
|
|
32 |
|
33 |
## Abstract
|
34 |
|
@@ -96,7 +120,7 @@ with gr.Blocks() as demo:
|
|
96 |
If you find this work useful, please consider citing our paper:
|
97 |
|
98 |
```bibtex
|
99 |
-
@article{
|
100 |
title={Rethinking LLM Memorization through the Lens of Adversarial Compression},
|
101 |
author={Schwarzschild, Avi and Feng, Zhili and Maini, Pratyush and Lipton, Zack and Kolter, Zico},
|
102 |
journal={arXiv preprint},
|
|
|
2 |
import gradio as gr
|
3 |
import pandas as pd
|
4 |
|
5 |
+
MODELS = ['pythia-12B', 'pythia-6.7B', 'pythia-1.4B', 'pythia-410M']
|
6 |
|
7 |
def load_csv(model_name):
|
8 |
csv_path = f"model_csvs/{model_name}.csv"
|
|
|
26 |
with gr.Blocks() as demo:
|
27 |
gr.Markdown(
|
28 |
"""
|
29 |
+
<div style="background-color: #B22234; padding: 20px; text-align: center; font-size: 24px; color: white; font-weight: bold;">
|
30 |
+
Rethinking LLM Memorization through the Lens of Adversarial Compression
|
31 |
+
</div>
|
32 |
+
|
33 |
+
<div style="background-color: #B22234; padding: 10px; text-align: center; font-size: 18px; color: blanchedalmond;">
|
34 |
+
<a href="https://www.avischwarzschild.com/" style="color: blanchedalmond; text-decoration: none; font-weight: bold;">Avi Schwarzschild</a><sup style="color: blanchedalmond;">*</sup>
|
35 |
+
<a href="https://zhilif.github.io/" style="color: blanchedalmond; text-decoration: none; font-weight: bold;">Zhili Feng</a><sup style="color: blanchedalmond;">*</sup>
|
36 |
+
<a href="https://pratyushmaini.github.io/" style="color: blanchedalmond; text-decoration: none; font-weight: bold;">Pratyush Maini</a>
|
37 |
+
<a href="https://acmilab.org/" style="color: blanchedalmond; text-decoration: none; font-weight: bold;">Zack Lipton</a>
|
38 |
+
<a href="https://zicokolter.com/" style="color: blanchedalmond; text-decoration: none; font-weight: bold;">Zico Kolter</a>
|
39 |
+
</div>
|
40 |
+
|
41 |
+
<div style="background-color: #B22234; padding: 10px; text-align: center; font-size: 18px; color: white;">
|
42 |
+
Carnegie Mellon University
|
43 |
+
</div>
|
44 |
+
|
45 |
+
|
46 |
+
<div style="padding: 0px; text-align: center; align: center;">
|
47 |
+
<br>
|
48 |
+
<a href="https://github.com/locuslab/memorization-in-llms/" style="color: white; text-decoration: none; text-align: center; align: center;">
|
49 |
+
<img src="https://img.shields.io/badge/GitHub-Repository-blue?style=flat-square&logo=github&logoColor=white" alt="GitHub Repository" style="color: white; text-decoration: none; text-align: center; align: center;">
|
50 |
+
</a>
|
51 |
+
</div>
|
52 |
|
53 |
+
|
54 |
+
|
55 |
+
</div>
|
56 |
|
57 |
## Abstract
|
58 |
|
|
|
120 |
If you find this work useful, please consider citing our paper:
|
121 |
|
122 |
```bibtex
|
123 |
+
@article{schwarzschild2024rethinking,
|
124 |
title={Rethinking LLM Memorization through the Lens of Adversarial Compression},
|
125 |
author={Schwarzschild, Avi and Feng, Zhili and Maini, Pratyush and Lipton, Zack and Kolter, Zico},
|
126 |
journal={arXiv preprint},
|