Update my_pages/txt_pages.py
Browse files- my_pages/txt_pages.py +23 -23
my_pages/txt_pages.py
CHANGED
|
@@ -8,10 +8,10 @@ def render():
|
|
| 8 |
|
| 9 |
paragraphs = [
|
| 10 |
("A problem central to AI is the 'prediction problem', i.e., "
|
| 11 |
-
"being able to anticipate outcomes based on the information we already have.",
|
| 12 |
("Unfortunately, translating the nuances of real world into 'data' can result in information loss. "
|
| 13 |
-
"This makes the prediction problem <b><i>imperfect</i></b>.",
|
| 14 |
-
("<br><br>Click 'Next' to create data for a real-world problem and notice this information loss.",
|
| 15 |
]
|
| 16 |
|
| 17 |
add_fadein_text(paragraphs)
|
|
@@ -20,13 +20,13 @@ def render():
|
|
| 20 |
add_navigation("information_loss", "rashomon_effect")
|
| 21 |
|
| 22 |
paragraphs = [
|
| 23 |
-
("Since there is missing information, this leaves room for multiple possible ways to fill the gap.",
|
| 24 |
("The existence of multiple equally correct interpretations of data (i.e., AI models), "
|
| 25 |
"with no evidence to elevate one over another due to lack of information, "
|
| 26 |
-
"is known as the <b><i>Rashomon effect.</i></b>",
|
| 27 |
("As these models represent different interpretations of data, they might disagree with each other, "
|
| 28 |
-
"and produce varying predictions for the same input, known as <b><i>predictive multiplicity.</i></b>",
|
| 29 |
-
("<br><br>Click 'Next' to observe the Rashomon effect and predictive multiplicity on an actual dataset.",
|
| 30 |
]
|
| 31 |
|
| 32 |
add_fadein_text(paragraphs)
|
|
@@ -35,10 +35,10 @@ def render():
|
|
| 35 |
add_navigation("rashomon_effect", "rashomon_developer")
|
| 36 |
|
| 37 |
paragraphs = [
|
| 38 |
-
("With the existence of numerous interpretations, the choice to pick one falls on the developer.",
|
| 39 |
("In reality, developers do not simply choose models after training them all, "
|
| 40 |
-
"but instead make implicit choices throughout the model development pipeline that impact the resulting model.",
|
| 41 |
-
("<br><br>Click 'Next' to observe how choices during model development results in the same Rashomon effect as seen before.",
|
| 42 |
]
|
| 43 |
|
| 44 |
add_fadein_text(paragraphs)
|
|
@@ -47,8 +47,8 @@ def render():
|
|
| 47 |
add_navigation("rashomon_developer", "developer_decisions")
|
| 48 |
|
| 49 |
paragraphs = [
|
| 50 |
-
("But a developer makes countless decisions when desiging the model that will impact the eventual interpretation being chosen.",
|
| 51 |
-
("<br><br>Click 'Next' and take just a tiny glimpse into various choices a developer makes when designing an AI model.",
|
| 52 |
]
|
| 53 |
|
| 54 |
add_fadein_text(paragraphs)
|
|
@@ -57,12 +57,12 @@ def render():
|
|
| 57 |
add_navigation("developer_decisions", "ica")
|
| 58 |
|
| 59 |
paragraphs = [
|
| 60 |
-
("With so many decisions to take, it is not possible to make sure each decision is deliberate and appropriately chosen.",
|
| 61 |
("We use the <b><i>intention-convention-arbitrariness (ICA)</b></i> framework to better understand these decisions.", 3),
|
| 62 |
-
("Intentional decisions are taken with an understanding of how they will impact the resulting model.",
|
| 63 |
-
("Conventional decisions simply follow existing trends or conventions, without studying their impact in the context.",
|
| 64 |
-
("Arbitrary decisions force randomness in model design without any conventional bias or intentional understanding of their impact.",
|
| 65 |
-
("<br><br>Click 'Next' to discover how various developer decisions fit into the ICA framework.",
|
| 66 |
]
|
| 67 |
|
| 68 |
add_fadein_text(paragraphs)
|
|
@@ -72,11 +72,11 @@ def render():
|
|
| 72 |
|
| 73 |
paragraphs = [
|
| 74 |
("Conventional decisions by developers can lead to <b><i>homogenization</b></i>, as different models start to converge to similar behaviour. "
|
| 75 |
-
"Homogenization create concerns of systemic bias and reduced diversity.",
|
| 76 |
("Arbitrary decisions, on the other hand, can lead to <b><i>conflicting predictions</b></i> between different models. "
|
| 77 |
"Conflicting predictions create capriciousness, thus a 'lack of justification' for arbitrariness in predictions.", 5),
|
| 78 |
-
("Let's get into the role of a developer to understand these concerns and why they matter.",
|
| 79 |
-
("<br><br>Click 'Next' to train your own models to traverse the multiverse.",
|
| 80 |
]
|
| 81 |
|
| 82 |
add_fadein_text(paragraphs)
|
|
@@ -85,10 +85,10 @@ def render():
|
|
| 85 |
add_navigation("multiverse", "conclusion")
|
| 86 |
|
| 87 |
paragraphs = [
|
| 88 |
-
("AI prediction problems will rarely <i>(read 'never')</i> have just one solution, thus creating multiplicity.",
|
| 89 |
("Navigating the multiplicity of models is an extremely important problem in AI, "
|
| 90 |
-
"as it directly impacts the individuals and the decisions they receive.",
|
| 91 |
-
("<br><br>The field of multiplicity is quite young, and we are excited to see what's next!",
|
| 92 |
]
|
| 93 |
|
| 94 |
add_fadein_text(paragraphs)
|
|
|
|
| 8 |
|
| 9 |
paragraphs = [
|
| 10 |
("A problem central to AI is the 'prediction problem', i.e., "
|
| 11 |
+
"being able to anticipate outcomes based on the information we already have.", 0),
|
| 12 |
("Unfortunately, translating the nuances of real world into 'data' can result in information loss. "
|
| 13 |
+
"This makes the prediction problem <b><i>imperfect</i></b>.", 3),
|
| 14 |
+
("<br><br>Click 'Next' to create data for a real-world problem and notice this information loss.", 8)
|
| 15 |
]
|
| 16 |
|
| 17 |
add_fadein_text(paragraphs)
|
|
|
|
| 20 |
add_navigation("information_loss", "rashomon_effect")
|
| 21 |
|
| 22 |
paragraphs = [
|
| 23 |
+
("Since there is missing information, this leaves room for multiple possible ways to fill the gap.", 0),
|
| 24 |
("The existence of multiple equally correct interpretations of data (i.e., AI models), "
|
| 25 |
"with no evidence to elevate one over another due to lack of information, "
|
| 26 |
+
"is known as the <b><i>Rashomon effect.</i></b>", 3),
|
| 27 |
("As these models represent different interpretations of data, they might disagree with each other, "
|
| 28 |
+
"and produce varying predictions for the same input, known as <b><i>predictive multiplicity.</i></b>", 7),
|
| 29 |
+
("<br><br>Click 'Next' to observe the Rashomon effect and predictive multiplicity on an actual dataset.", 11)
|
| 30 |
]
|
| 31 |
|
| 32 |
add_fadein_text(paragraphs)
|
|
|
|
| 35 |
add_navigation("rashomon_effect", "rashomon_developer")
|
| 36 |
|
| 37 |
paragraphs = [
|
| 38 |
+
("With the existence of numerous interpretations, the choice to pick one falls on the developer.", 0),
|
| 39 |
("In reality, developers do not simply choose models after training them all, "
|
| 40 |
+
"but instead make implicit choices throughout the model development pipeline that impact the resulting model.", 3),
|
| 41 |
+
("<br><br>Click 'Next' to observe how choices during model development results in the same Rashomon effect as seen before.", 7)
|
| 42 |
]
|
| 43 |
|
| 44 |
add_fadein_text(paragraphs)
|
|
|
|
| 47 |
add_navigation("rashomon_developer", "developer_decisions")
|
| 48 |
|
| 49 |
paragraphs = [
|
| 50 |
+
("But a developer makes countless decisions when desiging the model that will impact the eventual interpretation being chosen.", 0),
|
| 51 |
+
("<br><br>Click 'Next' and take just a tiny glimpse into various choices a developer makes when designing an AI model.", 4)
|
| 52 |
]
|
| 53 |
|
| 54 |
add_fadein_text(paragraphs)
|
|
|
|
| 57 |
add_navigation("developer_decisions", "ica")
|
| 58 |
|
| 59 |
paragraphs = [
|
| 60 |
+
("With so many decisions to take, it is not possible to make sure each decision is deliberate and appropriately chosen.", 0),
|
| 61 |
("We use the <b><i>intention-convention-arbitrariness (ICA)</b></i> framework to better understand these decisions.", 3),
|
| 62 |
+
("Intentional decisions are taken with an understanding of how they will impact the resulting model.", 6),
|
| 63 |
+
("Conventional decisions simply follow existing trends or conventions, without studying their impact in the context.", 9),
|
| 64 |
+
("Arbitrary decisions force randomness in model design without any conventional bias or intentional understanding of their impact.", 12),
|
| 65 |
+
("<br><br>Click 'Next' to discover how various developer decisions fit into the ICA framework.", 15)
|
| 66 |
]
|
| 67 |
|
| 68 |
add_fadein_text(paragraphs)
|
|
|
|
| 72 |
|
| 73 |
paragraphs = [
|
| 74 |
("Conventional decisions by developers can lead to <b><i>homogenization</b></i>, as different models start to converge to similar behaviour. "
|
| 75 |
+
"Homogenization create concerns of systemic bias and reduced diversity.", 0),
|
| 76 |
("Arbitrary decisions, on the other hand, can lead to <b><i>conflicting predictions</b></i> between different models. "
|
| 77 |
"Conflicting predictions create capriciousness, thus a 'lack of justification' for arbitrariness in predictions.", 5),
|
| 78 |
+
("Let's get into the role of a developer to understand these concerns and why they matter.", 10),
|
| 79 |
+
("<br><br>Click 'Next' to train your own models to traverse the multiverse.", 12)
|
| 80 |
]
|
| 81 |
|
| 82 |
add_fadein_text(paragraphs)
|
|
|
|
| 85 |
add_navigation("multiverse", "conclusion")
|
| 86 |
|
| 87 |
paragraphs = [
|
| 88 |
+
("AI prediction problems will rarely <i>(read 'never')</i> have just one solution, thus creating multiplicity.", 0),
|
| 89 |
("Navigating the multiplicity of models is an extremely important problem in AI, "
|
| 90 |
+
"as it directly impacts the individuals and the decisions they receive.", 2),
|
| 91 |
+
("<br><br>The field of multiplicity is quite young, and we are excited to see what's next!", 6),
|
| 92 |
]
|
| 93 |
|
| 94 |
add_fadein_text(paragraphs)
|