Spaces:
Sleeping
Sleeping
Martijn van Beers
commited on
Commit
•
e112ba4
1
Parent(s):
315cc6b
Reflect the model change in the labels as well.
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ class CrowSPairsDataset(object):
|
|
25 |
|
26 |
|
27 |
def run(df):
|
28 |
-
result = "<table><tr style='color: white; background-color: #555'><th>index</th><th>more stereotypical</th><th>gpt2</th><th>gpt2
|
29 |
for i, row in df.iterrows():
|
30 |
result += f"<tr><td>{i}</td><td style='padding: 0 1em; background-image: linear-gradient(90deg, rgba(0,255,255,0.2) 0%, rgba(255,255,255,1) 100%)'>{row['sent_more']}</td>"
|
31 |
more = row["sent_more"]
|
|
|
25 |
|
26 |
|
27 |
def run(df):
|
28 |
+
result = "<table><tr style='color: white; background-color: #555'><th>index</th><th>more stereotypical</th><th>gpt2<br>regular</th><th>gpt2<br>debiased</th><th>less stereotypical<th></tr>"
|
29 |
for i, row in df.iterrows():
|
30 |
result += f"<tr><td>{i}</td><td style='padding: 0 1em; background-image: linear-gradient(90deg, rgba(0,255,255,0.2) 0%, rgba(255,255,255,1) 100%)'>{row['sent_more']}</td>"
|
31 |
more = row["sent_more"]
|