Trier les résultats détaillés par nombre de téléchargements

#7
.gitattributes CHANGED
@@ -42,4 +42,3 @@ application_neo4j/static/notice/notice_html/media/image4.png filter=lfs diff=lfs
42
  application_neo4j/static/notice/notice.docx filter=lfs diff=lfs merge=lfs -text
43
  application_neo4j/static/notice/notice.pdf filter=lfs diff=lfs merge=lfs -text
44
  opengds/*.jar filter=lfs diff=lfs merge=lfs -text
45
- application_neo4j/static/notice/notice_en.pdf filter=lfs diff=lfs merge=lfs -text
 
42
  application_neo4j/static/notice/notice.docx filter=lfs diff=lfs merge=lfs -text
43
  application_neo4j/static/notice/notice.pdf filter=lfs diff=lfs merge=lfs -text
44
  opengds/*.jar filter=lfs diff=lfs merge=lfs -text
 
application_neo4j/app.py CHANGED
@@ -326,16 +326,13 @@ def autocomplete():
326
  if node_filter and node_filter in ["Model", "Dataset"]: # Mesure de sécurité
327
  label_cypher = f":{node_filter}"
328
 
329
- # Récupère les noms commençant par le préfixe fourni. Les suggestions les
330
- # plus téléchargées sont proposées en premier ; le nom garantit un ordre
331
- # stable lorsque plusieurs éléments ont le même nombre de téléchargements.
332
  cypher = f"""
333
  MATCH (n{label_cypher})
334
  WHERE toLower(n.name) STARTS WITH toLower($prefix)
335
  AND n.name IS NOT NULL
336
- RETURN n.name AS name, labels(n)[0] AS label,
337
- coalesce(n.downloads, 0) AS downloads
338
- ORDER BY downloads DESC, toLower(n.name) ASC
339
  LIMIT 10
340
  """
341
  try:
@@ -408,8 +405,6 @@ def make_search_result(name, depth, is_unlimited, filters, expert):
408
  return {
409
  "template": "expert.html" if expert else "search.html",
410
  "message": None,
411
- "message_key": None,
412
- "message_kwargs": {},
413
  "search": {
414
  "name": name,
415
  "depth": depth,
@@ -421,13 +416,6 @@ def make_search_result(name, depth, is_unlimited, filters, expert):
421
  }
422
 
423
 
424
- def set_search_result_message(result, key, lang, **kwargs):
425
- """Store a translatable message while keeping its current rendering."""
426
- result["message_key"] = key
427
- result["message_kwargs"] = kwargs
428
- result["message"] = t(key, lang, **kwargs)
429
-
430
-
431
  def execute_search_job(job_id, name, depth, is_unlimited, filters, expert, lang):
432
  """Run the existing search pipeline while publishing its real server stage."""
433
  result = make_search_result(name, depth, is_unlimited, filters, expert)
@@ -466,8 +454,7 @@ def execute_search_job(job_id, name, depth, is_unlimited, filters, expert, lang)
466
  )
467
 
468
  if not gds_result:
469
- set_search_result_message(
470
- result,
471
  "error.node_not_found_expert" if expert else "error.model_not_found",
472
  lang,
473
  name=name,
@@ -489,9 +476,7 @@ def execute_search_job(job_id, name, depth, is_unlimited, filters, expert, lang)
489
 
490
  if expert:
491
  if not graph_data["nodes"] and not graph_data["edges"]:
492
- set_search_result_message(
493
- result, "error.no_neighbors", lang, name=name
494
- )
495
  elif gds_result["source_label"] == "Model":
496
  raise_if_search_cancelled(job_id)
497
  set_search_stage(job_id, "building_highlights")
@@ -501,9 +486,7 @@ def execute_search_job(job_id, name, depth, is_unlimited, filters, expert, lang)
501
  elif gds_result["source_label"] == "Dataset":
502
  result["template"] = "search_dataset.html"
503
  elif not graph_data["nodes"] and not graph_data["edges"]:
504
- set_search_result_message(
505
- result, "error.no_neighbors", lang, name=name
506
- )
507
 
508
  raise_if_search_cancelled(job_id)
509
  update_search_job(
@@ -544,15 +527,11 @@ def execute_search_job(job_id, name, depth, is_unlimited, filters, expert, lang)
544
  )
545
  return
546
  if "Failed to find a node" in str(error):
547
- message_key = "error.node_not_found"
548
- message_kwargs = {"name": name}
549
  else:
550
  print(f"Background GDS search error ({job_id}): {error}")
551
- message_key = "error.gds"
552
- message_kwargs = {"error": str(error)}
553
- set_search_result_message(
554
- result, message_key, lang, **message_kwargs
555
- )
556
  update_search_job(
557
  job_id,
558
  status="failed",
@@ -808,16 +787,10 @@ def search_job_result(job_id):
808
  if job["status"] not in ("completed", "failed") or not job.get("result"):
809
  return redirect(url_for("findnode", lang=job["lang"]))
810
 
 
811
  result = job["result"]
812
- message = result["message"]
813
- if result.get("message_key"):
814
- message = t(
815
- result["message_key"],
816
- session.get("lang", "fr"),
817
- **result.get("message_kwargs", {}),
818
- )
819
  template_args = {
820
- "message": message,
821
  "search": result["search"],
822
  "graph_data": result["graph_data"],
823
  }
 
326
  if node_filter and node_filter in ["Model", "Dataset"]: # Mesure de sécurité
327
  label_cypher = f":{node_filter}"
328
 
329
+ # Récupère les noms commençant par le préfixe fourni
 
 
330
  cypher = f"""
331
  MATCH (n{label_cypher})
332
  WHERE toLower(n.name) STARTS WITH toLower($prefix)
333
  AND n.name IS NOT NULL
334
+ RETURN n.name AS name, labels(n)[0] as label
335
+ ORDER BY size(n.name) ASC
 
336
  LIMIT 10
337
  """
338
  try:
 
405
  return {
406
  "template": "expert.html" if expert else "search.html",
407
  "message": None,
 
 
408
  "search": {
409
  "name": name,
410
  "depth": depth,
 
416
  }
417
 
418
 
 
 
 
 
 
 
 
419
  def execute_search_job(job_id, name, depth, is_unlimited, filters, expert, lang):
420
  """Run the existing search pipeline while publishing its real server stage."""
421
  result = make_search_result(name, depth, is_unlimited, filters, expert)
 
454
  )
455
 
456
  if not gds_result:
457
+ result["message"] = t(
 
458
  "error.node_not_found_expert" if expert else "error.model_not_found",
459
  lang,
460
  name=name,
 
476
 
477
  if expert:
478
  if not graph_data["nodes"] and not graph_data["edges"]:
479
+ result["message"] = t("error.no_neighbors", lang, name=name)
 
 
480
  elif gds_result["source_label"] == "Model":
481
  raise_if_search_cancelled(job_id)
482
  set_search_stage(job_id, "building_highlights")
 
486
  elif gds_result["source_label"] == "Dataset":
487
  result["template"] = "search_dataset.html"
488
  elif not graph_data["nodes"] and not graph_data["edges"]:
489
+ result["message"] = t("error.no_neighbors", lang, name=name)
 
 
490
 
491
  raise_if_search_cancelled(job_id)
492
  update_search_job(
 
527
  )
528
  return
529
  if "Failed to find a node" in str(error):
530
+ message = t("error.node_not_found", lang, name=name)
 
531
  else:
532
  print(f"Background GDS search error ({job_id}): {error}")
533
+ message = t("error.gds", lang, error=str(error))
534
+ result["message"] = message
 
 
 
535
  update_search_job(
536
  job_id,
537
  status="failed",
 
787
  if job["status"] not in ("completed", "failed") or not job.get("result"):
788
  return redirect(url_for("findnode", lang=job["lang"]))
789
 
790
+ session["lang"] = job["lang"]
791
  result = job["result"]
 
 
 
 
 
 
 
792
  template_args = {
793
+ "message": result["message"],
794
  "search": result["search"],
795
  "graph_data": result["graph_data"],
796
  }
application_neo4j/app_algorithms.py CHANGED
@@ -186,50 +186,50 @@ def get_genealogy_highlights(gds: "GraphDataScience", model_name: str, num_highl
186
  # Les classes CSS sont directement des classes Bootstrap 5 pour simplifier le rendu dans le template HTML.
187
  badges_info = {
188
  'desc_cited_1': {
189
- 'text_key': 'badge.desc_cited_1.text',
190
  'class': 'bg-success',
191
- 'title_key': 'badge.desc_cited_1.title'
192
  },
193
  'desc_cited_2': {
194
- 'text_key': 'badge.desc_cited_2.text',
195
  'class': 'bg-success bg-opacity-75',
196
- 'title_key': 'badge.desc_cited_2.title'
197
  },
198
  'desc_downloaded_1': {
199
- 'text_key': 'badge.desc_downloaded_1.text',
200
  'class': 'beta',
201
- 'title_key': 'badge.desc_downloaded_1.title'
202
  },
203
  'desc_downloaded_2': {
204
- 'text_key': 'badge.desc_downloaded_2.text',
205
  'class': 'alpha',
206
- 'title_key': 'badge.desc_downloaded_2.title'
207
  },
208
 
209
  'asc_foundation': {
210
- 'text_key': 'badge.asc_foundation.text',
211
  'class': 'bg-warning text-dark',
212
- 'title_key': 'badge.asc_foundation.title'
213
  },
214
  'asc_cited_1': {
215
- 'text_key': 'badge.asc_cited_1.text',
216
  'class': 'bg-success',
217
- 'title_key': 'badge.asc_cited_1.title'
218
  },
219
  'asc_cited_2': {
220
- 'text_key': 'badge.asc_cited_2.text',
221
  'class': 'bg-success bg-opacity-75',
222
- 'title_key': 'badge.asc_cited_2.title'
223
  },
224
  'asc_downloaded_1': {
225
- 'text_key': 'badge.asc_downloaded_1.text',
226
  'class': 'beta',
227
- 'title_key': 'badge.asc_downloaded_1.title'
228
  },
229
  'asc_downloaded_2': {
230
- 'text_key': 'badge.asc_downloaded_2.text',
231
  'class': 'alpha',
232
- 'title_key': 'badge.asc_downloaded_2.title'
233
  },
234
  }
235
 
 
186
  # Les classes CSS sont directement des classes Bootstrap 5 pour simplifier le rendu dans le template HTML.
187
  badges_info = {
188
  'desc_cited_1': {
189
+ 'text': t('badge.desc_cited_1.text', lang),
190
  'class': 'bg-success',
191
+ 'title': t('badge.desc_cited_1.title', lang)
192
  },
193
  'desc_cited_2': {
194
+ 'text': t('badge.desc_cited_2.text', lang),
195
  'class': 'bg-success bg-opacity-75',
196
+ 'title': t('badge.desc_cited_2.title', lang)
197
  },
198
  'desc_downloaded_1': {
199
+ 'text': t('badge.desc_downloaded_1.text', lang),
200
  'class': 'beta',
201
+ 'title': t('badge.desc_downloaded_1.title', lang)
202
  },
203
  'desc_downloaded_2': {
204
+ 'text': t('badge.desc_downloaded_2.text', lang),
205
  'class': 'alpha',
206
+ 'title': t('badge.desc_downloaded_2.title', lang)
207
  },
208
 
209
  'asc_foundation': {
210
+ 'text': t('badge.asc_foundation.text', lang),
211
  'class': 'bg-warning text-dark',
212
+ 'title': t('badge.asc_foundation.title', lang)
213
  },
214
  'asc_cited_1': {
215
+ 'text': t('badge.asc_cited_1.text', lang),
216
  'class': 'bg-success',
217
+ 'title': t('badge.asc_cited_1.title', lang)
218
  },
219
  'asc_cited_2': {
220
+ 'text': t('badge.asc_cited_2.text', lang),
221
  'class': 'bg-success bg-opacity-75',
222
+ 'title': t('badge.asc_cited_2.title', lang)
223
  },
224
  'asc_downloaded_1': {
225
+ 'text': t('badge.asc_downloaded_1.text', lang),
226
  'class': 'beta',
227
+ 'title': t('badge.asc_downloaded_1.title', lang)
228
  },
229
  'asc_downloaded_2': {
230
+ 'text': t('badge.asc_downloaded_2.text', lang),
231
  'class': 'alpha',
232
+ 'title': t('badge.asc_downloaded_2.title', lang)
233
  },
234
  }
235
 
application_neo4j/static/css/style.css CHANGED
@@ -2,79 +2,13 @@
2
  * STYLE GLOBAL & GRAPHIQUE SIGMA
3
  * =================================================================== */
4
 
5
- /* Explicit sizing and minimum widths avoid engine-specific flexbox
6
- * expansion differences (notably between Blink and Gecko). */
7
- html {
8
- -webkit-text-size-adjust: 100%;
9
- text-size-adjust: 100%;
10
- }
11
-
12
- body {
13
- min-width: 320px;
14
- }
15
-
16
- .legacy-browser-warning {
17
- display: none;
18
- margin: 0;
19
- padding: 0.75rem 1rem;
20
- color: #664d03;
21
- background: #fff3cd;
22
- border-bottom: 1px solid #ffecb5;
23
- font-weight: 600;
24
- text-align: center;
25
- }
26
-
27
- img,
28
- svg {
29
- max-width: 100%;
30
- height: auto;
31
- }
32
-
33
- .row > *,
34
- .card,
35
- .card-body,
36
- .flex-grow-1 {
37
- min-width: 0;
38
- }
39
-
40
- .navbar .container {
41
- column-gap: 1rem;
42
- row-gap: 0.75rem;
43
- }
44
-
45
- .navbar-brand {
46
- min-width: 0;
47
- max-width: 100%;
48
- white-space: normal;
49
- }
50
-
51
- .navbar-brand small,
52
- #suggestions-list li {
53
- overflow-wrap: anywhere;
54
- word-break: break-word;
55
- }
56
-
57
- .navbar-actions {
58
- min-width: 0;
59
- margin-left: auto;
60
- }
61
-
62
  #sigma-container {
63
  width: 100%;
64
  height: 600px; /* Un peu plus de hauteur pour un meilleur confort */
65
- position: relative;
66
- overflow: hidden;
67
- border: 1px solid #dee2e6;
68
- border: 1px solid var(--bs-border-color, #dee2e6); /* Variable Bootstrap */
69
  margin-top: 1rem;
70
- border-radius: 0.375rem;
71
- border-radius: var(--bs-border-radius, 0.375rem); /* Variable Bootstrap */
72
- background-color: #f8f9fa;
73
- background-color: var(--bs-light-bg-subtle, #f8f9fa); /* Fond légèrement teinté */
74
- }
75
-
76
- #floating-legend {
77
- max-width: calc(100% - 1rem);
78
  }
79
 
80
  /* ===================================================================
@@ -98,62 +32,35 @@ svg {
98
  /* ===================================================================
99
  * STYLE DES TABLES (DATATABLES)
100
  * =================================================================== */
101
- /* A single, deterministic wrapping policy replaces the previous contradictory
102
- * normal/nowrap declarations. */
103
  #descendance-table th, #descendance-table td,
104
- #ascendance-table th, #ascendance-table td,
105
- #train-table th, #train-table td,
106
- #graph-models-table th, #graph-models-table td {
107
- white-space: nowrap;
108
- vertical-align: middle;
109
  }
110
 
111
- #descendance-table th,
112
- #ascendance-table th,
113
- #train-table th {
114
- min-width: 120px;
115
  }
116
 
117
- #descendance-table th:first-child, #descendance-table td:first-child,
118
- #ascendance-table th:first-child, #ascendance-table td:first-child,
119
- #train-table th:first-child, #train-table td:first-child,
120
- #graph-models-table th:first-child, #graph-models-table td:first-child {
121
  min-width: 200px;
122
- white-space: normal;
123
- overflow-wrap: anywhere;
124
- word-break: break-word;
125
  }
126
 
127
- .table-responsive,
128
- div.dataTables_wrapper,
129
- div.dataTables_wrapper div.dataTables_scroll {
130
- width: 100%;
131
- max-width: 100%;
132
- }
133
-
134
- .table-responsive,
135
- div.dataTables_wrapper div.dataTables_scrollBody {
136
- overflow-x: auto !important;
137
- -webkit-overflow-scrolling: touch;
138
- }
139
-
140
- div.dataTables_wrapper div.dataTables_scrollHeadInner {
141
- min-width: 100%;
142
- }
143
-
144
- div.dataTables_wrapper table.dataTable {
145
- margin-left: 0 !important;
146
- margin-right: 0 !important;
147
- table-layout: auto;
148
  }
149
 
150
  /* Personnalisation de l'input de recherche de DataTables pour qu'il ressemble à un champ Bootstrap */
151
  div.dataTables_wrapper div.dataTables_filter input {
152
- max-width: 100%;
153
- border: 1px solid #dee2e6;
154
- border: 1px solid var(--bs-border-color, #dee2e6);
155
- border-radius: 0.375rem;
156
- border-radius: var(--bs-border-radius, 0.375rem);
157
  padding: 0.375rem 0.75rem;
158
  margin-left: 0.5em;
159
  }
@@ -193,12 +100,8 @@ div.dataTables_wrapper .table thead th.sorting_desc::after {
193
  /* Ce style est pour si vous utilisez une <ul> simple.
194
  Si vous avez bien une <ul class="list-group">, vous pouvez supprimer ce bloc. */
195
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
196
- max-width: 100%;
197
- overflow-x: hidden;
198
- border-radius: 0.375rem;
199
- border-radius: var(--bs-border-radius, 0.375rem);
200
- background-color: #f8f9fa;
201
- background-color: var(--bs-light, #f8f9fa);
202
  }
203
  #suggestions-list li:hover {
204
  background-color: #94bfeb; ;
@@ -295,22 +198,11 @@ div.dataTables_wrapper .table thead th.sorting_desc::after {
295
  }
296
 
297
  /* Change la couleur de fond des cases à cocher lorsqu'elles sont cochées */
298
- .btn-primary {
299
  background-color: #6a11cb;
300
  border-color:#6a11cb;
301
  }
302
 
303
- .btn-outline-primary {
304
- color: #6a11cb;
305
- border-color: #6a11cb;
306
- }
307
-
308
- .btn-outline-primary:hover {
309
- color: #fff;
310
- background-color: #6a11cb;
311
- border-color: #6a11cb;
312
- }
313
-
314
  .stretched-link{
315
  color: #6a11cb;
316
  }
@@ -376,31 +268,4 @@ main {
376
  .btn-modern:hover {
377
  background: linear-gradient(135deg, #5a0fbf, #1d63e1);
378
  transform: translateY(-3px);
379
- }
380
-
381
- @media (max-width: 575.98px) {
382
- .navbar-brand,
383
- .navbar-actions {
384
- flex: 1 1 100%;
385
- margin-right: 0;
386
- }
387
-
388
- .navbar-actions {
389
- justify-content: flex-start !important;
390
- }
391
-
392
- #sigma-container {
393
- height: 70vh;
394
- min-height: 420px;
395
- }
396
-
397
- div.dataTables_wrapper div.dataTables_filter label {
398
- display: block;
399
- width: 100%;
400
- }
401
-
402
- div.dataTables_wrapper div.dataTables_filter input {
403
- width: 100%;
404
- margin: 0.375rem 0 0;
405
- }
406
- }
 
2
  * STYLE GLOBAL & GRAPHIQUE SIGMA
3
  * =================================================================== */
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  #sigma-container {
6
  width: 100%;
7
  height: 600px; /* Un peu plus de hauteur pour un meilleur confort */
8
+ border: 1px solid var(--bs-border-color); /* Variable Bootstrap */
 
 
 
9
  margin-top: 1rem;
10
+ border-radius: var(--bs-border-radius); /* Variable Bootstrap */
11
+ background-color: var(--bs-light-bg-subtle); /* Fond légèrement teinté */
 
 
 
 
 
 
12
  }
13
 
14
  /* ===================================================================
 
32
  /* ===================================================================
33
  * STYLE DES TABLES (DATATABLES)
34
  * =================================================================== */
35
+ /* Permet au texte de revenir à la ligne naturellement */
 
36
  #descendance-table th, #descendance-table td,
37
+ #ascendance-table th, #ascendance-table td {
38
+ white-space: normal; /* <-- La correction clé ! */
39
+ word-wrap: break-word; /* Force le retour à la ligne des mots longs */
40
+ vertical-align: middle; /* Garde le centrage vertical */
 
41
  }
42
 
43
+ /* On peut donner une largeur minimale aux colonnes pour garder une bonne structure */
44
+ #descendance-table th, #ascendance-table th {
45
+ min-width: 120px; /* Ajustez cette valeur selon vos besoins */
 
46
  }
47
 
48
+ /* Cas spécifique pour les colonnes potentiellement longues comme le nom du modèle */
49
+ #descendance-table th:first-child, #ascendance-table th:first-child {
 
 
50
  min-width: 200px;
 
 
 
51
  }
52
 
53
+ /* Empêche le texte de se couper dans les cellules, force le défilement horizontal */
54
+ #descendance-table th, #descendance-table td,
55
+ #ascendance-table th, #ascendance-table td {
56
+ white-space: nowrap;
57
+ vertical-align: middle; /* Centrage vertical pour un look plus propre */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  }
59
 
60
  /* Personnalisation de l'input de recherche de DataTables pour qu'il ressemble à un champ Bootstrap */
61
  div.dataTables_wrapper div.dataTables_filter input {
62
+ border: 1px solid var(--bs-border-color);
63
+ border-radius: var(--bs-border-radius);
 
 
 
64
  padding: 0.375rem 0.75rem;
65
  margin-left: 0.5em;
66
  }
 
100
  /* Ce style est pour si vous utilisez une <ul> simple.
101
  Si vous avez bien une <ul class="list-group">, vous pouvez supprimer ce bloc. */
102
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
103
+ border-radius: var(--bs-border-radius);
104
+ background-color: var(--bs-light);
 
 
 
 
105
  }
106
  #suggestions-list li:hover {
107
  background-color: #94bfeb; ;
 
198
  }
199
 
200
  /* Change la couleur de fond des cases à cocher lorsqu'elles sont cochées */
201
+ .btn {
202
  background-color: #6a11cb;
203
  border-color:#6a11cb;
204
  }
205
 
 
 
 
 
 
 
 
 
 
 
 
206
  .stretched-link{
207
  color: #6a11cb;
208
  }
 
268
  .btn-modern:hover {
269
  background: linear-gradient(135deg, #5a0fbf, #1d63e1);
270
  transform: translateY(-3px);
271
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
application_neo4j/static/js/browser_compatibility.js DELETED
@@ -1,14 +0,0 @@
1
- (function () {
2
- "use strict";
3
-
4
- // `document.documentMode` is exposed by Internet Explorer only. The rest of
5
- // the application deliberately targets maintained browsers supported by
6
- // Bootstrap 5.
7
- if (document.documentMode) {
8
- var warning = document.getElementById("legacy-browser-warning");
9
- if (warning) {
10
- warning.hidden = false;
11
- warning.style.display = "block";
12
- }
13
- }
14
- }());
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
application_neo4j/static/js/script.js CHANGED
@@ -193,8 +193,7 @@ document.addEventListener("DOMContentLoaded", () => {
193
  const common_dt_options = {
194
  "language": { "url": datatablesLangUrl },
195
  "pageLength": 10,
196
- "responsive": true,
197
- "scrollX": true,
198
  // Afficher en premier les modèles les plus téléchargés.
199
  "order": [[2, "desc"]],
200
  "columnDefs": [
 
193
  const common_dt_options = {
194
  "language": { "url": datatablesLangUrl },
195
  "pageLength": 10,
196
+ "responsive": true,"scrollX": true , "scrollY":true,
 
197
  // Afficher en premier les modèles les plus téléchargés.
198
  "order": [[2, "desc"]],
199
  "columnDefs": [
application_neo4j/static/js/script_dataset.js CHANGED
@@ -209,8 +209,7 @@ document.addEventListener("DOMContentLoaded", () => {
209
  const common_dt_options = {
210
  "language": { "url": datatablesLangUrl },
211
  "pageLength": 10,
212
- "responsive": true,
213
- "scrollX": true,
214
  "columnDefs": [
215
  {
216
  // Appliquer notre plugin 'numeric-string' aux colonnes cibles
 
209
  const common_dt_options = {
210
  "language": { "url": datatablesLangUrl },
211
  "pageLength": 10,
212
+ "responsive": true,"scrollX": true , "scrollY":true,
 
213
  "columnDefs": [
214
  {
215
  // Appliquer notre plugin 'numeric-string' aux colonnes cibles
application_neo4j/static/notice/generate_notice_en.py DELETED
@@ -1,503 +0,0 @@
1
- """Generate the English version of the CNIL GenMod information notice.
2
-
3
- This is a maintainer utility, not a runtime dependency of the Space. Run it
4
- from the repository root after installing ``pypdf`` and ``reportlab``:
5
-
6
- python application_neo4j/static/notice/generate_notice_en.py \
7
- --source application_neo4j/static/notice/notice.pdf
8
- """
9
-
10
- from __future__ import annotations
11
-
12
- import argparse
13
- import math
14
- import tempfile
15
- from pathlib import Path
16
-
17
- from PIL import Image as PillowImage
18
- from pypdf import PdfReader
19
- from reportlab.lib import colors
20
- from reportlab.lib.enums import TA_CENTER
21
- from reportlab.lib.pagesizes import A4
22
- from reportlab.lib.styles import ParagraphStyle, getSampleStyleSheet
23
- from reportlab.lib.units import mm
24
- from reportlab.pdfbase import pdfmetrics
25
- from reportlab.pdfbase.ttfonts import TTFont
26
- from reportlab.platypus import (
27
- Flowable,
28
- Image,
29
- PageBreak,
30
- Paragraph,
31
- SimpleDocTemplate,
32
- Spacer,
33
- Table,
34
- TableStyle,
35
- )
36
-
37
-
38
- CNIL_BLUE = colors.HexColor("#0046A8")
39
- LIGHT_BLUE = colors.HexColor("#EAF2FB")
40
- RED = colors.HexColor("#E52A22")
41
- GOLD = colors.HexColor("#F7B500")
42
-
43
-
44
- class NeuralNetworkDiagram(Flowable):
45
- """Small English recreation of the neural-network diagram."""
46
-
47
- def __init__(self, width=170 * mm, height=54 * mm):
48
- super().__init__()
49
- self.width = width
50
- self.height = height
51
-
52
- def draw(self):
53
- canvas = self.canv
54
- canvas.saveState()
55
- scale_x = self.width / 480
56
- scale_y = self.height / 155
57
- canvas.scale(scale_x, scale_y)
58
-
59
- inputs = [(45, 115), (45, 78), (45, 41)]
60
- hidden_1 = [(190, 130), (190, 97), (190, 64), (190, 31)]
61
- hidden_2 = [(330, 130), (330, 97), (330, 64), (330, 31)]
62
- outputs = [(445, 113), (445, 78), (445, 43)]
63
-
64
- canvas.setStrokeColor(colors.HexColor("#222222"))
65
- canvas.setLineWidth(0.6)
66
- for x1, y1 in inputs:
67
- for x2, y2 in hidden_1:
68
- canvas.line(x1 + 32, y1, x2 - 10, y2)
69
- for x1, y1 in hidden_2:
70
- for x2, y2 in outputs:
71
- canvas.line(x1 + 10, y1, x2 - 32, y2)
72
-
73
- canvas.setFont("DejaVuSans", 7.5)
74
- for index, (x, y) in enumerate(inputs, 1):
75
- canvas.setFillColor(colors.HexColor("#DDEFD6"))
76
- canvas.roundRect(x - 32, y - 10, 64, 20, 4, fill=1, stroke=1)
77
- canvas.setFillColor(colors.black)
78
- canvas.drawCentredString(x, y - 3, f"Input {index}")
79
- for layer in (hidden_1, hidden_2):
80
- for x, y in layer:
81
- canvas.setFillColor(colors.HexColor("#FFF1C9"))
82
- canvas.circle(x, y, 10, fill=1, stroke=1)
83
- for index, (x, y) in enumerate(outputs, 1):
84
- canvas.setFillColor(colors.HexColor("#DCE9FF"))
85
- canvas.roundRect(x - 32, y - 10, 64, 20, 4, fill=1, stroke=1)
86
- canvas.setFillColor(colors.black)
87
- canvas.drawCentredString(x, y - 3, f"Output {index}")
88
-
89
- canvas.setFillColor(colors.white)
90
- path = canvas.beginPath()
91
- path.moveTo(255, 80)
92
- path.lineTo(275, 98)
93
- path.lineTo(295, 80)
94
- path.lineTo(275, 62)
95
- path.close()
96
- canvas.drawPath(path, fill=1, stroke=1)
97
- canvas.setFillColor(colors.black)
98
- canvas.setFont("DejaVuSans", 10)
99
- canvas.drawCentredString(275, 77, "f")
100
- canvas.setFont("DejaVuSans", 7.5)
101
- canvas.drawCentredString(190, 8, "Layer 1")
102
- canvas.drawCentredString(330, 8, "Layer 2")
103
- canvas.drawCentredString(275, 118, "Activation function")
104
- canvas.drawCentredString(405, 145, "Edge parameters")
105
- canvas.restoreState()
106
-
107
-
108
- class HuggingFaceDiagram(Flowable):
109
- """English recreation of the platform example diagram."""
110
-
111
- def __init__(self, width=170 * mm, height=55 * mm):
112
- super().__init__()
113
- self.width = width
114
- self.height = height
115
-
116
- def draw_arrow(self, canvas, x1, y1, x2, y2, color):
117
- canvas.setStrokeColor(color)
118
- canvas.setFillColor(color)
119
- canvas.setLineWidth(1.8)
120
- canvas.line(x1, y1, x2, y2)
121
- angle = math.atan2(y2 - y1, x2 - x1)
122
- for offset in (-0.5, 0.5):
123
- canvas.line(
124
- x2,
125
- y2,
126
- x2 - 7 * math.cos(angle + offset),
127
- y2 - 7 * math.sin(angle + offset),
128
- )
129
-
130
- def box(self, canvas, x, y, width, height, text, color):
131
- canvas.setStrokeColor(color)
132
- canvas.setFillColor(colors.white)
133
- canvas.rect(x, y, width, height, fill=1, stroke=1)
134
- canvas.setFillColor(color)
135
- canvas.setFont("DejaVuSans-Bold", 8)
136
- canvas.drawCentredString(x + width / 2, y + height / 2 - 3, text)
137
-
138
- def draw(self):
139
- canvas = self.canv
140
- canvas.saveState()
141
- scale_x = self.width / 500
142
- scale_y = self.height / 170
143
- canvas.scale(scale_x, scale_y)
144
- self.box(canvas, 5, 118, 70, 24, "USER A", CNIL_BLUE)
145
- self.box(canvas, 105, 105, 105, 48, "", RED)
146
- canvas.setFillColor(RED)
147
- canvas.setFont("DejaVuSans-Bold", 8)
148
- canvas.drawCentredString(157.5, 130, "MACHINE-LEARNING")
149
- canvas.drawCentredString(157.5, 116, "MODEL")
150
- self.box(canvas, 290, 105, 85, 48, "DATASET", RED)
151
- self.box(canvas, 420, 118, 75, 24, "USER B", CNIL_BLUE)
152
- self.box(canvas, 205, 15, 90, 26, "USER C", CNIL_BLUE)
153
- self.box(canvas, 207, 66, 86, 25, "NEW MODEL", RED)
154
-
155
- canvas.setFillColor(GOLD)
156
- canvas.circle(250, 130, 21, fill=1, stroke=0)
157
- canvas.setFillColor(colors.HexColor("#795500"))
158
- canvas.setFont("DejaVuSans-Bold", 8)
159
- canvas.drawCentredString(250, 127, "HF")
160
- canvas.setFont("DejaVuSans-Bold", 7)
161
- canvas.drawCentredString(250, 157, "Hugging Face")
162
-
163
- self.draw_arrow(canvas, 75, 130, 101, 130, colors.black)
164
- self.draw_arrow(canvas, 420, 130, 379, 130, colors.black)
165
- self.draw_arrow(canvas, 210, 130, 225, 130, RED)
166
- self.draw_arrow(canvas, 290, 130, 275, 130, RED)
167
- self.draw_arrow(canvas, 250, 65, 250, 43, colors.black)
168
- self.draw_arrow(canvas, 250, 93, 250, 106, RED)
169
- self.draw_arrow(canvas, 157, 103, 218, 42, colors.HexColor("#2385CC"))
170
- self.draw_arrow(canvas, 332, 103, 282, 42, colors.HexColor("#2385CC"))
171
-
172
- canvas.setFillColor(colors.black)
173
- canvas.setFont("DejaVuSans", 6.8)
174
- canvas.drawString(5, 106, "individual or organisation")
175
- canvas.drawString(402, 106, "individual or organisation")
176
- canvas.drawCentredString(250, 3, "individual or organisation")
177
- canvas.setFillColor(CNIL_BLUE)
178
- canvas.setFont("DejaVuSans-Bold", 13)
179
- canvas.drawString(12, 12, "CNIL")
180
- canvas.restoreState()
181
-
182
-
183
- def extract_figures(source: Path, work_dir: Path) -> tuple[Path, Path]:
184
- reader = PdfReader(str(source))
185
- fox_image = reader.pages[2].images[0].image
186
- fox_crop = fox_image.crop((0, 0, int(fox_image.width * 0.35), fox_image.height))
187
- fox_path = work_dir / "fox.jpg"
188
- fox_crop.save(fox_path, quality=92)
189
-
190
- memorisation_path = work_dir / "memorisation.jpg"
191
- reader.pages[5].images[0].image.save(memorisation_path, quality=92)
192
- return fox_path, memorisation_path
193
-
194
-
195
- def build_styles():
196
- pdfmetrics.registerFont(
197
- TTFont("DejaVuSans", "/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf")
198
- )
199
- pdfmetrics.registerFont(
200
- TTFont(
201
- "DejaVuSans-Bold",
202
- "/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf",
203
- )
204
- )
205
- styles = getSampleStyleSheet()
206
- styles.add(
207
- ParagraphStyle(
208
- "NoticeTitle",
209
- fontName="DejaVuSans-Bold",
210
- fontSize=20,
211
- leading=24,
212
- textColor=CNIL_BLUE,
213
- spaceAfter=8 * mm,
214
- )
215
- )
216
- styles.add(
217
- ParagraphStyle(
218
- "Section",
219
- fontName="DejaVuSans-Bold",
220
- fontSize=14,
221
- leading=17,
222
- textColor=CNIL_BLUE,
223
- spaceBefore=3 * mm,
224
- spaceAfter=2.5 * mm,
225
- )
226
- )
227
- styles.add(
228
- ParagraphStyle(
229
- "Subsection",
230
- fontName="DejaVuSans-Bold",
231
- fontSize=11,
232
- leading=14,
233
- textColor=colors.HexColor("#222222"),
234
- spaceBefore=2 * mm,
235
- spaceAfter=1.5 * mm,
236
- )
237
- )
238
- styles.add(
239
- ParagraphStyle(
240
- "BodyNotice",
241
- fontName="DejaVuSans",
242
- fontSize=8.7,
243
- leading=11.3,
244
- alignment=4,
245
- spaceAfter=2.1 * mm,
246
- )
247
- )
248
- styles.add(
249
- ParagraphStyle(
250
- "Caption",
251
- fontName="DejaVuSans",
252
- fontSize=7.2,
253
- leading=9,
254
- alignment=TA_CENTER,
255
- textColor=colors.HexColor("#555555"),
256
- spaceAfter=2 * mm,
257
- )
258
- )
259
- return styles
260
-
261
-
262
- def generate(source: Path, output: Path) -> None:
263
- styles = build_styles()
264
- body = styles["BodyNotice"]
265
- title = styles["NoticeTitle"]
266
- section = styles["Section"]
267
- subsection = styles["Subsection"]
268
- caption = styles["Caption"]
269
-
270
- def p(text: str):
271
- return Paragraph(text, body)
272
-
273
- def bullet(text: str):
274
- style = ParagraphStyle(
275
- "BulletNotice",
276
- parent=body,
277
- leftIndent=5 * mm,
278
- firstLineIndent=-3.5 * mm,
279
- bulletIndent=1.5 * mm,
280
- spaceAfter=1.4 * mm,
281
- )
282
- return Paragraph(text, style, bulletText="•")
283
-
284
- with tempfile.TemporaryDirectory(prefix="genmod-notice-") as temp_dir:
285
- fox_path, memorisation_path = extract_figures(source, Path(temp_dir))
286
-
287
- doc = SimpleDocTemplate(
288
- str(output),
289
- pagesize=A4,
290
- rightMargin=18 * mm,
291
- leftMargin=18 * mm,
292
- topMargin=18 * mm,
293
- bottomMargin=16 * mm,
294
- title="A tool for exploring the genealogy of open-source AI models",
295
- author="CNIL",
296
- subject="English translation of the GenMod information notice",
297
- )
298
-
299
- def decorate_page(canvas, document):
300
- canvas.saveState()
301
- canvas.setStrokeColor(CNIL_BLUE)
302
- canvas.setLineWidth(1.2)
303
- canvas.line(18 * mm, 12 * mm, A4[0] - 18 * mm, 12 * mm)
304
- canvas.setFont("DejaVuSans-Bold", 8)
305
- canvas.setFillColor(CNIL_BLUE)
306
- canvas.drawString(18 * mm, 7.5 * mm, "CNIL · GenMod")
307
- canvas.setFont("DejaVuSans", 8)
308
- canvas.drawRightString(
309
- A4[0] - 18 * mm, 7.5 * mm, f"Page {document.page}"
310
- )
311
- canvas.restoreState()
312
-
313
- story = [
314
- Paragraph(
315
- "A tool for exploring the genealogy of open-source AI models",
316
- title,
317
- ),
318
- Paragraph("What is an AI model?", section),
319
- Paragraph("Training", subsection),
320
- p(
321
- "The fields in which AI can be used are vast and difficult to delimit, as they extend to many aspects of everyday life: online searches and purchases, targeted advertising, machine translation, personal digital assistants and connected cities, as well as transport, healthcare and many other areas."
322
- ),
323
- p(
324
- "Under Article 3 of the European Union Artificial Intelligence Act, an AI system is ‘a machine-based system that is designed to operate with varying levels of autonomy and that may exhibit adaptiveness after deployment, and that, for explicit or implicit objectives, infers, from the input it receives, how to generate outputs such as predictions, content, recommendations, or decisions that can influence physical or virtual environments.’"
325
- ),
326
- p(
327
- "These systems incorporate one or more AI models. Such models can be described as algorithms whose operation is determined by a set of attributes and which are designed to perform tasks such as prediction, classification, inference or generation. Deep neural-network models, for example, consist of nodes (neurons) arranged in layers and connected by edges, each of which has a parameter or ‘weight’. During training, these parameters are adjusted to learn the statistical distribution of the training data."
328
- ),
329
- p("For a simple neural network, the model’s attributes might include:"),
330
- bullet("the type and size of each layer (linear, convolutional, attention, etc.);"),
331
- bullet("the weights assigned to each edge (also called parameters);"),
332
- bullet("the activation functions between layers; and"),
333
- bullet("possibly other operations located within or between layers."),
334
- Spacer(1, 1.5 * mm),
335
- NeuralNetworkDiagram(),
336
- Paragraph("Figure 1 — Diagram of a neural network (authors)", caption),
337
- PageBreak(),
338
- Paragraph("Training from examples", subsection),
339
- p(
340
- "When a neural network is trained to recognise images, it is given examples in which the image pixels are associated with an annotation, or label. The model then adjusts its parameters—the weights—to learn to assign the correct label as often as possible."
341
- ),
342
- p(
343
- "The main difference between a deep-learning model and a conventional computer program is that the model learns inference rules autonomously from data. In a conventional program, a task is solved using explicit rules defined in advance by the developer. To sort a list of numbers, for example, the order in which elements are compared is precisely programmed. This works very well for clearly delimited tasks for which explicit rules can be established."
344
- ),
345
- p(
346
- "By contrast, the rules of a deep-learning model are not specified directly. Instead, the model is given a large volume of examples—its training data—so that, during the learning phase, it can identify the statistical regularities or strategies that solve the task. This makes it possible to automate much more complex tasks for which defining every rule by hand would be extremely difficult or impossible."
347
- ),
348
- Paragraph("Using a trained model", subsection),
349
- p(
350
- "Once trained, a model can be used as it is, without further modification, to perform specific tasks automatically. This is called the inference phase. The model receives an input—an image, text or an audio signal, for example—and produces an output based on what it learned during training. It then acts as a ‘black box’: it applies the regularities it has learned without changing its internal structure or learning anything new."
351
- ),
352
- p(
353
- "Consider machine translation. A neural-network model trained on millions of pairs of Spanish and English sentences can translate a new text from English into Spanish at inference time. Linguistic rules are not explicitly implemented in the model; it has learned to match sequences of words by drawing on statistical regularities in the training data."
354
- ),
355
- p(
356
- "Another example is image-to-text models, which generate image captions. A model can be trained to associate images with textual descriptions. Once trained, it can receive a new image—such as a photograph of a dog running in a park—and automatically produce a sentence such as ‘A dog is running on the grass in a park.’"
357
- ),
358
- Table(
359
- [[
360
- Image(str(fox_path), width=58 * mm, height=41 * mm),
361
- Paragraph(
362
- "The image is a close-up portrait of a red fox standing in the snow. The fox is in the centre, its vibrant orange fur lit by golden sunrise or sunset light. It stands alert, ears upright and looking off-camera. The pristine white snow has a bluish tint reflecting the cool colours of the sky. The softly blurred blue-grey background adds depth and highlights the fox as the subject.",
363
- body,
364
- ),
365
- ]],
366
- colWidths=[62 * mm, 105 * mm],
367
- style=TableStyle([
368
- ("VALIGN", (0, 0), (-1, -1), "MIDDLE"),
369
- ("LEFTPADDING", (0, 0), (-1, -1), 2),
370
- ("RIGHTPADDING", (0, 0), (-1, -1), 4),
371
- ("BOX", (0, 0), (-1, -1), 0.4, colors.HexColor("#BBBBBB")),
372
- ("BACKGROUND", (0, 0), (-1, -1), colors.HexColor("#F7F7F7")),
373
- ]),
374
- ),
375
- Paragraph(
376
- "Figure 2 — Example of an image’s textual description (source: imagedescriber.online)",
377
- caption,
378
- ),
379
- PageBreak(),
380
- p(
381
- "These use cases illustrate the power of advances in deep learning to automate complex, often subjective or ambiguous tasks for which writing explicit rules by hand would be difficult or impossible."
382
- ),
383
- Paragraph("Derivatives: fine-tuning, merging, quantisation, etc.", subsection),
384
- p(
385
- "To adapt a neural network more closely to a specific task, optimise its performance or reduce its running costs, several transformations can be applied to an initial pre-trained model. Such modifications are very common in the open-source ecosystem. They make it possible to create new models from one or more initial models, sometimes with additional data. Four common transformations between a target model and a source model are:"
386
- ),
387
- bullet(
388
- "<b>Fine-tuning:</b> a general-purpose source model continues training on a specific dataset to improve its performance on a more precise task. A large language model initially trained on freely accessible internet sources may, for example, be fine-tuned on a company’s business data so that it better understands the company’s specialist vocabulary and expressions."
389
- ),
390
- bullet(
391
- "<b>Quantisation:</b> the precision of the source model’s weights is reduced to lower its memory footprint. Weights initially encoded using 32 bits may, for example, be rounded to the nearest value that can be encoded using 16 bits."
392
- ),
393
- bullet(
394
- "<b>Adaptation:</b> the source model is adjusted so that it can be used with limited computing resources—for example, on a mobile phone—most often using a Low-Rank Adaptation (LoRA) technique."
395
- ),
396
- bullet(
397
- "<b>Merging:</b> layers from different models are combined to improve performance. For example, two LLMs, A and B, may both have been trained on general text corpora. Averaging the weights in their twelfth layers and replacing A’s twelfth layer with that average may produce a model C that performs better than either A or B."
398
- ),
399
- PageBreak(),
400
- Paragraph("A platform for open-source AI: Hugging Face", section),
401
- p(
402
- "To enable AI models to be shared and made available by and for as many people as possible, the Franco-American company Hugging Face, founded in 2016, developed a platform that centralises models and datasets. It also provides software tools for deploying AI models. Today it hosts more open-source models than any other platform—over two million were available in September 2025—and acts as a catalyst for the open-source AI ecosystem."
403
- ),
404
- p("The following example illustrates how the platform works:"),
405
- bullet("User C wants to create a model that automatically detects fraudulent emails."),
406
- bullet(
407
- "User A has published a natural-language-processing model on Hugging Face—for example, Google’s <i>google/gemma-3-27b-it</i>—and User B has published a dataset containing millions of emails labelled as fraudulent or non-fraudulent."
408
- ),
409
- bullet(
410
- "User C downloads the model and dataset, then trains the model on the dataset to specialise it for classification. Once the resulting classifier performs well, User C can publish it on Hugging Face so that anyone can use it as is or train it again on other datasets to improve its performance."
411
- ),
412
- HuggingFaceDiagram(),
413
- Paragraph("Figure 3 — Example of how Hugging Face is used", caption),
414
- p(
415
- "In short, Hugging Face provides tools for building, training and deploying deep-learning models based on open-source technologies and code. It also offers a space where researchers, engineers and enthusiasts can exchange ideas, obtain support and contribute to open-source projects."
416
- ),
417
- Paragraph("Benefits of open-source AI", section),
418
- p(
419
- "The rise of open-source AI shows that powerful and partly transparent models can compete with proprietary solutions while stimulating collective innovation. BLOOM (176 billion parameters, 2022), developed by the BigScience consortium, illustrates this dynamic: trained in 46 languages, it enabled multilingual conversational assistants to be developed in Africa, Latin America and the Arab world, where commercial models remained poorly adapted to local languages."
420
- ),
421
- PageBreak(),
422
- p(
423
- "Similarly, GPT-J and GPT-NeoX (EleutherAI) and Vicuna (LMSYS) provided the basis for open-source projects that enabled universities and start-ups to create specialised chatbots without relying on closed services. These models also made research into bias detection and the robustness of large language models possible."
424
- ),
425
- p(
426
- "In computer vision, Stable Diffusion (Stability AI) transformed visual creation. Its weights were made freely available, opening the way to applications in video games, advertising and audiovisual production, including concept images, storyboards and rapid design. Its open-source code enabled tools such as Automatic1111 and ComfyUI, used by hundreds of thousands of artists and researchers."
427
- ),
428
- p(
429
- "The impact is industrial as well. LLaMA (Meta), initially released to the research community, gave rise to a generation of derivatives—including Zephyr, Nous-Hermes and OpenChat—that are now used for customer support, summarising legal or medical documents and prototyping code."
430
- ),
431
- p(
432
- "In science, projects such as BioGPT (Microsoft Research) and OpenFold (inspired by AlphaFold) demonstrate how opening code and weights accelerates biomedical research by allowing independent laboratories to reproduce and improve results in protein-structure prediction and molecule discovery."
433
- ),
434
- p(
435
- "These achievements show that open source is not limited to reusing models: it enables technological ownership, local adaptation and open innovation in fields as varied as artistic creation, healthcare, education, data science and the cultural industries. Nevertheless, some opacity may remain as to how models are built: with what data and which training algorithm? A CNIL paper and a PEReN paper provide further discussion of this issue."
436
- ),
437
- Paragraph("Privacy issues", section),
438
- Paragraph("Memorisation by AI models", subsection),
439
- p(
440
- "The scientific community has long established that information about the data used to train an AI model can often be extracted from even partial access to the model. In generative AI, a model may reproduce text or images that are very close to examples in its training dataset. In the figure below, when Stable Diffusion is asked to generate an image matching the caption ‘Emma Watson to play Belle in Disney’s Beauty and the Beast’, its output closely resembles an image from the training database."
441
- ),
442
- p(
443
- "This is regurgitation—only one form of memorisation. Statistical methods can sometimes reveal other information, such as whether a particular record belonged to the training dataset, through membership-inference attacks."
444
- ),
445
- Image(str(memorisation_path), width=153 * mm, height=91 * mm),
446
- Paragraph(
447
- "Figure 4 — Source: Louis Hunt (LinkedIn). Original photograph: UN Women.",
448
- caption,
449
- ),
450
- PageBreak(),
451
- p(
452
- "For text models such as chatbots, prominent cases of regurgitation are already widely documented. One version of ChatGPT, for example, was reported to reproduce New York Times articles almost verbatim and to provide personal information such as a person’s name, address and telephone number."
453
- ),
454
- Paragraph("The GDPR and AI models", subsection),
455
- p(
456
- "If information about an AI model’s training database can generally be extracted from the model, what legal regime should apply when that database contains personal data? The European Data Protection Board clarified this question in Opinion 28/2024 on AI models, on which the CNIL’s latest recommendations are based. In particular, the Opinion concludes that the GDPR applies in many cases to AI models trained on personal data because of their capacity for memorisation."
457
- ),
458
- Paragraph("Exercising rights in relation to AI models", subsection),
459
- p(
460
- "For AI models subject to the GDPR, people affected by memorisation have rights in relation to their data, including the rights to object, access and erasure. These rights are not absolute: a controller may depart from them in several situations, for example where a request is manifestly unfounded or excessive (Article 12), or where the controller is unable to identify the person concerned. The CNIL’s guidance on exercising rights provides further details."
461
- ),
462
- p(
463
- "At a time when European bodies are confirming that data-protection law also applies to AI models, the CNIL wishes to study the conditions under which these rights could be exercised within the highly dynamic open-source AI ecosystem."
464
- ),
465
- Spacer(1, 8 * mm),
466
- Table(
467
- [[Paragraph(
468
- "This document is an English translation of the French information notice made available by the CNIL for the GenMod application. In the event of any discrepancy, the French version is the reference version.",
469
- ParagraphStyle(
470
- "TranslationNote",
471
- parent=body,
472
- textColor=CNIL_BLUE,
473
- backColor=LIGHT_BLUE,
474
- borderPadding=8,
475
- ),
476
- )]],
477
- colWidths=[170 * mm],
478
- ),
479
- ]
480
-
481
- doc.build(story, onFirstPage=decorate_page, onLaterPages=decorate_page)
482
-
483
-
484
- def main() -> None:
485
- parser = argparse.ArgumentParser()
486
- parser.add_argument(
487
- "--source",
488
- type=Path,
489
- default=Path("application_neo4j/static/notice/notice.pdf"),
490
- )
491
- parser.add_argument(
492
- "--output",
493
- type=Path,
494
- default=Path("application_neo4j/static/notice/notice_en.pdf"),
495
- )
496
- args = parser.parse_args()
497
- args.output.parent.mkdir(parents=True, exist_ok=True)
498
- generate(args.source, args.output)
499
- print(f"Generated {args.output}")
500
-
501
-
502
- if __name__ == "__main__":
503
- main()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
application_neo4j/static/notice/notice.pdf CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:98c0455e1d8419a184a2471fc69960027976f9cb7d9ee07752516c3b216b4a79
3
- size 1166198
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dced59e9dc43bd1823fd18cee4005415e375e9f77c7a58bc6ffcf3a48e732a3c
3
+ size 409000
application_neo4j/static/notice/notice_en.pdf DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:abec965848c0fd334609151abd08615455a57872fbd0709961e6c8a8ddb2e93b
3
- size 383279
 
 
 
 
application_neo4j/templates/expert.html CHANGED
@@ -18,18 +18,13 @@
18
  </head>
19
 
20
  <body class="d-flex flex-column min-vh-100">
21
- <div id="legacy-browser-warning" class="legacy-browser-warning" role="alert" hidden>{{ t('site.legacy_browser_warning') }}</div>
22
- <script src="{{ url_for('static', filename='js/browser_compatibility.js') }}"></script>
23
  <header class="navbar navbar-expand-lg navbar-light bg-light border-bottom">
24
  <div class="container">
25
  <a class="navbar-brand" href="{{ url_for('home', lang=current_lang) }}">
26
  <span class="fw-bold">{{ t('site.nav_brand_model_expert') }}</span>
27
  <small class="d-block text-muted">{{ t('site.nav_subtitle') }}</small>
28
  </a>
29
- <div class="navbar-actions d-flex align-items-center justify-content-end flex-wrap gap-2">
30
- <a href="{{ url_for('home', lang=current_lang) }}" class="btn btn-sm btn-dark me-3">
31
- <i class="bi bi-house-door-fill me-1" aria-hidden="true"></i>{{ t('site.home_button') }}
32
- </a>
33
  <a href="{{ url_for('set_language_route', lang='fr') }}" class="btn btn-sm {{ 'btn-primary' if current_lang == 'fr' else 'btn-outline-primary' }}">{{ t('lang.fr') }}</a>
34
  <a href="{{ url_for('set_language_route', lang='en') }}" class="btn btn-sm {{ 'btn-primary' if current_lang == 'en' else 'btn-outline-primary' }}">{{ t('lang.en') }}</a>
35
  </div>
 
18
  </head>
19
 
20
  <body class="d-flex flex-column min-vh-100">
 
 
21
  <header class="navbar navbar-expand-lg navbar-light bg-light border-bottom">
22
  <div class="container">
23
  <a class="navbar-brand" href="{{ url_for('home', lang=current_lang) }}">
24
  <span class="fw-bold">{{ t('site.nav_brand_model_expert') }}</span>
25
  <small class="d-block text-muted">{{ t('site.nav_subtitle') }}</small>
26
  </a>
27
+ <div class="d-flex gap-2">
 
 
 
28
  <a href="{{ url_for('set_language_route', lang='fr') }}" class="btn btn-sm {{ 'btn-primary' if current_lang == 'fr' else 'btn-outline-primary' }}">{{ t('lang.fr') }}</a>
29
  <a href="{{ url_for('set_language_route', lang='en') }}" class="btn btn-sm {{ 'btn-primary' if current_lang == 'en' else 'btn-outline-primary' }}">{{ t('lang.en') }}</a>
30
  </div>
application_neo4j/templates/index.html CHANGED
@@ -5,7 +5,7 @@
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>{{ t('site.title_home') }}</title>
7
  <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
8
- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
9
 
10
  <style>/* Style simple pour la page d'accueil */
11
  body {
@@ -116,30 +116,11 @@
116
  background: #3498db;
117
  color: #fff;
118
  }
119
-
120
- @media (max-width: 575.98px) {
121
- .lang-switch {
122
- position: static;
123
- justify-content: flex-end;
124
- padding: 12px 15px 0;
125
- }
126
-
127
- .welcome-container {
128
- padding-top: 24px;
129
- }
130
-
131
- .content-card {
132
- padding: 22px;
133
- text-align: left;
134
- }
135
- }
136
 
137
  </style>
138
  </head>
139
 
140
  <body>
141
- <div id="legacy-browser-warning" class="legacy-browser-warning" role="alert" hidden>{{ t('site.legacy_browser_warning') }}</div>
142
- <script src="{{ url_for('static', filename='js/browser_compatibility.js') }}"></script>
143
  <!-- Language selector -->
144
  <div class="lang-switch">
145
  <a href="{{ url_for('set_language_route', lang='fr') }}" class="{{ 'active' if current_lang == 'fr' else '' }}">{{ t('lang.fr') }}</a>
@@ -148,7 +129,7 @@
148
 
149
  <div class="welcome-container">
150
  <h1>{{ t('home.welcome_title') }}</h1>
151
- <a href="{{ url_for('static', filename='notice/notice_en.pdf' if current_lang == 'en' else 'notice/notice.pdf') }}" class="btn-modern" target="_blank">{{ t('home.more_info') }}</a>
152
  </div>
153
  <div class="container content-section">
154
  <div class="row g-4">
 
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>{{ t('site.title_home') }}</title>
7
  <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
8
+ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
9
 
10
  <style>/* Style simple pour la page d'accueil */
11
  body {
 
116
  background: #3498db;
117
  color: #fff;
118
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
119
 
120
  </style>
121
  </head>
122
 
123
  <body>
 
 
124
  <!-- Language selector -->
125
  <div class="lang-switch">
126
  <a href="{{ url_for('set_language_route', lang='fr') }}" class="{{ 'active' if current_lang == 'fr' else '' }}">{{ t('lang.fr') }}</a>
 
129
 
130
  <div class="welcome-container">
131
  <h1>{{ t('home.welcome_title') }}</h1>
132
+ <a href="{{ url_for('static', filename='notice/notice.pdf') }}" class="btn-modern" target="_blank">{{ t('home.more_info') }}</a>
133
  </div>
134
  <div class="container content-section">
135
  <div class="row g-4">
application_neo4j/templates/infos.html CHANGED
@@ -1,43 +1,18 @@
1
  <!DOCTYPE html>
2
- <html lang="{{ current_lang }}">
3
  <head>
4
  <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>{{ t('home.more_info') }}</title>
7
  <style>
8
  body, html { margin: 0; padding: 0; height: 100%; overflow: hidden; }
9
- body { display: flex; flex-direction: column; font-family: sans-serif; }
10
- .legacy-browser-warning { display: none; padding: 0.75rem 1rem; color: #664d03; background: #fff3cd; border-bottom: 1px solid #ffecb5; font-weight: 600; text-align: center; }
11
- .toolbar {
12
- display: flex;
13
- align-items: center;
14
- padding: 0.75rem 1rem;
15
- background: #f8f9fa;
16
- border-bottom: 1px solid #dee2e6;
17
- }
18
- .home-button {
19
- color: #fff;
20
- background: #212529;
21
- border: 1px solid #212529;
22
- border-radius: 0.25rem;
23
- padding: 0.375rem 0.75rem;
24
- text-decoration: none;
25
- font-weight: 600;
26
- }
27
- .home-button:hover { color: #fff; background: #424649; }
28
- .pdf-container { width: 100%; height: calc(100% - 52px); flex: 1; min-height: 0; }
29
- .pdf-container iframe { display: block; border: none; width: 100%; height: 100%; }
30
  </style>
31
  </head>
32
  <body>
33
- <div id="legacy-browser-warning" class="legacy-browser-warning" role="alert" hidden>{{ t('site.legacy_browser_warning') }}</div>
34
- <script src="{{ url_for('static', filename='js/browser_compatibility.js') }}"></script>
35
- <nav class="toolbar" aria-label="{{ t('site.home_button') }}">
36
- <a class="home-button" href="{{ url_for('home', lang=current_lang) }}">⌂ {{ t('site.home_button') }}</a>
37
- </nav>
38
  <div class="pdf-container">
39
  <!-- Cette balise iframe va afficher votre PDF -->
40
  <iframe src="{{ url_for('static', filename='pdf/plus_infos_interface.pdf') }}"></iframe>
41
  </div>
42
  </body>
43
- </html>
 
1
  <!DOCTYPE html>
2
+ <html lang="fr">
3
  <head>
4
  <meta charset="UTF-8">
5
+ <title>Plus d'informations</title>
 
6
  <style>
7
  body, html { margin: 0; padding: 0; height: 100%; overflow: hidden; }
8
+ .pdf-container { width: 100%; height: 100%; }
9
+ .pdf-container iframe { border: none; width: 100%; height: 100%; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  </style>
11
  </head>
12
  <body>
 
 
 
 
 
13
  <div class="pdf-container">
14
  <!-- Cette balise iframe va afficher votre PDF -->
15
  <iframe src="{{ url_for('static', filename='pdf/plus_infos_interface.pdf') }}"></iframe>
16
  </div>
17
  </body>
18
+ </html>
application_neo4j/templates/search.html CHANGED
@@ -33,18 +33,13 @@
33
  </head>
34
 
35
  <body class="d-flex flex-column min-vh-100">
36
- <div id="legacy-browser-warning" class="legacy-browser-warning" role="alert" hidden>{{ t('site.legacy_browser_warning') }}</div>
37
- <script src="{{ url_for('static', filename='js/browser_compatibility.js') }}"></script>
38
  <header class="navbar navbar-expand-lg navbar-light bg-light border-bottom">
39
  <div class="container">
40
  <a class="navbar-brand" href="{{ url_for('home', lang=current_lang) }}">
41
  <span class="fw-bold">{{ t('site.nav_brand') }}</span>
42
  <small class="d-block text-muted">{{ t('site.nav_subtitle_full') }}</small>
43
  </a>
44
- <div class="navbar-actions d-flex align-items-center justify-content-end flex-wrap gap-2">
45
- <a href="{{ url_for('home', lang=current_lang) }}" class="btn btn-sm btn-dark me-3">
46
- <i class="bi bi-house-door-fill me-1" aria-hidden="true"></i>{{ t('site.home_button') }}
47
- </a>
48
  <a href="{{ url_for('set_language_route', lang='fr') }}" class="btn btn-sm {{ 'btn-primary' if current_lang == 'fr' else 'btn-outline-primary' }}">{{ t('lang.fr') }}</a>
49
  <a href="{{ url_for('set_language_route', lang='en') }}" class="btn btn-sm {{ 'btn-primary' if current_lang == 'en' else 'btn-outline-primary' }}">{{ t('lang.en') }}</a>
50
  </div>
@@ -179,8 +174,8 @@
179
  <span class="badge {{ badge.class }} on-top"
180
  data-bs-toggle="tooltip"
181
  data-bs-placement="top"
182
- title="{{ t(badge.title_key) }}">
183
- {{ t(badge.text_key) }}
184
  </span>
185
  {% endfor %}
186
  </div>
@@ -305,8 +300,8 @@
305
  <span class="badge {{ badge.class }} on-top"
306
  data-bs-toggle="tooltip"
307
  data-bs-placement="top"
308
- title="{{ t(badge.title_key) }}">
309
- {{ t(badge.text_key) }}
310
  </span>
311
  {% endfor %}
312
  </div>
 
33
  </head>
34
 
35
  <body class="d-flex flex-column min-vh-100">
 
 
36
  <header class="navbar navbar-expand-lg navbar-light bg-light border-bottom">
37
  <div class="container">
38
  <a class="navbar-brand" href="{{ url_for('home', lang=current_lang) }}">
39
  <span class="fw-bold">{{ t('site.nav_brand') }}</span>
40
  <small class="d-block text-muted">{{ t('site.nav_subtitle_full') }}</small>
41
  </a>
42
+ <div class="d-flex gap-2">
 
 
 
43
  <a href="{{ url_for('set_language_route', lang='fr') }}" class="btn btn-sm {{ 'btn-primary' if current_lang == 'fr' else 'btn-outline-primary' }}">{{ t('lang.fr') }}</a>
44
  <a href="{{ url_for('set_language_route', lang='en') }}" class="btn btn-sm {{ 'btn-primary' if current_lang == 'en' else 'btn-outline-primary' }}">{{ t('lang.en') }}</a>
45
  </div>
 
174
  <span class="badge {{ badge.class }} on-top"
175
  data-bs-toggle="tooltip"
176
  data-bs-placement="top"
177
+ title="{{ badge.title }}">
178
+ {{ badge.text }}
179
  </span>
180
  {% endfor %}
181
  </div>
 
300
  <span class="badge {{ badge.class }} on-top"
301
  data-bs-toggle="tooltip"
302
  data-bs-placement="top"
303
+ title="{{ badge.title }}">
304
+ {{ badge.text }}
305
  </span>
306
  {% endfor %}
307
  </div>
application_neo4j/templates/search_dataset.html CHANGED
@@ -33,18 +33,13 @@
33
  </head>
34
 
35
  <body class="d-flex flex-column min-vh-100">
36
- <div id="legacy-browser-warning" class="legacy-browser-warning" role="alert" hidden>{{ t('site.legacy_browser_warning') }}</div>
37
- <script src="{{ url_for('static', filename='js/browser_compatibility.js') }}"></script>
38
  <header class="navbar navbar-expand-lg navbar-light bg-light border-bottom">
39
  <div class="container">
40
  <a class="navbar-brand" href="{{ url_for('home', lang=current_lang) }}">
41
  <span class="fw-bold">{{ t('site.nav_brand') }}</span>
42
  <small class="d-block text-muted">{{ t('site.nav_subtitle') }}</small>
43
  </a>
44
- <div class="navbar-actions d-flex align-items-center justify-content-end flex-wrap gap-2">
45
- <a href="{{ url_for('home', lang=current_lang) }}" class="btn btn-sm btn-dark me-3">
46
- <i class="bi bi-house-door-fill me-1" aria-hidden="true"></i>{{ t('site.home_button') }}
47
- </a>
48
  <a href="{{ url_for('set_language_route', lang='fr') }}" class="btn btn-sm {{ 'btn-primary' if current_lang == 'fr' else 'btn-outline-primary' }}">{{ t('lang.fr') }}</a>
49
  <a href="{{ url_for('set_language_route', lang='en') }}" class="btn btn-sm {{ 'btn-primary' if current_lang == 'en' else 'btn-outline-primary' }}">{{ t('lang.en') }}</a>
50
  </div>
 
33
  </head>
34
 
35
  <body class="d-flex flex-column min-vh-100">
 
 
36
  <header class="navbar navbar-expand-lg navbar-light bg-light border-bottom">
37
  <div class="container">
38
  <a class="navbar-brand" href="{{ url_for('home', lang=current_lang) }}">
39
  <span class="fw-bold">{{ t('site.nav_brand') }}</span>
40
  <small class="d-block text-muted">{{ t('site.nav_subtitle') }}</small>
41
  </a>
42
+ <div class="d-flex gap-2">
 
 
 
43
  <a href="{{ url_for('set_language_route', lang='fr') }}" class="btn btn-sm {{ 'btn-primary' if current_lang == 'fr' else 'btn-outline-primary' }}">{{ t('lang.fr') }}</a>
44
  <a href="{{ url_for('set_language_route', lang='en') }}" class="btn btn-sm {{ 'btn-primary' if current_lang == 'en' else 'btn-outline-primary' }}">{{ t('lang.en') }}</a>
45
  </div>
application_neo4j/translations.py CHANGED
@@ -45,8 +45,6 @@ TRANSLATIONS = {
45
  "site.nav_brand_model_expert": "Généalogie des Modèles",
46
  "site.nav_subtitle": "Exploration des relations entre modèles et datasets",
47
  "site.nav_subtitle_full": "Exploration des relations entre modèles et datasets (base de données actualisée le {date})",
48
- "site.home_button": "Accueil",
49
- "site.legacy_browser_warning": "Ce navigateur n’est plus pris en charge. Pour un affichage stable, utilisez une version récente de Firefox, Chrome, Edge ou Safari.",
50
  "site.footer": "Application de recherche et visualisation des relations entre modèles et jeux de données publiés sur la plateforme HuggingFace. © 2025",
51
  "site.footer_expert": "Application de recherche et visualisation... © 2025",
52
 
@@ -100,7 +98,7 @@ TRANSLATIONS = {
100
  "search.page_lead_dataset": "Explorez la généalogie des modèles et datasets",
101
  "search.label_name": "Nom à rechercher",
102
  "search.placeholder_model": "Taper le nom du modèle ou l'id de son repo Hugging Face.",
103
- "search.placeholder_dataset": "Taper le nom du dataset à investiguer.",
104
  "search.label_filters": "Filtres",
105
  "search.filter_model": "Modèle",
106
  "search.filter_dataset": "Dataset",
@@ -197,7 +195,7 @@ TRANSLATIONS = {
197
  # ── expert.html ──
198
  "expert.page_title": "Recherche Experte",
199
  "expert.page_lead": "Explorez et filtrez la généalogie des modèles",
200
- "expert.placeholder": "Taper le nom du modèle à investiguer.",
201
  "expert.filter_author": "Auteur",
202
  "expert.connected_component": "Composante connexe du noeud recherché",
203
  "expert.legend_title": "Légendes",
@@ -284,8 +282,6 @@ TRANSLATIONS = {
284
  "site.nav_brand_model_expert": "Model Genealogy",
285
  "site.nav_subtitle": "Exploration of relations between models and datasets",
286
  "site.nav_subtitle_full": "Exploration of relations between models and datasets (database updated on {date})",
287
- "site.home_button": "Home",
288
- "site.legacy_browser_warning": "This browser is no longer supported. For a stable display, use a recent version of Firefox, Chrome, Edge or Safari.",
289
  "site.footer": "Application for searching and visualizing relations between models and datasets published on the HuggingFace platform. © 2025",
290
  "site.footer_expert": "Application for searching and visualizing... © 2025",
291
 
 
45
  "site.nav_brand_model_expert": "Généalogie des Modèles",
46
  "site.nav_subtitle": "Exploration des relations entre modèles et datasets",
47
  "site.nav_subtitle_full": "Exploration des relations entre modèles et datasets (base de données actualisée le {date})",
 
 
48
  "site.footer": "Application de recherche et visualisation des relations entre modèles et jeux de données publiés sur la plateforme HuggingFace. © 2025",
49
  "site.footer_expert": "Application de recherche et visualisation... © 2025",
50
 
 
98
  "search.page_lead_dataset": "Explorez la généalogie des modèles et datasets",
99
  "search.label_name": "Nom à rechercher",
100
  "search.placeholder_model": "Taper le nom du modèle ou l'id de son repo Hugging Face.",
101
+ "search.placeholder_dataset": "Taper le nom du dataset suspecté.",
102
  "search.label_filters": "Filtres",
103
  "search.filter_model": "Modèle",
104
  "search.filter_dataset": "Dataset",
 
195
  # ── expert.html ──
196
  "expert.page_title": "Recherche Experte",
197
  "expert.page_lead": "Explorez et filtrez la généalogie des modèles",
198
+ "expert.placeholder": "Taper le nom du modèle suspecté.",
199
  "expert.filter_author": "Auteur",
200
  "expert.connected_component": "Composante connexe du noeud recherché",
201
  "expert.legend_title": "Légendes",
 
282
  "site.nav_brand_model_expert": "Model Genealogy",
283
  "site.nav_subtitle": "Exploration of relations between models and datasets",
284
  "site.nav_subtitle_full": "Exploration of relations between models and datasets (database updated on {date})",
 
 
285
  "site.footer": "Application for searching and visualizing relations between models and datasets published on the HuggingFace platform. © 2025",
286
  "site.footer_expert": "Application for searching and visualizing... © 2025",
287