prakharg24 commited on
Commit
8beb191
·
verified ·
1 Parent(s): 13991c8

Update my_pages/home.py

Browse files
Files changed (1) hide show
  1. my_pages/home.py +7 -7
my_pages/home.py CHANGED
@@ -38,12 +38,12 @@ def render():
38
  )
39
 
40
  sentences = [
41
- (["Translating real world into concrete data", "to train AI models leads to", "inherent loss in information."], "information_loss"),
42
- (["This loss in information leaves room for multiple interpretations of the data, known as the Rashomon effect. \
43
- This can lead to conflicting predictions across various interpretations for individuals, known as Multiplicity."], "rashomon_effect"),
44
- (["Model developers play an important role steering the model across multiple interpretations, leading to a particular choice."], "developer_decisions"),
45
- (["ICA Framework."], "ica"),
46
- (["Multiverse"], "multiverse"),
47
  ]
48
  color_dict = {"information_loss": "#FF6B6B", "rashomon_effect": "#FFD93D", "developer_decisions": "#6BCB77", "ica": "#FF9F1C", "multiverse": "#9D4EDD"}
49
 
@@ -60,7 +60,7 @@ def render():
60
  # string_to_add =
61
 
62
  # Join with LaTeX line breaks
63
- latex_content = r"$\large" + r"\\".join([rf"\text{{{line}}}" for line in text]) + r"$"
64
  # button_clicked_dict[page] = st.button(rf"$\large\text{{{text}}}$", type="primary")
65
  button_clicked_dict[page] = st.button(latex_content, type="primary")
66
 
 
38
  )
39
 
40
  sentences = [
41
+ (["Translating the real world into concrete data", "can result in information loss."], "information_loss"),
42
+ (["This leaves room for multiple interpretations", "of the data (Rashomon effect),", "thus leading to conflicting predictions (Multiplicity)."], "rashomon_effect"),
43
+ (["Model development involves countless decisions,", "many of which directly impact", "the eventual interpretation being chosen."], "developer_decisions"),
44
+ (["Under the intention-convention-arbitrariness (ICA) framework,"], "ica"),
45
+ (["while intentional decisions can help improve model properties,", "conventional decisions can lead to homogenization,",
46
+ "and arbitrary decisions can lead to conflicting predictions."], "multiverse"),
47
  ]
48
  color_dict = {"information_loss": "#FF6B6B", "rashomon_effect": "#FFD93D", "developer_decisions": "#6BCB77", "ica": "#FF9F1C", "multiverse": "#9D4EDD"}
49
 
 
60
  # string_to_add =
61
 
62
  # Join with LaTeX line breaks
63
+ latex_content = r"$\normalsize" + r"\\".join([rf"\text{{{line}}}" for line in text]) + r"$"
64
  # button_clicked_dict[page] = st.button(rf"$\large\text{{{text}}}$", type="primary")
65
  button_clicked_dict[page] = st.button(latex_content, type="primary")
66