Spaces:
Sleeping
Sleeping
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 +6 -0
- assets/{fairness_vs_episode.png β component_rewards.png} +2 -2
- assets/reward_vs_episode.png +2 -2
- assets/training_loss.png +0 -3
- server/app.py +3 -0
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 |
+

|
| 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
|
|
Git LFS Details
|
assets/training_loss.png
DELETED
Git LFS Details
|
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")
|