Spaces:
Sleeping
Sleeping
aldan.creo
commited on
Commit
•
7cf7fc4
1
Parent(s):
3b6b0ab
Demo
Browse files
README.md
CHANGED
@@ -9,4 +9,8 @@ app_file: app.py
|
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
-
|
|
|
|
|
|
|
|
|
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
+
# SilverSpeak
|
13 |
+
|
14 |
+
This is a demonstration of a system to exploit homoglyph and zero-width character based attacks to evade AI-generated content detection systems.
|
15 |
+
|
16 |
+
For more information, please refer to the research paper: [Creo, Aldan and Shushanta Pudasaini. “Evading AI-Generated Content Detectors using Homoglyphs.” (2024)](https://arxiv.org/abs/2109.06255).
|
app.py
CHANGED
@@ -27,8 +27,9 @@ inputs = [
|
|
27 |
]
|
28 |
outputs = gr.Textbox(label="Output text", show_copy_button=True)
|
29 |
title = "Silverspeak"
|
30 |
-
description = "
|
31 |
|
|
|
32 |
|
33 |
def attack_fn(text, replace_chars, percentage, replace_spaces):
|
34 |
if replace_chars:
|
@@ -46,6 +47,7 @@ gr.Interface(
|
|
46 |
description=description,
|
47 |
allow_flagging="never",
|
48 |
examples=[
|
|
|
49 |
[EXAMPLE_TEXT_1, True, 0.05, False],
|
50 |
[EXAMPLE_TEXT_1, True, 0.03, True],
|
51 |
[EXAMPLE_TEXT_2, True, 0.1, False],
|
|
|
27 |
]
|
28 |
outputs = gr.Textbox(label="Output text", show_copy_button=True)
|
29 |
title = "Silverspeak"
|
30 |
+
description = """Here, we utilize homoglyph and zero-width character based attacks to evade AI-generated content detection systems.
|
31 |
|
32 |
+
For more information, please refer to the research paper: [Creo, Aldan and Shushanta Pudasaini. “Evading AI-Generated Content Detectors using Homoglyphs.” (2024)](https://arxiv.org/abs/2109.06255)."""
|
33 |
|
34 |
def attack_fn(text, replace_chars, percentage, replace_spaces):
|
35 |
if replace_chars:
|
|
|
47 |
description=description,
|
48 |
allow_flagging="never",
|
49 |
examples=[
|
50 |
+
[EXAMPLE_TEXT_1, False, 0.05, True],
|
51 |
[EXAMPLE_TEXT_1, True, 0.05, False],
|
52 |
[EXAMPLE_TEXT_1, True, 0.03, True],
|
53 |
[EXAMPLE_TEXT_2, True, 0.1, False],
|