Spaces:
Sleeping
Sleeping
AE-Shree commited on
Commit ·
794d0bb
1
Parent(s): 083a1d6
Feat: Cosmetic Changes In UI
Browse files- src/App.js +5 -3
src/App.js
CHANGED
|
@@ -557,16 +557,18 @@ export default function App() {
|
|
| 557 |
theme={theme} title="Reward Model Output" icon="⚖️" accent="#f59e0b"
|
| 558 |
content={rewardOutput} loading={loading && sftOutput && !rewardOutput}
|
| 559 |
badge={rewardScore && (
|
| 560 |
-
<div style={{
|
|
|
|
|
|
|
|
|
|
| 561 |
<span style={{
|
| 562 |
background: "#f59e0b22", color: "#f59e0b",
|
| 563 |
border: "1px solid #f59e0b55",
|
| 564 |
borderRadius: 6, padding: "2px 10px",
|
| 565 |
-
fontFamily: "monospace", fontWeight: 700, fontSize: 13,
|
| 566 |
}}>
|
| 567 |
Reward: {rewardScore}
|
| 568 |
</span>
|
| 569 |
-
<span style={{
|
| 570 |
(0.25 × contrastive + 0.25 × ROUGE-L + 0.25 × negation_safety + 0.25 × hf_judge)
|
| 571 |
</span>
|
| 572 |
</div>
|
|
|
|
| 557 |
theme={theme} title="Reward Model Output" icon="⚖️" accent="#f59e0b"
|
| 558 |
content={rewardOutput} loading={loading && sftOutput && !rewardOutput}
|
| 559 |
badge={rewardScore && (
|
| 560 |
+
<div style={{
|
| 561 |
+
display: "flex", alignItems: "center", gap: 5,
|
| 562 |
+
fontFamily: "monospace", fontWeight: 700, fontSize: 13,
|
| 563 |
+
}}>
|
| 564 |
<span style={{
|
| 565 |
background: "#f59e0b22", color: "#f59e0b",
|
| 566 |
border: "1px solid #f59e0b55",
|
| 567 |
borderRadius: 6, padding: "2px 10px",
|
|
|
|
| 568 |
}}>
|
| 569 |
Reward: {rewardScore}
|
| 570 |
</span>
|
| 571 |
+
<span style={{ color: theme.textMuted, fontWeight: 700 }}>
|
| 572 |
(0.25 × contrastive + 0.25 × ROUGE-L + 0.25 × negation_safety + 0.25 × hf_judge)
|
| 573 |
</span>
|
| 574 |
</div>
|