Spaces:
Running
Running
docs: add Plain English Analogy / ELI5 cards for FrugalGPT and RouterBench to make academic theories intuitive
Browse files- docs/index.html +26 -0
docs/index.html
CHANGED
|
@@ -684,6 +684,18 @@
|
|
| 684 |
</div>
|
| 685 |
</div>
|
| 686 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 687 |
<!-- Live Cascade Simulator Box -->
|
| 688 |
<div class="simulator-box">
|
| 689 |
<h3>🎛️ Interactive Cascade Simulator</h3>
|
|
@@ -789,6 +801,20 @@
|
|
| 789 |
</div>
|
| 790 |
</div>
|
| 791 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 792 |
<!-- Research Papers Reference -->
|
| 793 |
<div class="glass-card" style="margin-top: 2rem;">
|
| 794 |
<h2>📚 Original Research Papers & Reference Hub</h2>
|
|
|
|
| 684 |
</div>
|
| 685 |
</div>
|
| 686 |
|
| 687 |
+
<!-- Plain English Analogy / ELI5 for FrugalGPT -->
|
| 688 |
+
<div class="sub-card" style="margin-top: 1.5rem; background: rgba(109, 40, 217, 0.02); border-color: rgba(109, 40, 217, 0.15); display: flex; gap: 1rem; align-items: flex-start;">
|
| 689 |
+
<span style="font-size: 1.5rem;">💡</span>
|
| 690 |
+
<div>
|
| 691 |
+
<h4 style="font-family: var(--font-outfit); font-weight: 700; color: var(--accent-violet); margin-bottom: 0.25rem;">Plain English Analogy: How FrugalGPT works</h4>
|
| 692 |
+
<p style="font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5;">
|
| 693 |
+
Imagine you want to fry a simple egg. Instead of hiring a Michelin-star chef (an expensive cloud model like GPT-4o), you try a fast-food joint first (a free local model like Ollama).
|
| 694 |
+
If the fast food doesn't taste right (fails format or quality checks), you throw it away and immediately escalate to the fine-dining chef. This sequential escalation saves you massive API costs because most queries are simple "eggs" that local models can handle perfectly!
|
| 695 |
+
</p>
|
| 696 |
+
</div>
|
| 697 |
+
</div>
|
| 698 |
+
|
| 699 |
<!-- Live Cascade Simulator Box -->
|
| 700 |
<div class="simulator-box">
|
| 701 |
<h3>🎛️ Interactive Cascade Simulator</h3>
|
|
|
|
| 801 |
</div>
|
| 802 |
</div>
|
| 803 |
</div>
|
| 804 |
+
|
| 805 |
+
<!-- Plain English Analogy / ELI5 for RouterBench -->
|
| 806 |
+
<div class="sub-card" style="margin-top: 1.5rem; background: rgba(109, 40, 217, 0.02); border-color: rgba(109, 40, 217, 0.15); display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 2rem;">
|
| 807 |
+
<span style="font-size: 1.5rem;">💡</span>
|
| 808 |
+
<div>
|
| 809 |
+
<h4 style="font-family: var(--font-outfit); font-weight: 700; color: var(--accent-violet); margin-bottom: 0.25rem;">Plain English Analogy: Utility Score & AIQ</h4>
|
| 810 |
+
<p style="font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5;">
|
| 811 |
+
Choosing an AI model is like shopping. You want the highest quality item, but at the lowest price.
|
| 812 |
+
The **Utility Score** calculates this: <code>Score = Quality - Cost</code>. If you are rich (high \(\lambda\)), you care more about premium quality; if you're on a budget (low \(\lambda\)), price becomes your primary decision factor.
|
| 813 |
+
**AIQ (Area Under the Curve)** is simply your "shopping efficiency score" across all possible budgets—a smart router pushes this score as high as possible compared to random buying.
|
| 814 |
+
</p>
|
| 815 |
+
</div>
|
| 816 |
+
</div>
|
| 817 |
+
|
| 818 |
<!-- Research Papers Reference -->
|
| 819 |
<div class="glass-card" style="margin-top: 2rem;">
|
| 820 |
<h2>📚 Original Research Papers & Reference Hub</h2>
|