Spaces:
Running
Running
johnsonhung906
commited on
Commit
·
7bef68d
1
Parent(s):
9e150a7
change the body style
Browse files- .DS_Store +0 -0
- index.html +5 -5
.DS_Store
CHANGED
|
Binary files a/.DS_Store and b/.DS_Store differ
|
|
|
index.html
CHANGED
|
@@ -76,12 +76,12 @@
|
|
| 76 |
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
| 77 |
<!-- end custom head snippets -->
|
| 78 |
<style>
|
| 79 |
-
body {
|
| 80 |
font-family: Arial, sans-serif;
|
| 81 |
text-align: center;
|
| 82 |
background-color: #f4f4f4;
|
| 83 |
-
padding:
|
| 84 |
-
}
|
| 85 |
|
| 86 |
.image-gallery {
|
| 87 |
display: flex; /* Use flexbox for side-by-side images */
|
|
@@ -92,7 +92,7 @@
|
|
| 92 |
|
| 93 |
.image-gallery img {
|
| 94 |
width: 100%; /* Set width to 80% of the window */
|
| 95 |
-
max-width:
|
| 96 |
height: auto; /* Maintain aspect ratio */
|
| 97 |
border-radius: 10px; /* Rounded corners for images */
|
| 98 |
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Add shadow to images */
|
|
@@ -253,7 +253,7 @@ We provide more details about the running flow of Attention Tracker in the paper
|
|
| 253 |
<h2 id="demonstration">Demonstration</h2>
|
| 254 |
|
| 255 |
<p>
|
| 256 |
-
We evaluated the effectiveness of the Attention Tracker by visualizing the distribution of attention aggregation for key heads across different data types (normal data vs. attack data) in the Open-Prompt-Injection dataset. Additionally, we calculated the focus score for these data samples. A higher focus score indicates a lower likelihood of prompt injection attacks.
|
| 257 |
</p>
|
| 258 |
|
| 259 |
<div class="button-container">
|
|
|
|
| 76 |
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
| 77 |
<!-- end custom head snippets -->
|
| 78 |
<style>
|
| 79 |
+
/* body {
|
| 80 |
font-family: Arial, sans-serif;
|
| 81 |
text-align: center;
|
| 82 |
background-color: #f4f4f4;
|
| 83 |
+
padding: 0px;
|
| 84 |
+
} */
|
| 85 |
|
| 86 |
.image-gallery {
|
| 87 |
display: flex; /* Use flexbox for side-by-side images */
|
|
|
|
| 92 |
|
| 93 |
.image-gallery img {
|
| 94 |
width: 100%; /* Set width to 80% of the window */
|
| 95 |
+
max-width: 1200px; /* Ensure maximum width remains 500px */
|
| 96 |
height: auto; /* Maintain aspect ratio */
|
| 97 |
border-radius: 10px; /* Rounded corners for images */
|
| 98 |
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Add shadow to images */
|
|
|
|
| 253 |
<h2 id="demonstration">Demonstration</h2>
|
| 254 |
|
| 255 |
<p>
|
| 256 |
+
We evaluated the effectiveness of the Attention Tracker by visualizing the distribution of attention aggregation for key heads across different data types (normal data vs. attack data) in the Open-Prompt-Injection dataset. Additionally, we calculated the focus score for these data samples. A higher focus score indicates a lower likelihood of prompt injection attacks. The tested model is Qwen-2 1.8b.
|
| 257 |
</p>
|
| 258 |
|
| 259 |
<div class="button-container">
|