Spaces:
Runtime error
Runtime error
LennardZuendorf
commited on
Commit
•
727303f
1
Parent(s):
619e0c5
Feat: Renaming, Updating Texts
Browse files- README.md +3 -3
- ui.py → app.py +14 -5
README.md
CHANGED
@@ -4,9 +4,9 @@ emoji: 🎓
|
|
4 |
colorFrom: red
|
5 |
colorTo: yellow
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 4.
|
8 |
-
app_file:
|
9 |
-
pinned:
|
10 |
license: mit
|
11 |
---
|
12 |
|
|
|
4 |
colorFrom: red
|
5 |
colorTo: yellow
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 4.7.1
|
8 |
+
app_file: app.py
|
9 |
+
pinned: true
|
10 |
license: mit
|
11 |
---
|
12 |
|
ui.py → app.py
RENAMED
@@ -8,31 +8,40 @@ with gr.Blocks() as ui:
|
|
8 |
gr.Markdown(
|
9 |
"""
|
10 |
# Thesis Demo - AI Chat Application with XAI
|
11 |
-
Select between tabs below for the different views.
|
12 |
""")
|
13 |
with gr.Tab("LlaMa 2 ChatBot"):
|
14 |
with gr.Row():
|
15 |
gr.Markdown(
|
16 |
"""
|
17 |
### ChatBot Demo
|
18 |
-
|
19 |
""")
|
20 |
with gr.Row():
|
21 |
gr.ChatInterface(chat.interference)
|
22 |
|
23 |
-
with gr.Tab("SHAP
|
24 |
with gr.Row():
|
25 |
gr.Markdown(
|
26 |
"""
|
27 |
### SHAP Dashboard
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
""")
|
30 |
|
31 |
with gr.Tab("LlaMa 2 Model Overview"):
|
32 |
with gr.Row():
|
33 |
gr.Markdown(
|
34 |
"""
|
35 |
-
### LlaMa 2 Model Overview for Transparency
|
|
|
36 |
""")
|
37 |
|
38 |
|
|
|
8 |
gr.Markdown(
|
9 |
"""
|
10 |
# Thesis Demo - AI Chat Application with XAI
|
11 |
+
### Select between tabs below for the different views.
|
12 |
""")
|
13 |
with gr.Tab("LlaMa 2 ChatBot"):
|
14 |
with gr.Row():
|
15 |
gr.Markdown(
|
16 |
"""
|
17 |
### ChatBot Demo
|
18 |
+
LlaMa 2 7B Model fine-tuned for chat and transformed to huggingface format (see at [HGF](https://huggingface.co/meta-llama/Llama-2-7b-chat-hf))
|
19 |
""")
|
20 |
with gr.Row():
|
21 |
gr.ChatInterface(chat.interference)
|
22 |
|
23 |
+
with gr.Tab("SHAP Dashboard"):
|
24 |
with gr.Row():
|
25 |
gr.Markdown(
|
26 |
"""
|
27 |
### SHAP Dashboard
|
28 |
+
SHAP Visualization Dashboard adopted from [shapash](https://github.com/MAIF/shapash)
|
29 |
+
""")
|
30 |
+
|
31 |
+
with gr.Tab("Visualize Dashboard"):
|
32 |
+
with gr.Row():
|
33 |
+
gr.Markdown(
|
34 |
+
"""
|
35 |
+
### Visualization Dashboard
|
36 |
+
Visualization Dashboard adopted from [BERTViz](https://github.com/jessevig/bertviz)
|
37 |
""")
|
38 |
|
39 |
with gr.Tab("LlaMa 2 Model Overview"):
|
40 |
with gr.Row():
|
41 |
gr.Markdown(
|
42 |
"""
|
43 |
+
### LlaMa 2 Model & Data Overview for Transparency
|
44 |
+
Adopted from official [model paper](https://arxiv.org/abs/2307.09288) by Meta AI
|
45 |
""")
|
46 |
|
47 |
|