helloadel commited on
Commit
c7abc16
·
verified ·
1 Parent(s): 38061ea

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +207 -19
index.html CHANGED
@@ -1,19 +1,207 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Arabic AI Observatory | Leaderboard</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Cairo:wght@600;700&display=swap" rel="stylesheet">
9
+ <style>
10
+ body { font-family: 'Inter', sans-serif; }
11
+ .ar-font { font-family: 'Cairo', sans-serif; }
12
+ </style>
13
+ </head>
14
+ <body class="bg-slate-50 text-slate-900 antialiased min-h-screen">
15
+
16
+ <!-- Top Navigation -->
17
+ <header class="border-b border-slate-200 bg-white sticky top-0 z-50">
18
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 h-16 flex items-center justify-between">
19
+ <div class="flex items-center gap-3">
20
+ <span class="text-2xl">⚖️</span>
21
+ <div>
22
+ <span class="font-extrabold text-slate-900 tracking-tight text-lg">ARABIC AI OBSERVATORY</span>
23
+ <span class="ml-2 text-xs bg-sky-100 text-sky-800 font-semibold px-2 py-0.5 rounded">v1.0 Empirical</span>
24
+ </div>
25
+ </div>
26
+ <div class="flex items-center gap-3">
27
+ <a href="#audit-services" class="text-sm font-semibold bg-slate-900 text-white px-4 py-2 rounded-lg hover:bg-slate-800 transition">
28
+ Request System Audit
29
+ </a>
30
+ </div>
31
+ </div>
32
+ </header>
33
+
34
+ <main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 space-y-8">
35
+
36
+ <!-- Hero Section -->
37
+ <div>
38
+ <h1 class="text-3xl sm:text-4xl font-extrabold text-slate-900 tracking-tight">
39
+ Sovereign Model Performance & Compliance Index
40
+ </h1>
41
+ <p class="mt-2 text-slate-600 max-w-3xl text-sm sm:text-base leading-relaxed">
42
+ Empirical evaluation of Arabic-capable LLMs across dialect drift, RAG retrieval grounding, token fertility economics, and regional data protection (PDPL & ISO 42001).
43
+ </p>
44
+ </div>
45
+
46
+ <!-- 4 KPI Cards -->
47
+ <div class="grid grid-cols-2 lg:grid-cols-4 gap-4">
48
+ <div class="bg-white p-5 rounded-xl border border-slate-200 shadow-sm">
49
+ <div class="text-xs font-semibold uppercase tracking-wider text-slate-500">Models Audited</div>
50
+ <div class="text-2xl sm:text-3xl font-extrabold text-slate-900 mt-1">7 Systems</div>
51
+ </div>
52
+ <div class="bg-white p-5 rounded-xl border border-slate-200 shadow-sm">
53
+ <div class="text-xs font-semibold uppercase tracking-wider text-slate-500">Benchmark Testbeds</div>
54
+ <div class="text-2xl sm:text-3xl font-extrabold text-slate-900 mt-1">500+ Cases</div>
55
+ </div>
56
+ <div class="bg-white p-5 rounded-xl border border-slate-200 shadow-sm">
57
+ <div class="text-xs font-semibold uppercase tracking-wider text-slate-500">Best Token Fertility</div>
58
+ <div class="text-2xl sm:text-3xl font-extrabold text-emerald-600 mt-1">1.18 <span class="text-xs text-slate-500 font-normal">tok/word</span></div>
59
+ </div>
60
+ <div class="bg-white p-5 rounded-xl border border-slate-200 shadow-sm">
61
+ <div class="text-xs font-semibold uppercase tracking-wider text-slate-500">Compliance Standard</div>
62
+ <div class="text-2xl sm:text-3xl font-extrabold text-sky-600 mt-1">PDPL & Art. 4</div>
63
+ </div>
64
+ </div>
65
+
66
+ <!-- Filter Bar -->
67
+ <div class="bg-white p-4 rounded-xl border border-slate-200 shadow-sm flex flex-col sm:flex-row gap-4 justify-between items-center">
68
+ <div class="w-full sm:w-72">
69
+ <input type="text" id="searchInput" onkeyup="filterTable()" placeholder="Search model or architecture..." class="w-full px-3.5 py-2 border border-slate-300 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-sky-500 focus:border-sky-500">
70
+ </div>
71
+ <div class="flex items-center gap-2 text-xs text-slate-500">
72
+ <span class="inline-block w-2.5 h-2.5 rounded-full bg-emerald-500"></span> Certified
73
+ <span class="inline-block w-2.5 h-2.5 rounded-full bg-rose-500 ml-2"></span> Remediation Required
74
+ </div>
75
+ </div>
76
+
77
+ <!-- Benchmark Leaderboard Table -->
78
+ <div class="bg-white rounded-xl border border-slate-200 shadow-sm overflow-hidden">
79
+ <div class="overflow-x-auto">
80
+ <table class="w-full text-left text-sm" id="modelsTable">
81
+ <thead class="bg-slate-100 text-slate-700 text-xs font-bold uppercase tracking-wider border-b border-slate-200">
82
+ <tr>
83
+ <th class="py-3.5 px-4 text-center">Rank</th>
84
+ <th class="py-3.5 px-4">Model Name</th>
85
+ <th class="py-3.5 px-4">Architecture</th>
86
+ <th class="py-3.5 px-4">Readiness Index</th>
87
+ <th class="py-3.5 px-4 text-center">Dialect (%)</th>
88
+ <th class="py-3.5 px-4 text-center">RAG (%)</th>
89
+ <th class="py-3.5 px-4 text-center">Fertility</th>
90
+ <th class="py-3.5 px-4 text-center">Verdict</th>
91
+ </tr>
92
+ </thead>
93
+ <tbody class="divide-y divide-slate-200 font-medium">
94
+ <tr class="hover:bg-slate-50 transition">
95
+ <td class="py-3 px-4 text-center font-bold text-slate-500">1</td>
96
+ <td class="py-3 px-4 font-bold text-slate-900">Qwen 2.5 7B Instruct</td>
97
+ <td class="py-3 px-4 text-slate-600">Open-Weights</td>
98
+ <td class="py-3 px-4"><div class="flex items-center gap-2"><span class="font-bold text-slate-900">88.4</span><div class="w-24 bg-slate-200 h-2 rounded-full overflow-hidden"><div class="bg-emerald-500 h-2 rounded-full" style="width: 88.4%"></div></div></div></td>
99
+ <td class="py-3 px-4 text-center">86.0%</td>
100
+ <td class="py-3 px-4 text-center">92.5%</td>
101
+ <td class="py-3 px-4 text-center text-slate-700 font-semibold">1.31</td>
102
+ <td class="py-3 px-4 text-center"><span class="px-2.5 py-1 bg-emerald-100 text-emerald-800 text-xs font-bold rounded-full">CERTIFIED</span></td>
103
+ </tr>
104
+ <tr class="hover:bg-slate-50 transition">
105
+ <td class="py-3 px-4 text-center font-bold text-slate-500">2</td>
106
+ <td class="py-3 px-4 font-bold text-slate-900">Falcon Arabic 7B</td>
107
+ <td class="py-3 px-4 text-slate-600">Regional Foundation</td>
108
+ <td class="py-3 px-4"><div class="flex items-center gap-2"><span class="font-bold text-slate-900">85.2</span><div class="w-24 bg-slate-200 h-2 rounded-full overflow-hidden"><div class="bg-emerald-500 h-2 rounded-full" style="width: 85.2%"></div></div></div></td>
109
+ <td class="py-3 px-4 text-center">81.5%</td>
110
+ <td class="py-3 px-4 text-center">88.0%</td>
111
+ <td class="py-3 px-4 text-center text-emerald-600 font-bold">1.18</td>
112
+ <td class="py-3 px-4 text-center"><span class="px-2.5 py-1 bg-emerald-100 text-emerald-800 text-xs font-bold rounded-full">CERTIFIED</span></td>
113
+ </tr>
114
+ <tr class="hover:bg-slate-50 transition">
115
+ <td class="py-3 px-4 text-center font-bold text-slate-500">3</td>
116
+ <td class="py-3 px-4 font-bold text-slate-900">ALLaM 7B</td>
117
+ <td class="py-3 px-4 text-slate-600">Sovereign GCC</td>
118
+ <td class="py-3 px-4"><div class="flex items-center gap-2"><span class="font-bold text-slate-900">84.1</span><div class="w-24 bg-slate-200 h-2 rounded-full overflow-hidden"><div class="bg-emerald-500 h-2 rounded-full" style="width: 84.1%"></div></div></div></td>
119
+ <td class="py-3 px-4 text-center">87.0%</td>
120
+ <td class="py-3 px-4 text-center">85.0%</td>
121
+ <td class="py-3 px-4 text-center text-slate-700 font-semibold">1.35</td>
122
+ <td class="py-3 px-4 text-center"><span class="px-2.5 py-1 bg-emerald-100 text-emerald-800 text-xs font-bold rounded-full">CERTIFIED</span></td>
123
+ </tr>
124
+ <tr class="hover:bg-slate-50 transition">
125
+ <td class="py-3 px-4 text-center font-bold text-slate-500">4</td>
126
+ <td class="py-3 px-4 font-bold text-slate-900">Fanar 2.0 (Verified Report)</td>
127
+ <td class="py-3 px-4 text-slate-600">QCRI Foundation</td>
128
+ <td class="py-3 px-4"><div class="flex items-center gap-2"><span class="font-bold text-slate-900">83.7</span><div class="w-24 bg-slate-200 h-2 rounded-full overflow-hidden"><div class="bg-emerald-500 h-2 rounded-full" style="width: 83.7%"></div></div></div></td>
129
+ <td class="py-3 px-4 text-center">84.2%</td>
130
+ <td class="py-3 px-4 text-center">86.1%</td>
131
+ <td class="py-3 px-4 text-center text-slate-700 font-semibold">1.25</td>
132
+ <td class="py-3 px-4 text-center"><span class="px-2.5 py-1 bg-emerald-100 text-emerald-800 text-xs font-bold rounded-full">CERTIFIED</span></td>
133
+ </tr>
134
+ <tr class="hover:bg-slate-50 transition">
135
+ <td class="py-3 px-4 text-center font-bold text-slate-500">5</td>
136
+ <td class="py-3 px-4 font-bold text-slate-900">GPT-4o-mini</td>
137
+ <td class="py-3 px-4 text-slate-600">Commercial API</td>
138
+ <td class="py-3 px-4"><div class="flex items-center gap-2"><span class="font-bold text-slate-900">81.0</span><div class="w-24 bg-slate-200 h-2 rounded-full overflow-hidden"><div class="bg-sky-500 h-2 rounded-full" style="width: 81.0%"></div></div></div></td>
139
+ <td class="py-3 px-4 text-center">78.5%</td>
140
+ <td class="py-3 px-4 text-center">89.0%</td>
141
+ <td class="py-3 px-4 text-center text-slate-700 font-semibold">1.62</td>
142
+ <td class="py-3 px-4 text-center"><span class="px-2.5 py-1 bg-rose-100 text-rose-800 text-xs font-bold rounded-full">REMEDIATION</span></td>
143
+ </tr>
144
+ <tr class="hover:bg-slate-50 transition">
145
+ <td class="py-3 px-4 text-center font-bold text-slate-500">6</td>
146
+ <td class="py-3 px-4 font-bold text-slate-900">Gemma 2 9B Instruct</td>
147
+ <td class="py-3 px-4 text-slate-600">Open-Weights</td>
148
+ <td class="py-3 px-4"><div class="flex items-center gap-2"><span class="font-bold text-slate-900">77.3</span><div class="w-24 bg-slate-200 h-2 rounded-full overflow-hidden"><div class="bg-amber-500 h-2 rounded-full" style="width: 77.3%"></div></div></div></td>
149
+ <td class="py-3 px-4 text-center">74.0%</td>
150
+ <td class="py-3 px-4 text-center">81.5%</td>
151
+ <td class="py-3 px-4 text-center text-slate-700 font-semibold">1.54</td>
152
+ <td class="py-3 px-4 text-center"><span class="px-2.5 py-1 bg-rose-100 text-rose-800 text-xs font-bold rounded-full">REMEDIATION</span></td>
153
+ </tr>
154
+ <tr class="hover:bg-slate-50 transition">
155
+ <td class="py-3 px-4 text-center font-bold text-slate-500">7</td>
156
+ <td class="py-3 px-4 font-bold text-slate-900">Llama 3.1 8B Instruct</td>
157
+ <td class="py-3 px-4 text-slate-600">Open-Weights</td>
158
+ <td class="py-3 px-4"><div class="flex items-center gap-2"><span class="font-bold text-slate-900">69.8</span><div class="w-24 bg-slate-200 h-2 rounded-full overflow-hidden"><div class="bg-rose-500 h-2 rounded-full" style="width: 69.8%"></div></div></div></td>
159
+ <td class="py-3 px-4 text-center">63.0%</td>
160
+ <td class="py-3 px-4 text-center">76.0%</td>
161
+ <td class="py-3 px-4 text-center text-rose-600 font-bold">2.85</td>
162
+ <td class="py-3 px-4 text-center"><span class="px-2.5 py-1 bg-rose-100 text-rose-800 text-xs font-bold rounded-full">REMEDIATION</span></td>
163
+ </tr>
164
+ </tbody>
165
+ </table>
166
+ </div>
167
+ </div>
168
+
169
+ <!-- Commercial CTA Box -->
170
+ <div id="audit-services" class="bg-slate-900 rounded-2xl p-6 sm:p-8 text-white shadow-xl">
171
+ <div class="max-w-3xl">
172
+ <h2 class="text-2xl font-bold">Independent System Audits & Red-Teaming Suites</h2>
173
+ <p class="mt-2 text-slate-300 text-sm leading-relaxed">
174
+ Ensure your Arabic conversational agents and RAG applications don't hallucinate or leak personal identifiers prior to deployment.
175
+ </p>
176
+ <div class="grid sm:grid-cols-2 gap-4 mt-6">
177
+ <div class="bg-slate-800/80 border border-slate-700 p-4 rounded-xl">
178
+ <div class="text-sky-400 font-bold text-lg">$199 / run</div>
179
+ <div class="font-bold text-white mt-1">Automated System Audit & PDF Certificate</div>
180
+ <p class="text-xs text-slate-300 mt-2">Send 200 interaction logs. Receive a branded 2-page diagnostic report with specific prompt and RAG code remediations.</p>
181
+ </div>
182
+ <div class="bg-slate-800/80 border border-slate-700 p-4 rounded-xl">
183
+ <div class="text-sky-400 font-bold text-lg">$149 one-time</div>
184
+ <div class="font-bold text-white mt-1">Arabic Enterprise Red-Teaming Matrix</div>
185
+ <p class="text-xs text-slate-300 mt-2">Download 500+ curated adversarial test cases covering Darija, Egyptian, Gulf, PDPL privacy bounds, and RAG hallucination traps.</p>
186
+ </div>
187
+ </div>
188
+ <div class="mt-6 flex flex-wrap gap-4 items-center">
189
+ <span class="text-xs text-slate-400">Institutional inquiries: <code class="text-sky-300">audit@safeai.report</code></span>
190
+ </div>
191
+ </div>
192
+ </div>
193
+
194
+ </main>
195
+
196
+ <script>
197
+ function filterTable() {
198
+ const input = document.getElementById("searchInput").value.toLowerCase();
199
+ const rows = document.querySelectorAll("#modelsTable tbody tr");
200
+ rows.forEach(row => {
201
+ const text = row.textContent.toLowerCase();
202
+ row.style.display = text.includes(input) ? "" : "none";
203
+ });
204
+ }
205
+ </script>
206
+ </body>
207
+ </html>