joshua400 commited on
Commit
dbe1840
Β·
1 Parent(s): b8afba2

πŸš€ FINAL SYNC: Integrated final plot assets from asset_final into main UI and README

Browse files
README.md CHANGED
@@ -172,6 +172,12 @@ LLM Agent (GRPO trained)
172
 
173
  *Figure 5: Total Fairness Score across episodes. The training successfully pushed the agent to consider vulnerable zones, resulting in a consistent upward trend in equity achievement.*
174
 
 
 
 
 
 
 
175
  ### Key Numbers
176
 
177
  | Metric | Greedy Baseline | Sarvam-105B Trained | Ξ” |
 
172
 
173
  *Figure 5: Total Fairness Score across episodes. The training successfully pushed the agent to consider vulnerable zones, resulting in a consistent upward trend in equity achievement.*
174
 
175
+ ### Reward Component Breakdown
176
+
177
+ ![Component Rewards](assets/component_rewards.png)
178
+
179
+ *Figure 6: Decomposed reward components (Utility vs Fairness). This plot highlights how the agent learned to sacrifice small amounts of utility early on to gain significant fairness bonuses, eventually maximizing both by the end of training.*
180
+
181
  ### Key Numbers
182
 
183
  | Metric | Greedy Baseline | Sarvam-105B Trained | Ξ” |
assets/{fairness_vs_episode.png β†’ component_rewards.png} RENAMED
File without changes
assets/reward_vs_episode.png CHANGED

Git LFS Details

  • SHA256: 46b851199c7254a46602962b32c5ef034f92d5ad776389562e40c57b3701eb30
  • Pointer size: 130 Bytes
  • Size of remote file: 36 kB

Git LFS Details

  • SHA256: ae9e2e283c68fcd48cfdcc94cdb9d0aaf9c7916f15104919835c8584f54eea97
  • Pointer size: 131 Bytes
  • Size of remote file: 155 kB
assets/training_loss.png DELETED

Git LFS Details

  • SHA256: 0fcbf5708df16ec70d1881549d0564a37fe74d55aca339ecf19f5adf22459d4f
  • Pointer size: 130 Bytes
  • Size of remote file: 54.2 kB
server/app.py CHANGED
@@ -112,6 +112,7 @@ def _build_app():
112
  heatmap_img = os.path.join(base_dir, "assets", "score_heatmap.png")
113
  loss_img = os.path.join(base_dir, "assets", "training_loss.png")
114
  fair_img = os.path.join(base_dir, "assets", "fairness_vs_episode.png")
 
115
 
116
  with gr.Row():
117
  gr.Image(results_img if os.path.exists(results_img) else None, label="Trained vs Baseline")
@@ -119,6 +120,8 @@ def _build_app():
119
  with gr.Row():
120
  gr.Image(loss_img if os.path.exists(loss_img) else None, label="Reward Convergence")
121
  gr.Image(fair_img if os.path.exists(fair_img) else None, label="Fairness Improvement")
 
 
122
 
123
  with gr.Tab("README"):
124
  readme_path = os.path.join(os.path.dirname(os.path.dirname(__file__)), "README.md")
 
112
  heatmap_img = os.path.join(base_dir, "assets", "score_heatmap.png")
113
  loss_img = os.path.join(base_dir, "assets", "training_loss.png")
114
  fair_img = os.path.join(base_dir, "assets", "fairness_vs_episode.png")
115
+ comp_img = os.path.join(base_dir, "assets", "component_rewards.png")
116
 
117
  with gr.Row():
118
  gr.Image(results_img if os.path.exists(results_img) else None, label="Trained vs Baseline")
 
120
  with gr.Row():
121
  gr.Image(loss_img if os.path.exists(loss_img) else None, label="Reward Convergence")
122
  gr.Image(fair_img if os.path.exists(fair_img) else None, label="Fairness Improvement")
123
+ with gr.Row():
124
+ gr.Image(comp_img if os.path.exists(comp_img) else None, label="Component Breakdown (Utility vs Fairness)")
125
 
126
  with gr.Tab("README"):
127
  readme_path = os.path.join(os.path.dirname(os.path.dirname(__file__)), "README.md")