Loubna ben allal
commited on
Commit
Β·
f25abd8
1
Parent(s):
a13c298
update app
Browse files
app.py
CHANGED
|
@@ -42,13 +42,21 @@ datasets = {}
|
|
| 42 |
pipelines = {}
|
| 43 |
|
| 44 |
if selected_task == "Pretraining dataset":
|
| 45 |
-
st.title("Pretraining
|
| 46 |
for model in selected_models:
|
| 47 |
with open(f"datasets/{model.lower()}.txt", "r") as f:
|
| 48 |
text = f.read()
|
| 49 |
-
#datasets[model] = text
|
| 50 |
st.markdown(f"## {model}:")
|
| 51 |
st.markdown(text)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
elif selected_task == "Prompting":
|
| 53 |
for model in selected_models:
|
| 54 |
if model == "CodeParrot":
|
|
|
|
| 42 |
pipelines = {}
|
| 43 |
|
| 44 |
if selected_task == "Pretraining dataset":
|
| 45 |
+
st.title("Pretraining datasets π")
|
| 46 |
for model in selected_models:
|
| 47 |
with open(f"datasets/{model.lower()}.txt", "r") as f:
|
| 48 |
text = f.read()
|
|
|
|
| 49 |
st.markdown(f"## {model}:")
|
| 50 |
st.markdown(text)
|
| 51 |
+
|
| 52 |
+
elif selected_task == "Model architecture":
|
| 53 |
+
st.title("Model architecture π ")
|
| 54 |
+
for model in selected_models:
|
| 55 |
+
with open(f"architectures/{model.lower()}.txt", "r") as f:
|
| 56 |
+
text = f.read()
|
| 57 |
+
st.markdown(f"## {model}:")
|
| 58 |
+
st.markdown(text)
|
| 59 |
+
|
| 60 |
elif selected_task == "Prompting":
|
| 61 |
for model in selected_models:
|
| 62 |
if model == "CodeParrot":
|