Spaces:
Runtime error
Runtime error
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
st.set_page_config(layout="wide")
|
3 |
+
|
4 |
+
st.title("AI Detectability Index (ADI)")
|
5 |
+
|
6 |
+
st.write("As new LLMs continue to emerge at an accelerated pace, the usability of prevailing AGTD techniques might not endure indefinitely. To align with the ever-changing landscape of LLMs, we introduce the AI Detectability Index (ADI), which identifies the discernable range for LLMs based on SoTA AGTD techniques. The hypothesis behind this proposal is that both LLMs and AGTD techniques' SoTA benchmarks can be regularly updated to adapt to the evolving landscape. Additionally, ADI serves as a litmus test to gauge whether contemporary LLMs have surpassed the ADI benchmark and are thereby rendering themselves impervious to detection, or whether new methods for AI-generated text detection will require the ADI standard to be reset and re-calibrated.")
|
7 |
+
|
8 |
+
st.markdown("""
|
9 |
+
<style>
|
10 |
+
table th:first-of-type {
|
11 |
+
width: 250px;
|
12 |
+
}
|
13 |
+
table th:nth-of-type(2) {
|
14 |
+
width: 600px;
|
15 |
+
}
|
16 |
+
</style>
|
17 |
+
""", unsafe_allow_html=True)
|
18 |
+
|
19 |
+
st.markdown("""
|
20 |
+
<table>
|
21 |
+
<tr>
|
22 |
+
<th>Calculate perplexity</th>
|
23 |
+
<th>Perplexity</th>
|
24 |
+
</tr>
|
25 |
+
<tr>
|
26 |
+
<td><img src="https://via.placeholder.com/300x200.png?text=Image+1"></td>
|
27 |
+
<td><img src="https://via.placeholder.com/400x200.png?text=Image+2"></td>
|
28 |
+
</tr>
|
29 |
+
</table>
|
30 |
+
""", unsafe_allow_html=True)
|
31 |
+
|
32 |
+
st.markdown("""
|
33 |
+
<table>
|
34 |
+
<tr>
|
35 |
+
<th>Brustiness</th>
|
36 |
+
<th><img src="https://via.placeholder.com/300x200.png?text=Image+1"><br><img src="https://via.placeholder.com/400x200.png?text=Image+2"></th>
|
37 |
+
</tr>
|
38 |
+
</table>
|
39 |
+
""", unsafe_allow_html=True)
|
40 |
+
|
41 |
+
st.markdown("""
|
42 |
+
<table>
|
43 |
+
<tr>
|
44 |
+
<th>NLC</th>
|
45 |
+
<th><img src="https://via.placeholder.com/420x150.png?text=Image+3"><br><img src="https://via.placeholder.com/500x150.png?text=Image+4"></th>
|
46 |
+
</tr>
|
47 |
+
</table>
|
48 |
+
""", unsafe_allow_html=True)
|
49 |
+
|
50 |
+
st.markdown("""
|
51 |
+
<table>
|
52 |
+
<tr>
|
53 |
+
<th>Stylometry</th>
|
54 |
+
<th>
|
55 |
+
<p>Perplexity</p>
|
56 |
+
<img src="https://via.placeholder.com/300x200.png?text=Image+5">
|
57 |
+
<img src="https://via.placeholder.com/300x200.png?text=Image+5">
|
58 |
+
<p>Human</p>
|
59 |
+
<p>AI</p>
|
60 |
+
<p>Brustiness</p>
|
61 |
+
</th>
|
62 |
+
</tr>
|
63 |
+
</table>
|
64 |
+
""", unsafe_allow_html=True)
|