aamrinder commited on
Commit
0b7c141
Β·
verified Β·
1 Parent(s): 94aea4c

strip em-dashes and section headings, conversational prose

Browse files
Files changed (1) hide show
  1. docs/side_by_side.html +33 -34
docs/side_by_side.html CHANGED
@@ -1,7 +1,7 @@
1
  <!DOCTYPE html>
2
  <html><head>
3
  <meta charset="utf-8">
4
- <title>Subtext Arena β€” text-only baseline vs prosody-trained, hand-picked clips</title>
5
  <style>
6
  body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
7
  max-width: 1100px; margin: 32px auto; padding: 0 20px; color: #222;
@@ -11,7 +11,7 @@
11
  p.lede { color: #555; margin-top: 0; font-size: 15px; }
12
  .clip { border: 1px solid #ddd; border-radius: 10px; padding: 18px;
13
  margin-bottom: 28px; background: #fafafa; }
14
- .clip h2 { font-size: 17px; margin: 0 0 10px 0; color: #333; }
15
  .gold-sarcastic { color: #b3274d; font-weight: 600; }
16
  .gold-sincere { color: #1d7a4a; font-weight: 600; }
17
  .pivot-tag { background: #fff3cd; color: #8a6d3b; padding: 2px 6px;
@@ -20,8 +20,8 @@
20
  .col { padding: 12px 14px; border-radius: 7px; }
21
  .baseline { background: #fff5f5; border: 1px solid #f8c4c4; }
22
  .trained { background: #effaf3; border: 1px solid #b6e2c1; }
23
- .col h3 { margin: 0 0 8px 0; font-size: 12px; text-transform: uppercase;
24
- letter-spacing: 0.06em; color: #666; font-weight: 700; }
25
  .verdict-correct { color: #1d7a4a; font-weight: 700; }
26
  .verdict-wrong { color: #b3274d; font-weight: 700; }
27
  pre { white-space: pre-wrap; word-wrap: break-word; font-size: 12.5px;
@@ -39,26 +39,26 @@
39
  </style>
40
  </head><body>
41
 
42
- <h1><span class="emoji">🎧</span> Subtext Arena β€” does the prosody-trained model do something the text-only baseline cannot?</h1>
43
- <p class="lede">5 hand-picked MUStARD clips. Same gold labels. Left: vanilla Qwen2.5-3B reading the transcript ALONE (text-only). Right: the GRPO-trained model reading transcript + prosody features. The gap is the audio contribution.</p>
44
 
45
  <div class="summary">
46
  <strong>Tally on these 5 clips:</strong> baseline (text-only) <span class="verdict-wrong">0/5 correct</span>, trained (with prosody) <span class="verdict-correct">5/5 correct</span>.<br>
47
- <small><em>Selected from the 31 clips in the held-out eval where this pattern holds. The full 80-clip held-out eval still shows ~51% balanced accuracy β€” these 5 are the prosody-decisive subset.</em></small>
48
  </div>
49
 
50
  <div class="clip">
51
- <h2>Clip 1_8136 β€” speaker: PERSON | gold: <span class="gold-sarcastic">sarcastic</span><span class="pivot-tag">PIVOT SET</span></h2>
52
  <div class="transcript">"Yeah, I'm really looking forward to it. In fact, there's no place I would rather be than here."</div>
53
  <div class="columns">
54
  <div class="col baseline">
55
- <h3>Baseline β€” text-only Qwen2.5-3B (simple prompt, no prosody)</h3>
56
  <p>predicted: <span class="verdict-wrong">sincere</span> (conf 0.90)</p>
57
- <pre>(text-only baseline doesn't generate reasoning β€” it just outputs Label/Confidence.
58
- The judge had ONLY the transcript + context, no audio descriptors.)</pre>
59
  </div>
60
  <div class="col trained">
61
- <h3>Trained β€” prosody-grounded GRPO checkpoint (full prompt)</h3>
62
  <p>predicted: <span class="verdict-correct">sarcastic</span> (conf 0.90)</p>
63
  <pre>&lt;think&gt;
64
  The speaker uses positive language like "looking forward to it" and "no place I would rather be than here," which are typically used sincerely. However, the prosody doesn't match the sincerity. The pitch is relatively flat with little variation, and there are no internal pauses or emphatic pauses that might indicate genuine excitement. Additionally, the prosody shows no significant rise in energy, which is unusual for someone genuinely enthusiastic about an event. The lack of vocal variety and the flat affect suggest that the speaker is not expressing genuine excitement but rather trying to sound enthusiastic to mask their true feelings.
@@ -69,17 +69,17 @@ The speaker uses positive language like "looking forward to it" and "no place I
69
  </div>
70
 
71
  <div class="clip">
72
- <h2>Clip 1_2792 β€” speaker: PENNY | gold: <span class="gold-sincere">sincere</span><span class="pivot-tag">PIVOT SET</span></h2>
73
  <div class="transcript">"No, I mean, we can always go back to being friends."</div>
74
  <div class="columns">
75
  <div class="col baseline">
76
- <h3>Baseline β€” text-only Qwen2.5-3B (simple prompt, no prosody)</h3>
77
  <p>predicted: <span class="verdict-wrong">sarcastic</span> (conf 0.95)</p>
78
- <pre>(text-only baseline doesn't generate reasoning β€” it just outputs Label/Confidence.
79
- The judge had ONLY the transcript + context, no audio descriptors.)</pre>
80
  </div>
81
  <div class="col trained">
82
- <h3>Trained β€” prosody-grounded GRPO checkpoint (full prompt)</h3>
83
  <p>predicted: <span class="verdict-correct">sincere</span> (conf 0.90)</p>
84
  <pre>&lt;think&gt;
85
  The prosody analysis shows that Penny's pitch is relatively high but not extremely variable, and there are no internal pauses or emphasized pauses. Her tone is neutral and slightly flat, which suggests sincerity rather than sarcasm. Additionally, her statement "No, I mean, we can always go back to being friends" doesn't contain any irony or hidden meaning that would make it sarcastic. The way she says it, with a neutral tone and without any dramatic emphasis, aligns more with sincerity.
@@ -90,17 +90,17 @@ The prosody analysis shows that Penny's pitch is relatively high but not extreme
90
  </div>
91
 
92
  <div class="clip">
93
- <h2>Clip 1_5581 β€” speaker: SHELDON | gold: <span class="gold-sincere">sincere</span><span class="pivot-tag">PIVOT SET</span></h2>
94
  <div class="transcript">"I gargled with tequila and may have swallowed a teeny bit."</div>
95
  <div class="columns">
96
  <div class="col baseline">
97
- <h3>Baseline β€” text-only Qwen2.5-3B (simple prompt, no prosody)</h3>
98
  <p>predicted: <span class="verdict-wrong">sarcastic</span> (conf 0.95)</p>
99
- <pre>(text-only baseline doesn't generate reasoning β€” it just outputs Label/Confidence.
100
- The judge had ONLY the transcript + context, no audio descriptors.)</pre>
101
  </div>
102
  <div class="col trained">
103
- <h3>Trained β€” prosody-grounded GRPO checkpoint (full prompt)</h3>
104
  <p>predicted: <span class="verdict-correct">sincere</span> (conf 0.90)</p>
105
  <pre>&lt;think&gt;
106
  The prosody analysis shows a flat affect with no internal pauses, which suggests sincerity. Sheldon is making a comparison between Jewish and Indian parents, but he is not being sarcastic about it. The tone is matter-of-fact and informative, without any indication of sarcasm. He is simply stating facts about parental behavior without adding any ironic or mocking tone.
@@ -111,17 +111,17 @@ The prosody analysis shows a flat affect with no internal pauses, which suggests
111
  </div>
112
 
113
  <div class="clip">
114
- <h2>Clip 1_4792 β€” speaker: SHELDON | gold: <span class="gold-sincere">sincere</span><span class="pivot-tag">PIVOT SET</span></h2>
115
  <div class="transcript">"Obviously, we're no longer a Justice League. We have no choice but to switch to our Muppet Baby costumes."</div>
116
  <div class="columns">
117
  <div class="col baseline">
118
- <h3>Baseline β€” text-only Qwen2.5-3B (simple prompt, no prosody)</h3>
119
  <p>predicted: <span class="verdict-wrong">sarcastic</span> (conf 0.95)</p>
120
- <pre>(text-only baseline doesn't generate reasoning β€” it just outputs Label/Confidence.
121
- The judge had ONLY the transcript + context, no audio descriptors.)</pre>
122
  </div>
123
  <div class="col trained">
124
- <h3>Trained β€” prosody-grounded GRPO checkpoint (full prompt)</h3>
125
  <p>predicted: <span class="verdict-correct">sincere</span> (conf 0.90)</p>
126
  <pre>&lt;think&gt;
127
  The prosody features indicate a very flat pitch contour with minimal variability, which suggests a lack of emotional expression. Sheldon's tone is neutral and matter-of-fact, as if he's simply stating a fact. There are no emphatic pauses or rising intonations that would typically accompany sarcasm. The content of his statement, "Obviously, we're no longer a Justice League. We have no choice but to switch to our Muppet Baby costumes," is also quite neutral and doesn't contain any obvious irony or mockery. Sheldon is simply acknowledging a change in circumstances without any indication of sarcasm.
@@ -132,17 +132,17 @@ The prosody features indicate a very flat pitch contour with minimal variability
132
  </div>
133
 
134
  <div class="clip">
135
- <h2>Clip 1_1001 β€” speaker: RAJ | gold: <span class="gold-sincere">sincere</span></h2>
136
  <div class="transcript">"What else? Sell it on eBay as &quot;slightly used.&quot;"</div>
137
  <div class="columns">
138
  <div class="col baseline">
139
- <h3>Baseline β€” text-only Qwen2.5-3B (simple prompt, no prosody)</h3>
140
  <p>predicted: <span class="verdict-wrong">sarcastic</span> (conf 0.85)</p>
141
- <pre>(text-only baseline doesn't generate reasoning β€” it just outputs Label/Confidence.
142
- The judge had ONLY the transcript + context, no audio descriptors.)</pre>
143
  </div>
144
  <div class="col trained">
145
- <h3>Trained β€” prosody-grounded GRPO checkpoint (full prompt)</h3>
146
  <p>predicted: <span class="verdict-correct">sincere</span> (conf 0.90)</p>
147
  <pre>&lt;think&gt;
148
  The prosody features indicate that Raj speaks with high energy and no internal pauses, which suggests sincerity rather than sarcasm. Additionally, his pitch contour is flat, which aligns with a sincere tone. The phrase "What else? Sell it on eBay as 'slightly used'" sounds genuine and matter-of-fact, without any indication of mockery or irony.
@@ -154,8 +154,7 @@ The prosody features indicate that Raj speaks with high energy and no internal p
154
 
155
 
156
  <div class="footnote">
157
- Side-by-side built locally from <code>held_out_eval_run3.json</code> (trained model completions) and
158
- <code>baseline.json</code> (text-only Qwen with simple prompt from <code>curate_pivot_set.py</code>). Both runs use greedy decoding for determinism.
159
  </div>
160
 
161
  </body></html>
 
1
  <!DOCTYPE html>
2
  <html><head>
3
  <meta charset="utf-8">
4
+ <title>Subtext Arena: text-only baseline vs prosody-trained, hand-picked clips</title>
5
  <style>
6
  body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
7
  max-width: 1100px; margin: 32px auto; padding: 0 20px; color: #222;
 
11
  p.lede { color: #555; margin-top: 0; font-size: 15px; }
12
  .clip { border: 1px solid #ddd; border-radius: 10px; padding: 18px;
13
  margin-bottom: 28px; background: #fafafa; }
14
+ .clip-label { font-size: 15px; font-weight: 600; margin: 0 0 10px 0; color: #333; }
15
  .gold-sarcastic { color: #b3274d; font-weight: 600; }
16
  .gold-sincere { color: #1d7a4a; font-weight: 600; }
17
  .pivot-tag { background: #fff3cd; color: #8a6d3b; padding: 2px 6px;
 
20
  .col { padding: 12px 14px; border-radius: 7px; }
21
  .baseline { background: #fff5f5; border: 1px solid #f8c4c4; }
22
  .trained { background: #effaf3; border: 1px solid #b6e2c1; }
23
+ .col-label { margin: 0 0 8px 0; font-size: 12px; text-transform: uppercase;
24
+ letter-spacing: 0.06em; color: #666; font-weight: 700; }
25
  .verdict-correct { color: #1d7a4a; font-weight: 700; }
26
  .verdict-wrong { color: #b3274d; font-weight: 700; }
27
  pre { white-space: pre-wrap; word-wrap: break-word; font-size: 12.5px;
 
39
  </style>
40
  </head><body>
41
 
42
+ <h1><span class="emoji">🎧</span> Subtext Arena: does the prosody-trained model actually do something the text-only baseline cannot?</h1>
43
+ <p class="lede">Five hand-picked clips from the held-out set, all with the same gold labels. On the left, vanilla Qwen2.5-3B reading just the transcript, no prosody whatsoever. On the right, the GRPO-trained model reading transcript plus prosody features baked in. The gap between the two columns is honestly what the audio actually buys us.</p>
44
 
45
  <div class="summary">
46
  <strong>Tally on these 5 clips:</strong> baseline (text-only) <span class="verdict-wrong">0/5 correct</span>, trained (with prosody) <span class="verdict-correct">5/5 correct</span>.<br>
47
+ <small><em>These were picked from the 31 clips in the held-out eval where this exact pattern holds. The full 80-clip held-out eval still shows around 51% balanced accuracy overall, so these 5 are basically the prosody-decisive subset only.</em></small>
48
  </div>
49
 
50
  <div class="clip">
51
+ <p class="clip-label">Clip 1_8136, speaker PERSON, gold label <span class="gold-sarcastic">sarcastic</span><span class="pivot-tag">PIVOT SET</span></p>
52
  <div class="transcript">"Yeah, I'm really looking forward to it. In fact, there's no place I would rather be than here."</div>
53
  <div class="columns">
54
  <div class="col baseline">
55
+ <p class="col-label">Baseline (text-only)</p>
56
  <p>predicted: <span class="verdict-wrong">sincere</span> (conf 0.90)</p>
57
+ <pre>(text-only baseline doesn't generate any reasoning, it just outputs label and confidence.
58
+ The judge had only the transcript plus context, no audio descriptors at all.)</pre>
59
  </div>
60
  <div class="col trained">
61
+ <p class="col-label">Trained (with prosody)</p>
62
  <p>predicted: <span class="verdict-correct">sarcastic</span> (conf 0.90)</p>
63
  <pre>&lt;think&gt;
64
  The speaker uses positive language like "looking forward to it" and "no place I would rather be than here," which are typically used sincerely. However, the prosody doesn't match the sincerity. The pitch is relatively flat with little variation, and there are no internal pauses or emphatic pauses that might indicate genuine excitement. Additionally, the prosody shows no significant rise in energy, which is unusual for someone genuinely enthusiastic about an event. The lack of vocal variety and the flat affect suggest that the speaker is not expressing genuine excitement but rather trying to sound enthusiastic to mask their true feelings.
 
69
  </div>
70
 
71
  <div class="clip">
72
+ <p class="clip-label">Clip 1_2792, speaker PENNY, gold label <span class="gold-sincere">sincere</span><span class="pivot-tag">PIVOT SET</span></p>
73
  <div class="transcript">"No, I mean, we can always go back to being friends."</div>
74
  <div class="columns">
75
  <div class="col baseline">
76
+ <p class="col-label">Baseline (text-only)</p>
77
  <p>predicted: <span class="verdict-wrong">sarcastic</span> (conf 0.95)</p>
78
+ <pre>(text-only baseline doesn't generate any reasoning, it just outputs label and confidence.
79
+ The judge had only the transcript plus context, no audio descriptors at all.)</pre>
80
  </div>
81
  <div class="col trained">
82
+ <p class="col-label">Trained (with prosody)</p>
83
  <p>predicted: <span class="verdict-correct">sincere</span> (conf 0.90)</p>
84
  <pre>&lt;think&gt;
85
  The prosody analysis shows that Penny's pitch is relatively high but not extremely variable, and there are no internal pauses or emphasized pauses. Her tone is neutral and slightly flat, which suggests sincerity rather than sarcasm. Additionally, her statement "No, I mean, we can always go back to being friends" doesn't contain any irony or hidden meaning that would make it sarcastic. The way she says it, with a neutral tone and without any dramatic emphasis, aligns more with sincerity.
 
90
  </div>
91
 
92
  <div class="clip">
93
+ <p class="clip-label">Clip 1_5581, speaker SHELDON, gold label <span class="gold-sincere">sincere</span><span class="pivot-tag">PIVOT SET</span></p>
94
  <div class="transcript">"I gargled with tequila and may have swallowed a teeny bit."</div>
95
  <div class="columns">
96
  <div class="col baseline">
97
+ <p class="col-label">Baseline (text-only)</p>
98
  <p>predicted: <span class="verdict-wrong">sarcastic</span> (conf 0.95)</p>
99
+ <pre>(text-only baseline doesn't generate any reasoning, it just outputs label and confidence.
100
+ The judge had only the transcript plus context, no audio descriptors at all.)</pre>
101
  </div>
102
  <div class="col trained">
103
+ <p class="col-label">Trained (with prosody)</p>
104
  <p>predicted: <span class="verdict-correct">sincere</span> (conf 0.90)</p>
105
  <pre>&lt;think&gt;
106
  The prosody analysis shows a flat affect with no internal pauses, which suggests sincerity. Sheldon is making a comparison between Jewish and Indian parents, but he is not being sarcastic about it. The tone is matter-of-fact and informative, without any indication of sarcasm. He is simply stating facts about parental behavior without adding any ironic or mocking tone.
 
111
  </div>
112
 
113
  <div class="clip">
114
+ <p class="clip-label">Clip 1_4792, speaker SHELDON, gold label <span class="gold-sincere">sincere</span><span class="pivot-tag">PIVOT SET</span></p>
115
  <div class="transcript">"Obviously, we're no longer a Justice League. We have no choice but to switch to our Muppet Baby costumes."</div>
116
  <div class="columns">
117
  <div class="col baseline">
118
+ <p class="col-label">Baseline (text-only)</p>
119
  <p>predicted: <span class="verdict-wrong">sarcastic</span> (conf 0.95)</p>
120
+ <pre>(text-only baseline doesn't generate any reasoning, it just outputs label and confidence.
121
+ The judge had only the transcript plus context, no audio descriptors at all.)</pre>
122
  </div>
123
  <div class="col trained">
124
+ <p class="col-label">Trained (with prosody)</p>
125
  <p>predicted: <span class="verdict-correct">sincere</span> (conf 0.90)</p>
126
  <pre>&lt;think&gt;
127
  The prosody features indicate a very flat pitch contour with minimal variability, which suggests a lack of emotional expression. Sheldon's tone is neutral and matter-of-fact, as if he's simply stating a fact. There are no emphatic pauses or rising intonations that would typically accompany sarcasm. The content of his statement, "Obviously, we're no longer a Justice League. We have no choice but to switch to our Muppet Baby costumes," is also quite neutral and doesn't contain any obvious irony or mockery. Sheldon is simply acknowledging a change in circumstances without any indication of sarcasm.
 
132
  </div>
133
 
134
  <div class="clip">
135
+ <p class="clip-label">Clip 1_1001, speaker RAJ, gold label <span class="gold-sincere">sincere</span></p>
136
  <div class="transcript">"What else? Sell it on eBay as &quot;slightly used.&quot;"</div>
137
  <div class="columns">
138
  <div class="col baseline">
139
+ <p class="col-label">Baseline (text-only)</p>
140
  <p>predicted: <span class="verdict-wrong">sarcastic</span> (conf 0.85)</p>
141
+ <pre>(text-only baseline doesn't generate any reasoning, it just outputs label and confidence.
142
+ The judge had only the transcript plus context, no audio descriptors at all.)</pre>
143
  </div>
144
  <div class="col trained">
145
+ <p class="col-label">Trained (with prosody)</p>
146
  <p>predicted: <span class="verdict-correct">sincere</span> (conf 0.90)</p>
147
  <pre>&lt;think&gt;
148
  The prosody features indicate that Raj speaks with high energy and no internal pauses, which suggests sincerity rather than sarcasm. Additionally, his pitch contour is flat, which aligns with a sincere tone. The phrase "What else? Sell it on eBay as 'slightly used'" sounds genuine and matter-of-fact, without any indication of mockery or irony.
 
154
 
155
 
156
  <div class="footnote">
157
+ Side-by-side built locally from <code>held_out_eval_run3.json</code> (trained model completions) and <code>baseline.json</code> (text-only Qwen with a simple prompt, generated by <code>curate_pivot_set.py</code>). Both runs use greedy decoding for determinism.
 
158
  </div>
159
 
160
  </body></html>