jeremierostan commited on
Commit
f721c90
·
verified ·
1 Parent(s): 0656ddb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +29 -2
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  title: Data Protection Team
3
- emoji:
4
  colorFrom: indigo
5
  colorTo: indigo
6
  sdk: gradio
@@ -8,6 +8,33 @@ sdk_version: 4.39.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
 
 
 
11
  ---
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  title: Data Protection Team
3
+ emoji: 👁
4
  colorFrom: indigo
5
  colorTo: indigo
6
  sdk: gradio
 
8
  app_file: app.py
9
  pinned: false
10
  license: mit
11
+ thumbnail: >-
12
+ https://cdn-uploads.huggingface.co/production/uploads/64964a906105da037e718533/aJsEdKX_7CHjvj9ismtAr.jpeg
13
+ short_description: I help educators comply with data protection regulations
14
  ---
15
 
16
+ <img src="https://i.postimg.cc/3RkhNTY9/ED-COACH-4.jpg">
17
+
18
+ Data protection is paramount when using AI in a school context, but compliance can be difficult when regulations are so complex.
19
+
20
+ Fortunately, AI can help!
21
+
22
+ This space answers educators' data protection related questions and uses advanced techniques to ensure responses are reliable and actionable.
23
+
24
+ <img src="https://i.postimg.cc/vT66WkLt/Screenshot-2024-07-27-at-17-08-55.png">
25
+
26
+ - It optimizes the user question for retrieval with a light HyDE strategy
27
+ - It uses RAG to ground Llama3.1-70B answers in official GDPR, FERPA, and COPPA regulations
28
+ - It combines RAG with a long context approach passing the entire documents to Gemini 1.5 Pro
29
+ - It uses GPT-4o to synthesize the responses of these two models
30
+ - It equips GTP-4o with a Chain-of-Thought system message and instructs it to detects inconsistences / potential hallucinations
31
+
32
+ Simple experiments using Claude 3.5 Sonnet as a judge indicate that this approach improves the quality of responses by 5%-10%
33
+ compared to a Custom GPT.
34
+
35
+ The space is password-protected, but you can
36
+
37
+ - Duplicate it and set your own API keys as secret
38
+ - Edit the reference documents in app.py if you want to use different / additional regulations
39
+ - And even duplicate [this other space](https://huggingface.co/spaces/jeremierostan/Claude_as_a_Judge) if you want to compare its performance
40
+ to a Custom GPT such as [this one](https://chatgpt.com/g/g-c9WGlOr9m-data-protection-coach).