forked from callummcdougall/sae_vis
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path_feature_vis_demo_gpt.html
970 lines (829 loc) · 96.9 KB
/
_feature_vis_demo_gpt.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
<div id='dropdown-container'></div>
<div class='grid-container'>
<div id='column-0' class="grid-column" style='max-height: 750px; '>
<!-- Feature Info Tables -->
<div class="feature-tables" id="feature-tables-0"></div></div>
<div id='column-1' class="grid-column" style='max-height: 750px; '>
<!-- Activation densities histogram -->
<div class="plotly-hist" id="histogram-acts-0" style="height: 150px; margin-top: 0px;"></div>
<!-- Logits table -->
<div class="logits-table" id="logits-table-0"></div>
<!-- Logits histogram -->
<div class="plotly-hist" id="histogram-logits-0" style="height: 150px; margin-top: 0px;"></div></div>
<div id='column-2-0' class="grid-column" style='max-height: 750px; '>
<!-- Sequence group -->
<div class="seq-group" id="seq-group-2-0"></div></div>
<div id='column-2-1' class="grid-column" style='max-height: 750px; '>
<!-- Sequence group -->
<div class="seq-group" id="seq-group-2-1"></div>
<!-- Sequence group -->
<div class="seq-group" id="seq-group-2-3"></div></div>
<div id='column-2-2' class="grid-column" style='max-height: 750px; '>
<!-- Sequence group -->
<div class="seq-group" id="seq-group-2-4"></div></div>
<div id='column-2-3' class="grid-column" style='max-height: 750px; '>
<!-- Sequence group -->
<div class="seq-group" id="seq-group-2-7"></div>
<!-- Sequence group -->
<div class="seq-group" id="seq-group-2-8"></div>
<!-- Sequence group -->
<div class="seq-group" id="seq-group-2-9"></div></div>
<div id='column-2-4' class="grid-column" style='max-height: 750px; '>
<!-- Sequence group -->
<div class="seq-group" id="seq-group-2-10"></div></div>
</div>
<style>
/* Styling of the top-level container */
.grid-container {
font-family: 'system-ui';
border: 1px solid #e6e6e6;
background-color: #fff;
margin: 30px 10px;
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);
display: grid;
justify-content: start;
grid-template-columns: auto;
overflow-x: auto;
overflow-y: visible;
grid-auto-flow: column;
white-space: nowrap;
padding-bottom: 12px;
padding-top: 35px;
padding-left: 20px;
}
/* Styling each grid column (note, the max-height controls height of grid-container) */
.grid-column {
margin-left: 20px;
padding-right: 20px;
width: max-content;
overflow-y: auto;
max-height: 750px;
}
/* Styling the scrollbars */
::-webkit-scrollbar {
height: 10px;
width: 10px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #999;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
}
/* Margin at the bottom of each histogram */
.plotly-hist {
margin-bottom: 25px;
}
/* Margins below the titles (most subtitles are h4, except for the prompt-centric view which has h2 titles) */
h4 {
margin-top: 0px;
margin-bottom: 10px;
}
/* Some space below the <hr> line in prompt-centric vis */
hr {
margin-bottom: 35px;
}
/* Default font & appearance for the words in the sequence, before being hovered over */
code {
font-family: Consolas, Menlo, Monaco;
}
/* Margin at the bottom of every sequence group, plus handle how overflow works (maybe not necessary) */
.seq-group {
overflow-x: auto;
overflow-y: visible;
padding-top: 5px;
padding-bottom: 10px;
margin-bottom: 10px;
}
/* Margin between single sequences */
.seq {
margin-bottom: 11px;
}
/* Styling for each token in a sequence */
.token {
font-family: Consolas, Menlo, Monaco;
font-size: 0.9em;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
padding: 1px;
color: black;
display: inline;
white-space: pre-wrap;
}
/* All the messy hovering stuff! */
.hover-text {
position: relative;
cursor: pointer;
display: inline-block; /* Needed to contain the tooltip */
box-sizing: border-box;
}
.tooltip {
background-color: #fff;
color: #333;
text-align: center;
border-radius: 10px;
padding: 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
align-items: center;
justify-content: center;
overflow: hidden;
font-family: 'system-ui';
font-size: 1.1em;
display: none;
position: fixed;
z-index: 1000;
}
.token:hover {
border-top: 3px solid black;
}
.tooltip-container {
position: absolute;
pointer-events: none;
}
.hover-text:hover + .tooltip-container .tooltip {
display: block;
}
table {
border: unset;
color: black;
border-collapse: collapse;
width: -moz-fit-content;
width: -webkit-fit-content;
width: fit-content;
margin-left: auto;
margin-right: auto;
font-size: 0.8em;
}
table.table-left tr {
border-bottom: 1px solid #eee;
padding: 15px;
}
table.table-left td {
padding: 3px 4px;
}
table.table-left {
width: 100%;
}
table.table-left td.left-aligned {
max-width: 120px;
overflow-x: hidden;
}
td {
border: none;
padding: 2px 4px;
white-space: nowrap;
}
.right-aligned {
text-align: right;
}
.left-aligned {
text-align: left;
}
.center-aligned {
text-align: center;
padding-bottom: 8px;
}
table code {
background-color: #ddd;
padding: 2px;
border-radius: 3px;
}
.table-container {
width: 100%;
}
.half-width-container {
display: flex;
}
.half-width {
width: 50%;
margin-right: -4px;
}
/* Feature tables should have space below them, also they should have a min column width */
div.feature-tables table {
margin-bottom: 25px;
min-width: 250px;
}
/* Configure logits table container (i.e. the thing containing the smaller and larger tables) */
div.logits-table {
min-width: 375px;
display: flex;
overflow-x: hidden;
margin-bottom: 20px;
}
/* Code is always bold in this table (this is just the neg/pos string tokens) */
div.logits-table code {
font-weight: bold;
}
/* Set width of the tables inside the container (so they can stack horizontally), also put a gap between them */
div.logits-table > div.positive {
width: 47%;
}
div.logits-table > div.negative {
width: 47%;
margin-right: 5%;
}
/* Styling of the dropdowns */
select {
appearance: none;
border: 0;
flex: 1;
padding: 0 1em;
background-color: #eee;
cursor: pointer;
}
.select {
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);
cursor: pointer;
display: flex;
width: 100px;
height: 25px;
border-radius: .25em;
overflow: hidden;
position: relative;
margin-right: 15px;
}
.select::after {
position: absolute;
content: '\25BC';
font-size: 9px;
top: 0;
right: 0;
padding: 1em;
background-color: #ddd;
transition: .25s all ease;
pointer-events: none;
}
.select:hover::after {
color: black;
}
#dropdown-container {
margin-left: 10px;
margin-top: 20px;
display: flex;
flex-wrap: wrap;
}
</style>
<script src="https://d3js.org/d3.v6.min.js"></script>
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function(event) {
const ALL_DATA = defineData();
setupPage(ALL_DATA['DASHBOARD_DATA'], ALL_DATA['AGGDATA']);
});
function setupPage(DASHBOARD_DATA, AGGDATA) {
// Dynamically creates dropdowns from the data (by parsing its keys), and causes `createVis` to be called whenever
// the dropdowns change. This includes the initial call to `createVis` with the first key, which is START_KEY.
const START_KEY = "14057";
// The start key has already been user-defined, we need to check it's present in DASHBOARD_DATA
if (!Object.keys(DASHBOARD_DATA).includes(START_KEY)) {
console.error(`No data available for key: ${START_KEY}`);
}
const startParts = START_KEY.split('|');
// Function which will measure the width of a key (used for dynamically setting the width of our dropdowns)
function measureTextWidth(text, font) {
// Create a temporary span element
const span = document.createElement("span");
span.style.visibility = "hidden"; // Make sure it's not visible
span.style.position = "absolute"; // Take it out of document flow
span.style.font = font; // Apply font styling similar to the select options
span.textContent = text;
document.body.appendChild(span);
const width = span.offsetWidth; // Get the width of the span
document.body.removeChild(span); // Remove the span from the body
return width;
}
// Check if there's only one key, in which case we have no selection to make
if (Object.keys(DASHBOARD_DATA).length === 1) {
const onlyKey = Object.keys(DASHBOARD_DATA)[0];
createVis(DASHBOARD_DATA[onlyKey]);
} else {
// Assuming `DASHBOARD_DATA` is available and d3 has been included
const parsedKeys = Object.keys(DASHBOARD_DATA).map(key => key.split("|"));
// Determine `n` - the number of dropdowns needed
const n = parsedKeys[0].length;
// Create a structure to store options for each dropdown
const options = Array.from({ length: n }, () => new Set());
// Populate options for each dropdown
parsedKeys.forEach(parts => {
parts.forEach((part, index) => options[index].add(part));
});
// Select the container for the dropdowns
const container = d3.select('#dropdown-container');
// Create the dropdowns
options.forEach((opts, i) => {
// We wrap each `select` element in a `.select` div, for styling reasons)
const selectDiv = container.append('div').attr('class', 'select');
const selectElem = selectDiv.append('select').attr('id', `select-${i}`);
let maxWidth = 0;
// Set the title of this dropdown
opts.forEach(opt => {
// Add this as an option
const optionElem = selectElem.append('option').text(opt).attr('value', opt);
// If it matches the start key, set it to true
if (startParts[i] === opt) {
optionElem.attr('selected', true);
}
// Calculate the width of this option, and possibly update the max width (for the select div)
const width = measureTextWidth(opt, "1em system-ui");
if (width > maxWidth) {
maxWidth = width;
}
});
// Set the width of the select div to the max width + 45px (for the dropdown arrow)
selectDiv.style('width', `${maxWidth + 45}px`);
// Add event listener to update the visualization (and the selection options) when the dropdown changes
selectElem.on('change', function() {
updateDropdowns();
});
});
// This gets called every time the dropdowns are updated
function updateDropdowns() {
// Empty all grid-column elements
d3.selectAll(".grid-column").each(function() {
d3.select(this).selectAll("*").html("");
});
// Get the current value of each dropdown
const currentSelections = options.map((_, i) => d3.select(`#select-${i}`).property('value'));
// Disable options that are not available based on the current selections
options.forEach((opts, i) => {
const select = d3.select(`#select-${i}`);
select.selectAll('option').each(function() {
const optionValue = d3.select(this).attr('value');
const potentialKey = [...currentSelections.slice(0, i), optionValue, ...currentSelections.slice(i + 1)].join('|');
d3.select(this).attr('disabled', !DASHBOARD_DATA.hasOwnProperty(potentialKey) ? true : null);
});
});
// Parse these options into the key for our DASHBOARD_DATA object
const selectedKey = currentSelections.join('|');
// Create vis using that data
createVis(DASHBOARD_DATA[selectedKey]);
}
// Initial trigger
updateDropdowns();
}
}
function createVis(DATA) {
// Create the vis from the data (this is where all the JavaScript files in this repo get dumped into). The DATA
// object here will be DASHBOARD_DATA["8"] in the feature-centric vis, or DASHBOARD_DATA["act_quantile|'first' (6)"]
// in the prompt-centric vis).
// ! Using `DATA.actsHistogramData` to fill in the activations histogram
function createActsLine(color, width, height) {
return {
type: 'line', line: {color: color, width: width},
x0: 0, x1: 0, xref: 'x',
y0: 0, y1: height, yref: 'paper',
visible: false,
}
}
function createActsAnnotation() {
return {
text: '', showarrow: false,
x: 0, xref: 'x',
y: 0.9, yref: 'paper',
xshift: 3, align: 'left', xanchor: 'left',
visible: false,
}
}
function setupActsHistogram(histId, histData) {
// Create layout. This has 2 lines with annotations, both initially set to invisible (first is for dynamic on-hover
// and second is for static, for the prompt-centric vis). We need to define them both so that when JavaScript alters
// 'shapes[0]' or 'shapes[1]' we get no error
var layout = {
paper_bgcolor: 'white',
plot_bgcolor: 'white',
xaxis: {
gridcolor: '#eee',
zerolinecolor: '#eee',
tickvals: histData.ticks,
range: [0, 1.2 * Math.max(...histData.x)],
},
yaxis: {gridcolor: '#eee', zerolinecolor: '#eee'},
barmode: 'relative',
bargap: 0.01,
showlegend: false,
margin: {l: 50, r: 25, b: 25, t: 25, pad: 4},
paper_bgcolor: 'rgba(0,0,0,0)',
plot_bgcolor: 'rgba(0,0,0,0)',
responsive: true,
shapes: [createActsLine('black', 2, 1.0), createActsLine('black', 1, 0.9)],
annotations: [createActsAnnotation(), createActsAnnotation()],
};
// Create traces (this is simple)
var traces = [{
x: histData.x,
y: histData.y,
type: 'bar',
marker: {color: histData.colors},
}];
// Plot the histogram
Plotly.newPlot(histId, traces, layout, {responsive: true, displayModeBar: false});
// Maybe add title (if the title already existed then we update it, otherwise we create a new one)
if(histData.title) {
var histogramElement = document.getElementById(histId);
var existingTitleElement = histogramElement.previousSibling;
if (existingTitleElement && existingTitleElement.tagName === 'H4') {
existingTitleElement.innerHTML = histData.title;
} else {
var titleElement = document.createElement('h4');
titleElement.innerHTML = histData.title;
histogramElement.parentNode.insertBefore(titleElement, histogramElement);
}
}
}
// 'actsHistogramData' is a dictionary mapping suffixes to histogram data (to make each histogram unique)
// We iterate over it, and create a histogram for each one
Object.entries(DATA.actsHistogramData).forEach(([suffix, histData]) => {
var t0 = performance.now();
histId = `histogram-acts-${suffix}`;
setupActsHistogram(histId, histData);
var t1 = performance.now();
console.log(`HTML for ${histId} generated in ${(t1 - t0).toFixed(1)} ms`);
});
// ! Using `DATA.logitsHistogramData` to fill in the feature tables
function createLogitsLine(color, width, height) {
return {
type: 'line', line: {color: color, width: width},
x0: 0, x1: 0, xref: 'x',
y0: 0, y1: height, yref: 'paper',
visible: false,
}
}
function createLogitsAnnotation() {
return {
text: '', showarrow: false,
x: 0, xref: 'x',
y: 0.9, yref: 'paper',
xshift: 3, align: 'left', xanchor: 'left',
visible: false,
}
}
function setupLogitsHistogram(histId, histData) {
// Create layout. This has 2 lines with annotations, both initially set to invisible (first is for dynamic on-hover
// and second is for static, for the prompt-centric vis). We need to define them both so that when JavaScript
// alters 'shapes[0]' or 'shapes[1]' we get no error
var layout = {
paper_bgcolor: 'white',
plot_bgcolor: 'white',
xaxis: {
gridcolor: '#eee',
zerolinecolor: '#eee',
tickvals: histData.ticks,
range: [1.2 * Math.min(...histData.x), 1.2 * Math.max(...histData.x)],
},
yaxis: {gridcolor: '#eee', zerolinecolor: '#eee'},
barmode: 'relative',
bargap: 0.01,
showlegend: false,
margin: {l: 50, r: 25, b: 25, t: 25, pad: 4},
paper_bgcolor: 'rgba(0,0,0,0)',
plot_bgcolor: 'rgba(0,0,0,0)',
responsive: true,
shapes: [createActsLine('black', 2, 1.0), createActsLine('black', 1, 0.9)],
annotations: [createLogitsAnnotation(), createLogitsAnnotation()],
};
// Create traces. This is a bit messier than for acts_histogram_script.js, because we have 2 different colors
traces = [
{
x: histData.x.filter(value => value >= 0),
y: histData.y.filter((_, i) => histData.x[i] >= 0),
type: 'bar',
marker: {color: 'rgba(0,0,255,0.5)'}
},
{
x: histData.x.filter(value => value < 0),
y: histData.y.filter((_, i) => histData.x[i] < 0),
type: 'bar',
marker: {color: 'rgba(255,0,0,0.5)'}
}
];
// Plot the histogram
Plotly.newPlot(histId, traces, layout, {responsive: true, displayModeBar: false});
// Maybe add title (if the title already existed then we update it, otherwise we create a new one)
if(histData.title) {
var histogramElement = document.getElementById(histId);
var existingTitleElement = histogramElement.previousSibling;
if (existingTitleElement && existingTitleElement.tagName === 'H4') {
existingTitleElement.innerHTML = histData.title;
} else {
var titleElement = document.createElement('h4');
titleElement.innerHTML = histData.title;
histogramElement.parentNode.insertBefore(titleElement, histogramElement);
}
}
}
// 'DATA.ogitsHistogramData' is a dictionary mapping suffixes to histogram data (to make each histogram unique)
// We iterate over it, and create a histogram for each one
Object.entries(DATA.logitsHistogramData).forEach(([suffix, histData]) => {
var t0 = performance.now();
histId = `histogram-logits-${suffix}`;
setupLogitsHistogram(histId, histData);
var t1 = performance.now();
console.log(`HTML for ${histId} generated in ${(t1 - t0).toFixed(1)} ms`);
});
// ! Using `DATA.featureTablesData` to create & fill in the feature tables
function setupFeatureTables(tablesContainerId, tablesData, tableMetaData) {
// Fetch table data (singular), if it doesn't exist then return early
const tableData = tablesData[tableMetaData.dataKey] || null;
if (tableData === null) {
return;
}
// Get table container from its ID
const featureTablesDiv = d3.select(`#${tablesContainerId}`);
// Add a div to hold the header and table, give it a unique ID, and empty it (if that div already existed)
const tableContainerId = `${tableMetaData.dataKey}-${tablesContainerId}`;
const tableContainer = featureTablesDiv.append("div").attr("id", tableContainerId);
tableContainer.selectAll("*").remove();
// Add the title
tableContainer.append("h4").html(tableMetaData.title);
// Create the table, and header / body
const table = tableContainer.append("table").attr("class", "table-left");
const thead = table.append("thead");
const tbody = table.append("tbody");
const headerRow = thead.append("tr");
// Append the 3 columns to this table's header row
tableMetaData.columns.forEach(col => {
headerRow.append("td")
.attr("class", col === "Index" ? "left-aligned" : "right-aligned")
.html(col);
});
// Append our data to the tbody
const rows = tbody.selectAll('tr')
.data(tableData)
.enter()
.append('tr');
rows.selectAll('td')
.data(row => Object.values(row))
.enter()
.append('td')
.attr('class', (d, i) => i === 0 ? 'left-aligned' : 'right-aligned')
.html(d => d);
}
// Define some data which will tell us how to create our tables (this isn't a function of data, it's always the same)
const featureTablesMetaData = [
{title: "NEURON ALIGNMENT", columns: ["Index", "Value", "% of L<sub>1</sub>"], dataKey: "neuronAlignment"},
{title: "CORRELATED NEURONS", columns: ["Index", "Pearson Corr.", "Cosine Sim."], dataKey: "correlatedNeurons"},
{title: "CORRELATED FEATURES", columns: ["Index", "Pearson Corr.", "Cosine Sim."], dataKey: "correlatedFeatures"},
{title: "CORRELATED FEATURES (B-ENCODER)", columns: ["Index", "Pearson Corr.", "Cosine Sim."], dataKey: "correlatedFeaturesB"},
]
// 'featureTablesData' is a dictionary mapping suffixes to feature tables data (to make each table unique)
// We iterate over it, and create a table for each one
Object.entries(DATA.featureTablesData).forEach(([suffix, tablesData]) => {
var t0 = performance.now();
// For each set of tables, we need to empty it, then create each of the new tables (up to 3)
tablesContainerId = `feature-tables-${suffix}`;
featureTablesMetaData.forEach(tableMetaData => {
setupFeatureTables(tablesContainerId, tablesData, tableMetaData);
});
var t1 = performance.now();
console.log(`HTML for ${tablesContainerId} generated in ${(t1 - t0).toFixed(1)} ms`);
});
// ! Using `DATA.logitsTableData` to fill in the pos/neg logit tables
function setupLogitTables(logitsTableId, tablesData, tableMetaData) {
// Fetch table data (singular)
const tableData = tablesData[tableMetaData.dataKey];
// Select the table container by its ID
const tablesContainer = d3.select(`#${logitsTableId}`);
// Select the object that contains this particular table (negative or positive)
const tableId = `${tableMetaData.class}-${logitsTableId}`;
const tableContainer = tablesContainer.select(`#${tableId}`);
// If this table container doesn't exist, create it
if (tableContainer.empty()) {
const section = tablesContainer.append("div").attr("class", tableMetaData.class);
section.append("h4").html(tableMetaData.title);
section.append("table").attr("id", tableId).attr("class", "table-left");
}
// Now we can select the table by its ID, empty data, and add new data
const table = tablesContainer.select(`#${tableId}`);
table.selectAll('tr').remove();
// Bind logits data to rows
const rows = table.selectAll('tr')
.data(tableData)
.enter()
.append('tr');
// Append token cell
rows.append('td')
.attr('class', 'left-aligned')
.append('code')
.style('background-color', d => d.color)
.text(d => d.symbol);
// Append value cell
rows.append('td')
.attr('class', 'right-aligned')
.text(d => d.value.toFixed(2));
}
// Define some data which will tell us how to create our tables (this isn't a function of data, it's always the same)
var logitTablesMetaData = [
{title: "NEGATIVE LOGITS", dataKey: "negLogits", class: "negative"},
{title: "POSITIVE LOGITS", dataKey: "posLogits", class: "positive"},
]
// 'logitsTableData' is a dictionary mapping suffixes to logits table data (to make each logits table unique)
// We iterate over it, and create a logits table for each one
Object.entries(DATA.logitsTableData).forEach(([suffix, tablesData]) => {
var t0 = performance.now();
// For each set of (pos / neg) table pairs, we need to empty each of them, then create them again
// tablesContainerId = `feature-tables-${suffix}`;
// setupLogitTables(logitsTableId, "negative", tableData.negLogits);
// setupLogitTables(logitsTableId, "positive", tableData.posLogits);
logitsTableId = `logits-table-${suffix}`;
logitTablesMetaData.forEach(tableMetaData => {
setupLogitTables(logitsTableId, tablesData, tableMetaData);
});
var t1 = performance.now();
console.log(`HTML for ${logitsTableId} generated in ${(t1 - t0).toFixed(1)} ms`);
});
function addLineHistogram(histogramID, shapeIndex, tok, xValue) {
// Updates histogram with a line (if the histogram exists)
// shapeIndex 0 is for on-hover, 1 is for permanent line
if (document.getElementById(histogramID)) {
Plotly.relayout(histogramID, {
[`shapes[${shapeIndex}].x0`]: xValue,
[`shapes[${shapeIndex}].x1`]: xValue,
[`shapes[${shapeIndex}].visible`]: true,
[`annotations[${shapeIndex}].x`]: xValue,
[`annotations[${shapeIndex}].text`]: `|${tok}|<br>${xValue.toFixed(3)}`,
[`annotations[${shapeIndex}].visible`]: true,
});
}
}
function removeLineHistogram(histogramID, shapeIndex) {
if (document.getElementById(histogramID)) {
Plotly.relayout(histogramID, {
[`shapes[${shapeIndex}].visible`]: false,
[`annotations[${shapeIndex}].visible`]: false,
});
}
}
function generateTokHtmlElement(
parent, tok, tokID, uColor, bgColor, isBold, featAct, tokenLogit, lossEffect, posToks, posVal, negToks, negVal, permanentLine, hide, idSuffix,
) {
// Figure out if previous token was active (this affects the construction of the tooltip)
let prevTokenActive = posToks.length + negToks.length > 0;
// Create the token span (this will contain just the token, not the hoverdata)
let tokenSpan = parent.append("span")
.attr("class", "hover-text");
// Get the histogram ids
let histogramActsID = `histogram-acts-${idSuffix}`;
let histogramLogitsID = `histogram-logits-${idSuffix}`;
// Put actual token in the tokenSpan object (i.e. the thing we see without hovering)
tokenSpan.append("span")
.attr("class", "token")
.style("background-color", bgColor)
.style("border-bottom", `4px solid ${uColor}`)
.style("font-weight", isBold ? "bold" : "normal")
.text(tok);
// If hide is true, then we just show a box saying "no information was calculated for this token"
if (hide) {
// First define the tooltip div (added to the parent element, i.e. it's a sibling of the token span)
let tooltipHeight = 70;
let tooltipWidth = 150;
let tooltipDiv = parent.append("div")
.attr("class", "tooltip")
.style("height", tooltipHeight + "px")
.style("width", tooltipWidth + "px")
.style("font-size", "0.85em")
.style("white-space", "pre-wrap")
.style("align-items", "center")
.style("text-align", "center")
.style("padding", "15px")
.html("No information was calculated for this token, since you used compute_buffer=False.");
// Add dynamic behaviour: show the tooltip on hover, and also add lines to the two histograms
tokenSpan.on('mouseover', function() {
tooltipDiv.style('display', 'flex');
tooltipDiv.style('position', 'fixed');
})
tokenSpan.on('mousemove', function(event) {
tooltipDiv.style('left', `${event.clientX - tooltipWidth / 2}px`);
tooltipDiv.style('top', `${event.clientY + 20}px`);
});
tokenSpan.on('mouseout', function() {
tooltipDiv.style('display', 'none');
});
// If we're not hiding (because we only generated data for the bolded tokens), then create tooltip & add it on hover
} else {
// First define the tooltip div (added to the parent element, i.e. it's a sibling of the token span)
let tooltipHeight = prevTokenActive ? 270 : 160;
let tooltipWidth = prevTokenActive ? 350 : 250;
let tooltipDiv = parent.append("div")
.attr("class", "tooltip")
.style("height", tooltipHeight + "px")
.style("width", tooltipWidth + "px")
.style("align-items", "center")
.style("text-align", "center");
// Next, create a table container, to contain 2 tables: one with basics (acts & loss effect), one with per-token logits
let tableContainer = tooltipDiv.append("div").attr("class", "table-container");
// Creat the first table
let tokRow = `<td class="right-aligned">Token</td><td class="left-aligned"><code>${tok}</code> (${tokID})</td>`;
let featActRow = `<td class="right-aligned">Feature activation</td><td class="left-aligned">${featAct >= 0 ? '+' : ''}${featAct.toFixed(3)}</td>`;
let lossRow = `<td class="right-aligned">Loss contribution</td><td class="left-aligned">${lossEffect >= 0 ? '+' : ''}${lossEffect.toFixed(3)}</td>`;
let firstTable = tableContainer.append("table");
firstTable.append("tr").html(tokRow);
firstTable.append("tr").html(featActRow);
firstTable.append("tr").html(lossRow);
tableContainer.append("br");
// If previous token is active, we add logit table
if (prevTokenActive) {
// Create container for top & bottom logits tables
let logitsTableContainer = tableContainer.append("div").attr("class", "half-width-container")
// Create the positive table, and fill it with values
let posLogitsTable = logitsTableContainer.append("table").attr("class", "half-width")
posLogitsTable.append("tr").html(`<td class="center-aligned" colspan="2">Pos logit contributions</td>`);
posToks.forEach((tok, index) => {
posLogitsTable.append("tr").html(`
<td class="right-aligned"><code>${tok}</code></td>
<td class="left-aligned">${posVal[index] > 0 ? '+' : ''}${posVal[index].toFixed(3)}</td>
`);
});
// Create the negative table, and fill it with values
let negLogitsTable = logitsTableContainer.append("table").attr("class", "half-width")
negLogitsTable.append("tr").html(`<td class="center-aligned" colspan="2">Neg logit contributions</td>`);
negToks.forEach((tok, index) => {
negLogitsTable.append("tr").html(`
<td class="right-aligned"><code>${tok}</code></td>
<td class="left-aligned">${negVal[index] > 0 ? '+' : ''}${negVal[index].toFixed(3)}</td>
`);
});
// If previous token is not active, we add a message instead
} else {
tableContainer.append("div")
.style("font-size", "0.85em")
.html("Feature not active on prev token;<br>no predictions were affected.");
}
// Add dynamic behaviour: show the tooltip on hover, and also add lines to the two histograms
tokenSpan.on('mouseover', function() {
tooltipDiv.style('display', 'flex');
tooltipDiv.style('position', 'fixed');
addLineHistogram(histogramActsID, 0, tok, featAct);
addLineHistogram(histogramLogitsID, 0, tok, tokenLogit);
})
tokenSpan.on('mousemove', function(event) {
tooltipDiv.style('left', `${event.clientX - tooltipWidth / 2}px`);
tooltipDiv.style('top', `${event.clientY + 20}px`);
});
tokenSpan.on('mouseout', function() {
tooltipDiv.style('display', 'none');
removeLineHistogram(histogramActsID, 0);
removeLineHistogram(histogramLogitsID, 0);
});
// Add static behaviour: if required, then show the permanent line on the histograms, as shapes[1]
if (permanentLine & isBold) {
addLineHistogram(histogramActsID, 1, tok, featAct);
addLineHistogram(histogramLogitsID, 1, tok, tokenLogit);
}
}
}
Object.entries(DATA.tokenData).forEach(([seqGroupID, seqGroupData]) => {
const t0 = performance.now();
// Find the sequence group container (this is the only thing that already exists)
const seqGroupContainer = d3.select(`#${seqGroupID}`);
// Empty this container of title & all sequences
seqGroupContainer.selectAll('*').remove();
// If title exists, add the title to this sequence group (we need .html not .text, because it could have <br>)
if ("title" in seqGroupData) {
seqGroupContainer.append('h4').html(seqGroupData.title);
}
// Get the ID suffix for this sequence group
const idSuffix = seqGroupData.idSuffix;
// Select all sequences (initially empty), and then add our sequences & bind them to the elems in seqGroupData.data
const seqGroup = seqGroupContainer.selectAll('.seq')
.data(seqGroupData.data)
.enter()
.append('div')
.attr('class', 'seq');
// For each sequence, we iterate over & add all its tokens
seqGroup.each(function(seqData) {
// Get `seq`, which is the individual `seq` element in seqGroup (i.e. the sequence container)
const seq = d3.select(this);
// Iterate through each token data dict in `seqData`, and add this token to the sequence
seqData.forEach(tokData => {
generateTokHtmlElement(
seq, // object we'll append the token to
tokData.tok, // string token
tokData.tokID, // token ID (shown on hover, after PR request)
tokData["uColor"] || "#fff", // underline color (derived from loss effect)
tokData["bgColor"] || "#fff", // background color (derived from feature activation)
tokData["isBold"] || false, // is this token bolded?
tokData["featAct"] || 0.0, // feature activation at this token (used for acts histogram line)
tokData["tokenLogit"] || 0.0, // raw logit effect on this token (used for logits histogram line)
tokData["lossEffect"] || 0.0, // effect on loss (used for histogram line), if prev token active
tokData["posToks"] || [], // most-positive tokens (strings)
tokData["posVal"] || [], // most-positive token values
tokData["negToks"] || [], // most-negative tokens (strings)
tokData["negVal"] || [], // most-negative token values
tokData["permanentLine"] || false, // do we show a permanent line on histogram?
tokData["hide"] || false, // do we suppress hoverdata for this token?
idSuffix, // suffix for the histogram ID which the hoverline will be added to
);
});
});
const t1 = performance.now(); // End timing
console.log(`HTML for ${seqGroupID} generated in ${(t1 - t0).toFixed(1)} ms`);
});
}
function defineData() {
// Returns the data - see the docstring of the Python HTML class to understand the structure of this object.
return {"AGGDATA": {"max": [2.23196], "frac_nonzero": [0.00055], "skew": [], "kurtosis": []}, "DASHBOARD_DATA": {"14057": {"featureTablesData": {"0": {"neuronAlignment": [{"index": 313, "value": "+0.092", "percentageL1": "0.4%"}, {"index": 133, "value": "+0.084", "percentageL1": "0.4%"}, {"index": 437, "value": "+0.083", "percentageL1": "0.4%"}], "correlatedNeurons": [{"index": 543, "value": "+0.022", "percentageL1": "+0.021"}, {"index": 128, "value": "+0.021", "percentageL1": "+0.023"}, {"index": 396, "value": "+0.020", "percentageL1": "+0.023"}], "correlatedFeatures": [{"index": 14057, "value": "+0.000", "percentageL1": "+0.000"}]}}, "actsHistogramData": {"0": {"y": [153, 83, 90, 57, 60, 28, 22, 13, 5, 4, 6, 1, 6, 5, 1, 3, 14, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 2, 0, 0, 5, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7], "x": [0.02239, 0.06702, 0.11166, 0.1563, 0.20094, 0.24558, 0.29021, 0.33485, 0.37949, 0.42413, 0.46877, 0.5134, 0.55804, 0.60268, 0.64732, 0.69195, 0.73659, 0.78123, 0.82587, 0.87051, 0.91514, 0.95978, 1.00442, 1.04906, 1.0937, 1.13833, 1.18297, 1.22761, 1.27225, 1.31688, 1.36152, 1.40616, 1.4508, 1.49544, 1.54007, 1.58471, 1.62935, 1.67399, 1.71863, 1.76326, 1.8079, 1.85254, 1.89718, 1.94181, 1.98645, 2.03109, 2.07573, 2.12037, 2.165, 2.20964], "ticks": [0, 0.7, 1.4, 2.1], "colors": ["#ffd198", "#ffcf94", "#ffcd91", "#ffcc8e", "#ffcb8b", "#ffc988", "#ffc885", "#ffc782", "#ffc57f", "#ffc47c", "#ffc379", "#ffc175", "#ffbf72", "#ffbe6f", "#ffbd6c", "#ffbb69", "#ffba66", "#ffb963", "#ffb760", "#ffb65d", "#ffb459", "#ffb356", "#ffb153", "#ffb050", "#ffaf4d", "#ffad4a", "#ffac47", "#ffab44", "#ffa941", "#ffa83e", "#ffa63a", "#ffa537", "#ffa334", "#ffa231", "#ffa12e", "#ff9f2b", "#ff9e28", "#ff9d25", "#ff9b22", "#ff9a1f", "#ff981b", "#ff9718", "#ff9515", "#ff9412", "#ff930f", "#ff910c", "#ff9009", "#ff8f06", "#ff8d03", "#ff8c00"], "title": "ACTIVATIONS<br>DENSITY = 0.055%"}}, "logitsTableData": {"0": {"negLogits": [{"symbol": "Murray", "value": -0.89, "color": "rgba(255,184,184,0.5)"}, {"symbol": " Murray", "value": -0.83, "color": "rgba(255,188,188,0.5)"}, {"symbol": " Pound", "value": -0.83, "color": "rgba(255,189,189,0.5)"}, {"symbol": " Paula", "value": -0.8, "color": "rgba(255,191,191,0.5)"}, {"symbol": "Portland", "value": -0.75, "color": "rgba(255,195,195,0.5)"}, {"symbol": " Beaver", "value": -0.72, "color": "rgba(255,197,197,0.5)"}, {"symbol": " Gilbert", "value": -0.71, "color": "rgba(255,198,198,0.5)"}, {"symbol": " G\u00c3\u00b6", "value": -0.69, "color": "rgba(255,200,200,0.5)"}, {"symbol": "Jenn", "value": -0.68, "color": "rgba(255,200,200,0.5)"}, {"symbol": " Portland", "value": -0.68, "color": "rgba(255,200,200,0.5)"}], "posLogits": [{"symbol": " Jedi", "value": 3.2, "color": "rgba(0,0,255,0.5)"}, {"symbol": " lightsaber", "value": 2.85, "color": "rgba(27,27,255,0.5)"}, {"symbol": " Leia", "value": 2.84, "color": "rgba(28,28,255,0.5)"}, {"symbol": " Sith", "value": 2.81, "color": "rgba(30,30,255,0.5)"}, {"symbol": " Darth", "value": 2.49, "color": "rgba(56,56,255,0.5)"}, {"symbol": " Kenobi", "value": 2.46, "color": "rgba(58,58,255,0.5)"}, {"symbol": " Vader", "value": 2.45, "color": "rgba(59,59,255,0.5)"}, {"symbol": " Skywalker", "value": 2.39, "color": "rgba(64,64,255,0.5)"}, {"symbol": " droid", "value": 2.37, "color": "rgba(66,66,255,0.5)"}, {"symbol": " Obi", "value": 2.31, "color": "rgba(71,71,255,0.5)"}]}}, "logitsHistogramData": {"0": {"y": [3, 3, 12, 42, 152, 475, 1316, 2969, 5607, 8464, 9695, 7994, 5529, 3454, 1958, 1096, 625, 350, 190, 98, 63, 46, 33, 18, 11, 15, 9, 4, 4, 1, 3, 0, 3, 0, 4, 1, 0, 0, 0, 2, 3, 1, 0, 0, 0, 3, 0, 0, 0, 1], "x": [-0.84453, -0.76281, -0.68109, -0.59937, -0.51765, -0.43593, -0.35421, -0.2725, -0.19078, -0.10906, -0.02734, 0.05438, 0.1361, 0.21782, 0.29954, 0.38126, 0.46298, 0.5447, 0.62641, 0.70813, 0.78985, 0.87157, 0.95329, 1.03501, 1.11673, 1.19845, 1.28017, 1.36189, 1.44361, 1.52532, 1.60704, 1.68876, 1.77048, 1.8522, 1.93392, 2.01564, 2.09736, 2.17908, 2.2608, 2.34251, 2.42423, 2.50595, 2.58767, 2.66939, 2.75111, 2.83283, 2.91455, 2.99627, 3.07799, 3.15971], "ticks": [0, 1.0, 2.0, 3.0]}}, "tokenData": {"seq-group-2-0": {"data": [[{"tok": " time", "tokID": 640, "tokenLogit": -0.0354}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104}, {"tok": " Return", "tokID": 8229, "tokenLogit": 0.2541}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Jedi", "tokID": 16147, "tokenLogit": 3.2006, "isBold": true, "featAct": 2.232, "bgColor": "#ff8c00"}, {"tok": ",", "tokID": 11, "tokenLogit": -0.1412, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.4236, 0.3719, 0.3706, 0.3668, 0.3178], "negVal": [-0.1825, -0.1758, -0.1746, -0.1704, -0.1617], "lossEffect": 0.0748, "uColor": "rgb(255,235,235)"}, {"tok": " they", "tokID": 484, "tokenLogit": -0.0502}, {"tok": "\u00e2\u0122", "tokID": 447, "tokenLogit": 0.2024}, {"tok": "\u013b", "tokID": 247, "tokenLogit": -0.1969}, {"tok": "re", "tokID": 260, "tokenLogit": -0.0943}], [{"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Return", "tokID": 8229, "tokenLogit": 0.2541}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Jedi", "tokID": 16147, "tokenLogit": 3.2006, "isBold": true, "featAct": 2.2301, "bgColor": "#ff8c00"}, {"tok": ")", "tokID": 8, "tokenLogit": -0.132, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.456, 0.4094, 0.4072, 0.4034, 0.3593], "negVal": [-0.1007, -0.0942, -0.0925, -0.0892, -0.0818], "lossEffect": 0.0008, "uColor": "rgb(255,254,254)"}, {"tok": " Daniel", "tokID": 7806, "tokenLogit": -0.1389}, {"tok": " Logan", "tokID": 22221, "tokenLogit": 0.2819}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Bob", "tokID": 5811, "tokenLogit": 0.2684}], [{"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Return", "tokID": 8229, "tokenLogit": 0.2541}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Jedi", "tokID": 16147, "tokenLogit": 3.2006, "isBold": true, "featAct": 2.2284, "bgColor": "#ff8c00"}, {"tok": ";", "tokID": 26, "tokenLogit": -0.1492, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.4187, 0.3725, 0.3713, 0.3677, 0.3251], "negVal": [-0.1192, -0.1125, -0.1115, -0.1077, -0.1009], "lossEffect": 0.0222, "uColor": "rgb(255,249,249)"}, {"tok": " Star", "tokID": 2907, "tokenLogit": 1.1404}, {"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": " Rebels", "tokID": 36069, "tokenLogit": 1.9093, "featAct": 0.717, "bgColor": "#ffdaad"}, {"tok": ")", "tokID": 8, "tokenLogit": -0.132, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.1414, 0.1256, 0.1252, 0.1239, 0.1095], "negVal": [-0.0421, -0.0398, -0.0394, -0.0382, -0.0359], "lossEffect": 0.0079, "uColor": "rgb(255,252,252)"}], [{"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Return", "tokID": 8229, "tokenLogit": 0.2541}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Jedi", "tokID": 16147, "tokenLogit": 3.2006, "isBold": true, "featAct": 2.2236, "bgColor": "#ff8c00"}, {"tok": ")", "tokID": 8, "tokenLogit": -0.132, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.4548, 0.4051, 0.4039, 0.3999, 0.3533], "negVal": [-0.1273, -0.1204, -0.1193, -0.1152, -0.1074], "lossEffect": 0.0215, "uColor": "rgb(255,249,249)"}, {"tok": "\\n", "tokID": 198, "tokenLogit": -0.074}, {"tok": "\\n", "tokID": 198, "tokenLogit": -0.074}, {"tok": "W", "tokID": 54, "tokenLogit": -0.0946}, {"tok": "ald", "tokID": 1940, "tokenLogit": -0.2318}], [{"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Return", "tokID": 8229, "tokenLogit": 0.2541}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Jedi", "tokID": 16147, "tokenLogit": 3.2006, "isBold": true, "featAct": 2.2226, "bgColor": "#ff8c01"}, {"tok": ")", "tokID": 8, "tokenLogit": -0.132, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.3692, 0.3287, 0.3275, 0.3244, 0.2872], "negVal": [-0.1022, -0.0963, -0.0954, -0.0922, -0.0864], "lossEffect": 0.0143, "uColor": "rgb(255,251,251)"}, {"tok": " Amy", "tokID": 14235, "tokenLogit": -0.0724}, {"tok": " Allen", "tokID": 9659, "tokenLogit": -0.2732}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " A", "tokID": 317, "tokenLogit": -0.0136}], [{"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Return", "tokID": 8229, "tokenLogit": 0.2541}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Jedi", "tokID": 16147, "tokenLogit": 3.2006, "isBold": true, "featAct": 2.2101, "bgColor": "#ff8d02"}, {"tok": ")", "tokID": 8, "tokenLogit": -0.132, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.3643, 0.3218, 0.3207, 0.3174, 0.2781], "negVal": [-0.1303, -0.1242, -0.1233, -0.1199, -0.1135], "lossEffect": 0.0393, "uColor": "rgb(255,244,244)"}, {"tok": "\\n", "tokID": 198, "tokenLogit": -0.074}, {"tok": "\\n", "tokID": 198, "tokenLogit": -0.074}, {"tok": "Senator", "tokID": 29774, "tokenLogit": 0.608}, {"tok": "/", "tokID": 14, "tokenLogit": -0.1371}], [{"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Revenge", "tokID": 24366, "tokenLogit": 0.8532, "featAct": 0.2313, "bgColor": "#fff3e5"}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.0399, 0.0358, 0.0356, 0.0353, 0.0314], "negVal": [-0.009, -0.0084, -0.0082, -0.008, -0.0073], "lossEffect": 0.0, "uColor": "rgb(255,254,254)"}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Sith", "tokID": 26455, "tokenLogit": 2.813, "isBold": true, "featAct": 1.7456, "bgColor": "#ffa537"}, {"tok": ",", "tokID": 11, "tokenLogit": -0.1412, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.3296, 0.2959, 0.2945, 0.2917, 0.2598], "negVal": [-0.0716, -0.0669, -0.066, -0.0633, -0.0581], "lossEffect": 0.0006, "uColor": "rgb(255,254,254)"}, {"tok": " Star", "tokID": 2907, "tokenLogit": 1.1404}, {"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " The", "tokID": 383, "tokenLogit": -0.0094}], [{"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Revenge", "tokID": 24366, "tokenLogit": 0.8532, "featAct": 0.2241, "bgColor": "#fff4e6"}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.0776, 0.0697, 0.0692, 0.0684, 0.0606], "negVal": [-0.0216, -0.0207, -0.0199, -0.0196, -0.0181], "lossEffect": 0.0041, "uColor": "rgb(255,253,253)"}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Sith", "tokID": 26455, "tokenLogit": 2.813, "isBold": true, "featAct": 1.7437, "bgColor": "#ffa538"}, {"tok": ",", "tokID": 11, "tokenLogit": -0.1412, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.3548, 0.3151, 0.3141, 0.3108, 0.2736], "negVal": [-0.1105, -0.105, -0.1041, -0.1008, -0.0946], "lossEffect": 0.0263, "uColor": "rgb(255,248,248)"}, {"tok": " Star", "tokID": 2907, "tokenLogit": 1.1404}, {"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " The", "tokID": 383, "tokenLogit": -0.0094}], [{"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Revenge", "tokID": 24366, "tokenLogit": 0.8532, "featAct": 0.2329, "bgColor": "#fff3e5"}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.0797, 0.0715, 0.071, 0.0702, 0.0621], "negVal": [-0.0222, -0.0213, -0.0206, -0.0202, -0.0187], "lossEffect": 0.0042, "uColor": "rgb(255,253,253)"}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Sith", "tokID": 26455, "tokenLogit": 2.813, "isBold": true, "featAct": 1.74, "bgColor": "#ffa538"}, {"tok": ",", "tokID": 11, "tokenLogit": -0.1412, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.331, 0.2938, 0.2929, 0.2899, 0.2551], "negVal": [-0.1038, -0.0986, -0.0978, -0.0947, -0.089], "lossEffect": 0.0251, "uColor": "rgb(255,248,248)"}, {"tok": " Star", "tokID": 2907, "tokenLogit": 1.1404}, {"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " The", "tokID": 383, "tokenLogit": -0.0094}], [{"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Revenge", "tokID": 24366, "tokenLogit": 0.8532, "featAct": 0.218, "bgColor": "#fff4e6"}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.0792, 0.0711, 0.0705, 0.0697, 0.0616], "negVal": [-0.0232, -0.0223, -0.0216, -0.0212, -0.0197], "lossEffect": 0.0053, "uColor": "rgb(255,253,253)"}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Sith", "tokID": 26455, "tokenLogit": 2.813, "isBold": true, "featAct": 1.7398, "bgColor": "#ffa538"}, {"tok": ",", "tokID": 11, "tokenLogit": -0.1412, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.3555, 0.3157, 0.3147, 0.3115, 0.2742], "negVal": [-0.1102, -0.1047, -0.1039, -0.1006, -0.0944], "lossEffect": 0.026, "uColor": "rgb(255,248,248)"}, {"tok": " Star", "tokID": 2907, "tokenLogit": 1.1404}, {"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " The", "tokID": 383, "tokenLogit": -0.0094}], [{"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Revenge", "tokID": 24366, "tokenLogit": 0.8532, "featAct": 0.209, "bgColor": "#fff5e8"}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.0717, 0.0642, 0.0637, 0.063, 0.0555], "negVal": [-0.0227, -0.0218, -0.0211, -0.0207, -0.0194], "lossEffect": 0.0061, "uColor": "rgb(255,253,253)"}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Sith", "tokID": 26455, "tokenLogit": 2.813, "isBold": true, "featAct": 1.7343, "bgColor": "#ffa639"}, {"tok": ")", "tokID": 8, "tokenLogit": -0.132, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.3436, 0.3048, 0.3039, 0.3006, 0.2643], "negVal": [-0.111, -0.1056, -0.1048, -0.1015, -0.0955], "lossEffect": 0.0283, "uColor": "rgb(255,247,247)"}, {"tok": " Vanessa", "tokID": 42100, "tokenLogit": -0.0248}, {"tok": " Marshall", "tokID": 13606, "tokenLogit": -0.2973}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Hera", "tokID": 23480, "tokenLogit": 1.1942, "featAct": 0.4601, "bgColor": "#ffe8cb"}], [{"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Revenge", "tokID": 24366, "tokenLogit": 0.8532, "featAct": 0.2295, "bgColor": "#fff3e5"}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.0372, 0.0334, 0.0332, 0.0329, 0.0293], "negVal": [-0.0084, -0.0079, -0.0077, -0.0075, -0.0069], "lossEffect": 0.0, "uColor": "rgb(255,254,254)"}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Sith", "tokID": 26455, "tokenLogit": 2.813, "isBold": true, "featAct": 1.7323, "bgColor": "#ffa639"}, {"tok": ")", "tokID": 8, "tokenLogit": -0.132, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.3685, 0.3304, 0.3289, 0.3258, 0.29], "negVal": [-0.0823, -0.077, -0.076, -0.0731, -0.067], "lossEffect": 0.0006, "uColor": "rgb(255,254,254)"}, {"tok": " Ti", "tokID": 16953, "tokenLogit": 0.3165}, {"tok": "ya", "tokID": 3972, "tokenLogit": 0.0041}, {"tok": " S", "tokID": 311, "tokenLogit": -0.0515}, {"tok": "irc", "tokID": 1980, "tokenLogit": -0.1453}], [{"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Revenge", "tokID": 24366, "tokenLogit": 0.8532, "featAct": 0.2216, "bgColor": "#fff4e6"}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.0481, 0.0432, 0.0429, 0.0425, 0.0378], "negVal": [-0.0109, -0.0103, -0.0101, -0.0098, -0.009], "lossEffect": 0.0002, "uColor": "rgb(255,254,254)"}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Sith", "tokID": 26455, "tokenLogit": 2.813, "isBold": true, "featAct": 1.732, "bgColor": "#ffa639"}, {"tok": ")", "tokID": 8, "tokenLogit": -0.132, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.3044, 0.2707, 0.2699, 0.2672, 0.2363], "negVal": [-0.0874, -0.0824, -0.0816, -0.0789, -0.0741], "lossEffect": 0.0145, "uColor": "rgb(255,251,251)"}, {"tok": "\\n", "tokID": 198, "tokenLogit": -0.074}, {"tok": "\\n", "tokID": 198, "tokenLogit": -0.074}, {"tok": "A", "tokID": 32, "tokenLogit": -0.0348}, {"tok": "ay", "tokID": 323, "tokenLogit": 0.0118}], [{"tok": "Although", "tokID": 7003, "tokenLogit": -0.1383}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " novel", "tokID": 5337, "tokenLogit": 0.186}, {"tok": "ization", "tokID": 1634, "tokenLogit": -0.0431}, {"tok": " emphasized", "tokID": 20047, "tokenLogit": 0.0615}, {"tok": " Leia", "tokID": 41212, "tokenLogit": 2.8407, "isBold": true, "featAct": 1.5834, "bgColor": "#ffad4a"}, {"tok": "\u00e2\u0122", "tokID": 447, "tokenLogit": 0.2024, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.4164, 0.3684, 0.3672, 0.3634, 0.3192], "negVal": [-0.1421, -0.1352, -0.1342, -0.1302, -0.1231], "lossEffect": -0.0064, "uColor": "rgb(253,253,255)"}, {"tok": "\u013b", "tokID": 247, "tokenLogit": -0.1969}, {"tok": "s", "tokID": 82, "tokenLogit": -0.0197}, {"tok": " dist", "tokID": 1233, "tokenLogit": -0.2007}, {"tok": "aste", "tokID": 4594, "tokenLogit": 0.2163}], [{"tok": "'s", "tokID": 338, "tokenLogit": -0.1654}, {"tok": " blue", "tokID": 4171, "tokenLogit": 0.1226}, {"tok": " sab", "tokID": 17463, "tokenLogit": 1.1192, "featAct": 0.28, "bgColor": "#fff1df"}, {"tok": "er", "tokID": 263, "tokenLogit": 0.01, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.0776, 0.069, 0.0689, 0.0683, 0.0604], "negVal": [-0.0211, -0.0199, -0.0197, -0.0189, -0.0176], "lossEffect": 0.0001, "uColor": "rgb(255,254,254)"}, {"tok": ",", "tokID": 11, "tokenLogit": -0.1412}, {"tok": " Vader", "tokID": 27403, "tokenLogit": 2.4517, "isBold": true, "featAct": 1.3713, "bgColor": "#ffb862"}, {"tok": "'s", "tokID": 338, "tokenLogit": -0.1654, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.2632, 0.2297, 0.2291, 0.2265, 0.1955], "negVal": [-0.123, -0.1187, -0.1182, -0.1152, -0.1096], "lossEffect": 0.0568, "uColor": "rgb(255,240,240)"}, {"tok": " red", "tokID": 2266, "tokenLogit": 0.0064}, {"tok": " sab", "tokID": 17463, "tokenLogit": 1.1192, "featAct": 0.2901, "bgColor": "#fff0de"}, {"tok": "er", "tokID": 263, "tokenLogit": 0.01, "posToks": [" Jedi", " Leia", " lightsaber", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.0651, 0.0579, 0.0578, 0.0573, 0.0508], "negVal": [-0.0166, -0.0157, -0.0154, -0.0148, -0.0137], "lossEffect": 0.0, "uColor": "rgb(255,254,254)"}, {"tok": ",", "tokID": 11, "tokenLogit": -0.1412}], [{"tok": " their", "tokID": 511, "tokenLogit": -0.0603}, {"tok": " struggle", "tokID": 6531, "tokenLogit": 0.1025}, {"tok": " against", "tokID": 1028, "tokenLogit": -0.0499}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " evil", "tokID": 6181, "tokenLogit": 0.3445}, {"tok": " Galactic", "tokID": 23509, "tokenLogit": 1.9683, "isBold": true, "featAct": 0.8404, "bgColor": "#ffd49f"}, {"tok": " Empire", "tokID": 8065, "tokenLogit": 0.9986, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.1644, 0.1397, 0.1389, 0.1364, 0.113], "negVal": [-0.1283, -0.1251, -0.1246, -0.1223, -0.1183], "lossEffect": -0.005, "uColor": "rgb(253,253,255)"}, {"tok": ".", "tokID": 13, "tokenLogit": -0.132}, {"tok": "Unlike", "tokID": 18521, "tokenLogit": -0.0996}, {"tok": " earlier", "tokID": 2961, "tokenLogit": -0.0144}, {"tok": " titles", "tokID": 8714, "tokenLogit": -0.0766}], [{"tok": " drinking", "tokID": 7722, "tokenLogit": -0.1623, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.0028, 0.0025, 0.0025, 0.0024, 0.0021], "negVal": [-0.0009, -0.0009, -0.0009, -0.0009, -0.0008], "lossEffect": 0.0003, "uColor": "rgb(255,254,254)"}, {"tok": " scoff", "tokID": 39247, "tokenLogit": 0.0977}, {"tok": "ee", "tokID": 1453, "tokenLogit": 0.2698}, {"tok": " and", "tokID": 290, "tokenLogit": -0.1423}, {"tok": " t", "tokID": 256, "tokenLogit": -0.0116}, {"tok": "akin", "tokID": 27048, "tokenLogit": 1.5788, "isBold": true, "featAct": 0.7615, "bgColor": "#ffd8a8"}, {"tok": "'", "tokID": 6, "tokenLogit": -0.056, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.1908, 0.17, 0.1693, 0.1676, 0.1484], "negVal": [-0.0526, -0.0494, -0.0491, -0.0473, -0.0442], "lossEffect": 0.0023, "uColor": "rgb(255,254,254)"}, {"tok": " down", "tokID": 866, "tokenLogit": 0.0431}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " federation", "tokID": 36986, "tokenLogit": 0.1952}, {"tok": " with", "tokID": 351, "tokenLogit": -0.0722}], [{"tok": " Party", "tokID": 3615, "tokenLogit": 0.0848}, {"tok": ".", "tokID": 13, "tokenLogit": -0.132}, {"tok": " In", "tokID": 554, "tokenLogit": -0.0869}, {"tok": " China", "tokID": 2807, "tokenLogit": 0.0506}, {"tok": ",", "tokID": 11, "tokenLogit": -0.1412}, {"tok": " Rebel", "tokID": 24551, "tokenLogit": 1.7304, "isBold": true, "featAct": 0.7597, "bgColor": "#ffd8a8"}, {"tok": " had", "tokID": 550, "tokenLogit": 0.0377, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.1374, 0.1215, 0.1212, 0.1198, 0.1055], "negVal": [-0.0462, -0.0439, -0.0435, -0.0425, -0.0403], "lossEffect": 0.0045, "uColor": "rgb(255,253,253)"}, {"tok": " grown", "tokID": 7334, "tokenLogit": 0.0267}, {"tok": " notorious", "tokID": 18192, "tokenLogit": 0.0151}, {"tok": " for", "tokID": 329, "tokenLogit": -0.0979}, {"tok": " satir", "tokID": 31621, "tokenLogit": -0.1492}], [{"tok": " \"", "tokID": 366, "tokenLogit": 0.0037}, {"tok": "energy", "tokID": 22554, "tokenLogit": -0.0744}, {"tok": " reserves", "tokID": 14072, "tokenLogit": -0.0728}, {"tok": "\"", "tokID": 1, "tokenLogit": -0.0421}, {"tok": " (", "tokID": 357, "tokenLogit": -0.1437}, {"tok": "akin", "tokID": 27048, "tokenLogit": 1.5788, "isBold": true, "featAct": 0.7595, "bgColor": "#ffd8a8"}, {"tok": " to", "tokID": 284, "tokenLogit": -0.0749, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.2367, 0.2111, 0.2104, 0.2084, 0.1848], "negVal": [-0.0615, -0.0578, -0.0573, -0.0552, -0.0514], "lossEffect": 0.0022, "uColor": "rgb(255,254,254)"}, {"tok": " stress", "tokID": 5503, "tokenLogit": -0.0482}, {"tok": " testing", "tokID": 4856, "tokenLogit": -0.2475}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104}, {"tok": " a", "tokID": 257, "tokenLogit": -0.0588}], [{"tok": " composer", "tokID": 26777, "tokenLogit": 0.3153}, {"tok": " and", "tokID": 290, "tokenLogit": -0.1423}, {"tok": " producer", "tokID": 9920, "tokenLogit": -0.1235}, {"tok": " Steve", "tokID": 6542, "tokenLogit": -0.1534}, {"tok": " De", "tokID": 1024, "tokenLogit": -0.1254}, {"tok": "akin", "tokID": 27048, "tokenLogit": 1.5788, "isBold": true, "featAct": 0.7581, "bgColor": "#ffd8a9"}, {"tok": "-", "tokID": 12, "tokenLogit": -0.1024, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.1416, 0.1261, 0.1257, 0.1244, 0.1104], "negVal": [-0.0382, -0.0358, -0.0356, -0.0344, -0.0326], "lossEffect": 0.0034, "uColor": "rgb(255,254,254)"}, {"tok": "D", "tokID": 35, "tokenLogit": -0.0024}, {"tok": "av", "tokID": 615, "tokenLogit": -0.1185}, {"tok": "ies", "tokID": 444, "tokenLogit": 0.0072}, {"tok": " (", "tokID": 357, "tokenLogit": -0.1437}]], "idSuffix": "0", "title": "TOP ACTIVATIONS<br>MAX = 2.232"}, "seq-group-2-1": {"data": [[{"tok": " time", "tokID": 640, "tokenLogit": -0.0354}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104}, {"tok": " Return", "tokID": 8229, "tokenLogit": 0.2541}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Jedi", "tokID": 16147, "tokenLogit": 3.2006, "isBold": true, "featAct": 2.232, "bgColor": "#ff8c00"}, {"tok": ",", "tokID": 11, "tokenLogit": -0.1412, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.4236, 0.3719, 0.3706, 0.3668, 0.3178], "negVal": [-0.1825, -0.1758, -0.1746, -0.1704, -0.1617], "lossEffect": 0.0748, "uColor": "rgb(255,235,235)"}, {"tok": " they", "tokID": 484, "tokenLogit": -0.0502}, {"tok": "\u00e2\u0122", "tokID": 447, "tokenLogit": 0.2024}, {"tok": "\u013b", "tokID": 247, "tokenLogit": -0.1969}, {"tok": "re", "tokID": 260, "tokenLogit": -0.0943}], [{"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Return", "tokID": 8229, "tokenLogit": 0.2541}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Jedi", "tokID": 16147, "tokenLogit": 3.2006, "isBold": true, "featAct": 2.2226, "bgColor": "#ff8c01"}, {"tok": ")", "tokID": 8, "tokenLogit": -0.132, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.3692, 0.3287, 0.3275, 0.3244, 0.2872], "negVal": [-0.1022, -0.0963, -0.0954, -0.0922, -0.0864], "lossEffect": 0.0143, "uColor": "rgb(255,251,251)"}, {"tok": " Amy", "tokID": 14235, "tokenLogit": -0.0724}, {"tok": " Allen", "tokID": 9659, "tokenLogit": -0.2732}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " A", "tokID": 317, "tokenLogit": -0.0136}], [{"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Return", "tokID": 8229, "tokenLogit": 0.2541}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Jedi", "tokID": 16147, "tokenLogit": 3.2006, "isBold": true, "featAct": 2.2301, "bgColor": "#ff8c00"}, {"tok": ")", "tokID": 8, "tokenLogit": -0.132, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.456, 0.4094, 0.4072, 0.4034, 0.3593], "negVal": [-0.1007, -0.0942, -0.0925, -0.0892, -0.0818], "lossEffect": 0.0008, "uColor": "rgb(255,254,254)"}, {"tok": " Daniel", "tokID": 7806, "tokenLogit": -0.1389}, {"tok": " Logan", "tokID": 22221, "tokenLogit": 0.2819}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Bob", "tokID": 5811, "tokenLogit": 0.2684}], [{"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Return", "tokID": 8229, "tokenLogit": 0.2541}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Jedi", "tokID": 16147, "tokenLogit": 3.2006, "isBold": true, "featAct": 2.2284, "bgColor": "#ff8c00"}, {"tok": ";", "tokID": 26, "tokenLogit": -0.1492, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.4187, 0.3725, 0.3713, 0.3677, 0.3251], "negVal": [-0.1192, -0.1125, -0.1115, -0.1077, -0.1009], "lossEffect": 0.0222, "uColor": "rgb(255,249,249)"}, {"tok": " Star", "tokID": 2907, "tokenLogit": 1.1404}, {"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": " Rebels", "tokID": 36069, "tokenLogit": 1.9093, "featAct": 0.717, "bgColor": "#ffdaad"}, {"tok": ")", "tokID": 8, "tokenLogit": -0.132, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.1414, 0.1256, 0.1252, 0.1239, 0.1095], "negVal": [-0.0421, -0.0398, -0.0394, -0.0382, -0.0359], "lossEffect": 0.0079, "uColor": "rgb(255,252,252)"}], [{"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Return", "tokID": 8229, "tokenLogit": 0.2541}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Jedi", "tokID": 16147, "tokenLogit": 3.2006, "isBold": true, "featAct": 2.2101, "bgColor": "#ff8d02"}, {"tok": ")", "tokID": 8, "tokenLogit": -0.132, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.3643, 0.3218, 0.3207, 0.3174, 0.2781], "negVal": [-0.1303, -0.1242, -0.1233, -0.1199, -0.1135], "lossEffect": 0.0393, "uColor": "rgb(255,244,244)"}, {"tok": "\\n", "tokID": 198, "tokenLogit": -0.074}, {"tok": "\\n", "tokID": 198, "tokenLogit": -0.074}, {"tok": "Senator", "tokID": 29774, "tokenLogit": 0.608}, {"tok": "/", "tokID": 14, "tokenLogit": -0.1371}]], "idSuffix": "0", "title": "INTERVAL 2.009 - 2.232<br>CONTAINS 0.001%"}, "seq-group-2-3": {"data": [[{"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Revenge", "tokID": 24366, "tokenLogit": 0.8532, "featAct": 0.2329, "bgColor": "#fff3e5"}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.0797, 0.0715, 0.071, 0.0702, 0.0621], "negVal": [-0.0222, -0.0213, -0.0206, -0.0202, -0.0187], "lossEffect": 0.0042, "uColor": "rgb(255,253,253)"}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Sith", "tokID": 26455, "tokenLogit": 2.813, "isBold": true, "featAct": 1.74, "bgColor": "#ffa538"}, {"tok": ",", "tokID": 11, "tokenLogit": -0.1412, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.331, 0.2938, 0.2929, 0.2899, 0.2551], "negVal": [-0.1038, -0.0986, -0.0978, -0.0947, -0.089], "lossEffect": 0.0251, "uColor": "rgb(255,248,248)"}, {"tok": " Star", "tokID": 2907, "tokenLogit": 1.1404}, {"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " The", "tokID": 383, "tokenLogit": -0.0094}], [{"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Revenge", "tokID": 24366, "tokenLogit": 0.8532, "featAct": 0.209, "bgColor": "#fff5e8"}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.0717, 0.0642, 0.0637, 0.063, 0.0555], "negVal": [-0.0227, -0.0218, -0.0211, -0.0207, -0.0194], "lossEffect": 0.0061, "uColor": "rgb(255,253,253)"}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Sith", "tokID": 26455, "tokenLogit": 2.813, "isBold": true, "featAct": 1.7343, "bgColor": "#ffa639"}, {"tok": ")", "tokID": 8, "tokenLogit": -0.132, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.3436, 0.3048, 0.3039, 0.3006, 0.2643], "negVal": [-0.111, -0.1056, -0.1048, -0.1015, -0.0955], "lossEffect": 0.0283, "uColor": "rgb(255,247,247)"}, {"tok": " Vanessa", "tokID": 42100, "tokenLogit": -0.0248}, {"tok": " Marshall", "tokID": 13606, "tokenLogit": -0.2973}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Hera", "tokID": 23480, "tokenLogit": 1.1942, "featAct": 0.4601, "bgColor": "#ffe8cb"}], [{"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Revenge", "tokID": 24366, "tokenLogit": 0.8532, "featAct": 0.2216, "bgColor": "#fff4e6"}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.0481, 0.0432, 0.0429, 0.0425, 0.0378], "negVal": [-0.0109, -0.0103, -0.0101, -0.0098, -0.009], "lossEffect": 0.0002, "uColor": "rgb(255,254,254)"}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Sith", "tokID": 26455, "tokenLogit": 2.813, "isBold": true, "featAct": 1.732, "bgColor": "#ffa639"}, {"tok": ")", "tokID": 8, "tokenLogit": -0.132, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.3044, 0.2707, 0.2699, 0.2672, 0.2363], "negVal": [-0.0874, -0.0824, -0.0816, -0.0789, -0.0741], "lossEffect": 0.0145, "uColor": "rgb(255,251,251)"}, {"tok": "\\n", "tokID": 198, "tokenLogit": -0.074}, {"tok": "\\n", "tokID": 198, "tokenLogit": -0.074}, {"tok": "A", "tokID": 32, "tokenLogit": -0.0348}, {"tok": "ay", "tokID": 323, "tokenLogit": 0.0118}], [{"tok": "Although", "tokID": 7003, "tokenLogit": -0.1383}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " novel", "tokID": 5337, "tokenLogit": 0.186}, {"tok": "ization", "tokID": 1634, "tokenLogit": -0.0431}, {"tok": " emphasized", "tokID": 20047, "tokenLogit": 0.0615}, {"tok": " Leia", "tokID": 41212, "tokenLogit": 2.8407, "isBold": true, "featAct": 1.5834, "bgColor": "#ffad4a"}, {"tok": "\u00e2\u0122", "tokID": 447, "tokenLogit": 0.2024, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.4164, 0.3684, 0.3672, 0.3634, 0.3192], "negVal": [-0.1421, -0.1352, -0.1342, -0.1302, -0.1231], "lossEffect": -0.0064, "uColor": "rgb(253,253,255)"}, {"tok": "\u013b", "tokID": 247, "tokenLogit": -0.1969}, {"tok": "s", "tokID": 82, "tokenLogit": -0.0197}, {"tok": " dist", "tokID": 1233, "tokenLogit": -0.2007}, {"tok": "aste", "tokID": 4594, "tokenLogit": 0.2163}], [{"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Revenge", "tokID": 24366, "tokenLogit": 0.8532, "featAct": 0.218, "bgColor": "#fff4e6"}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.0792, 0.0711, 0.0705, 0.0697, 0.0616], "negVal": [-0.0232, -0.0223, -0.0216, -0.0212, -0.0197], "lossEffect": 0.0053, "uColor": "rgb(255,253,253)"}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Sith", "tokID": 26455, "tokenLogit": 2.813, "isBold": true, "featAct": 1.7398, "bgColor": "#ffa538"}, {"tok": ",", "tokID": 11, "tokenLogit": -0.1412, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.3555, 0.3157, 0.3147, 0.3115, 0.2742], "negVal": [-0.1102, -0.1047, -0.1039, -0.1006, -0.0944], "lossEffect": 0.026, "uColor": "rgb(255,248,248)"}, {"tok": " Star", "tokID": 2907, "tokenLogit": 1.1404}, {"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " The", "tokID": 383, "tokenLogit": -0.0094}]], "idSuffix": "0", "title": "INTERVAL 1.562 - 1.786<br>CONTAINS 0.001%"}, "seq-group-2-4": {"data": [[{"tok": "'s", "tokID": 338, "tokenLogit": -0.1654}, {"tok": " blue", "tokID": 4171, "tokenLogit": 0.1226}, {"tok": " sab", "tokID": 17463, "tokenLogit": 1.1192, "featAct": 0.28, "bgColor": "#fff1df"}, {"tok": "er", "tokID": 263, "tokenLogit": 0.01, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.0776, 0.069, 0.0689, 0.0683, 0.0604], "negVal": [-0.0211, -0.0199, -0.0197, -0.0189, -0.0176], "lossEffect": 0.0001, "uColor": "rgb(255,254,254)"}, {"tok": ",", "tokID": 11, "tokenLogit": -0.1412}, {"tok": " Vader", "tokID": 27403, "tokenLogit": 2.4517, "isBold": true, "featAct": 1.3713, "bgColor": "#ffb862"}, {"tok": "'s", "tokID": 338, "tokenLogit": -0.1654, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.2632, 0.2297, 0.2291, 0.2265, 0.1955], "negVal": [-0.123, -0.1187, -0.1182, -0.1152, -0.1096], "lossEffect": 0.0568, "uColor": "rgb(255,240,240)"}, {"tok": " red", "tokID": 2266, "tokenLogit": 0.0064}, {"tok": " sab", "tokID": 17463, "tokenLogit": 1.1192, "featAct": 0.2901, "bgColor": "#fff0de"}, {"tok": "er", "tokID": 263, "tokenLogit": 0.01, "posToks": [" Jedi", " Leia", " lightsaber", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.0651, 0.0579, 0.0578, 0.0573, 0.0508], "negVal": [-0.0166, -0.0157, -0.0154, -0.0148, -0.0137], "lossEffect": 0.0, "uColor": "rgb(255,254,254)"}, {"tok": ",", "tokID": 11, "tokenLogit": -0.1412}]], "idSuffix": "0", "title": "INTERVAL 1.339 - 1.562<br>CONTAINS 0.000%"}, "seq-group-2-7": {"data": [[{"tok": ",", "tokID": 11, "tokenLogit": -0.1412}, {"tok": " charming", "tokID": 23332, "tokenLogit": -0.2108}, {"tok": " photographic", "tokID": 35788, "tokenLogit": 0.0651}, {"tok": " series", "tokID": 2168, "tokenLogit": -0.004}, {"tok": " called", "tokID": 1444, "tokenLogit": -0.1533}, {"tok": " Rebels", "tokID": 36069, "tokenLogit": 1.9093, "isBold": true, "featAct": 0.705, "bgColor": "#ffdbaf"}, {"tok": " Without", "tokID": 9170, "tokenLogit": -0.064, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.1539, 0.1368, 0.1366, 0.135, 0.1195], "negVal": [-0.0439, -0.0414, -0.0409, -0.0396, -0.0372], "lossEffect": 0.0037, "uColor": "rgb(255,254,254)"}, {"tok": " A", "tokID": 317, "tokenLogit": -0.0136}, {"tok": " P", "tokID": 350, "tokenLogit": -0.155}, {"tok": "ause", "tokID": 682, "tokenLogit": -0.0756}, {"tok": ".", "tokID": 13, "tokenLogit": -0.132}], [{"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Jedi", "tokID": 16147, "tokenLogit": 3.2006, "featAct": 2.2284, "bgColor": "#ff8c00"}, {"tok": ";", "tokID": 26, "tokenLogit": -0.1492, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.4187, 0.3725, 0.3713, 0.3677, 0.3251], "negVal": [-0.1192, -0.1125, -0.1115, -0.1077, -0.1009], "lossEffect": 0.0222, "uColor": "rgb(255,249,249)"}, {"tok": " Star", "tokID": 2907, "tokenLogit": 1.1404}, {"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": " Rebels", "tokID": 36069, "tokenLogit": 1.9093, "isBold": true, "featAct": 0.717, "bgColor": "#ffdaad"}, {"tok": ")", "tokID": 8, "tokenLogit": -0.132, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.1414, 0.1256, 0.1252, 0.1239, 0.1095], "negVal": [-0.0421, -0.0398, -0.0394, -0.0382, -0.0359], "lossEffect": 0.0079, "uColor": "rgb(255,252,252)"}, {"tok": "\\n", "tokID": 198, "tokenLogit": -0.074}, {"tok": "\\n", "tokID": 198, "tokenLogit": -0.074}, {"tok": "Y", "tokID": 56, "tokenLogit": -0.0059}, {"tok": "oda", "tokID": 11329, "tokenLogit": 0.5519}], [{"tok": "It", "tokID": 1026, "tokenLogit": -0.0721}, {"tok": " initially", "tokID": 7317, "tokenLogit": -0.1265}, {"tok": " appeared", "tokID": 4120, "tokenLogit": -0.0716}, {"tok": " that", "tokID": 326, "tokenLogit": -0.0827}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " Rebels", "tokID": 36069, "tokenLogit": 1.9093, "isBold": true, "featAct": 0.7172, "bgColor": "#ffdaad"}, {"tok": " might", "tokID": 1244, "tokenLogit": -0.0955, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.1527, 0.136, 0.1354, 0.1342, 0.1188], "negVal": [-0.0422, -0.0396, -0.0393, -0.038, -0.0357], "lossEffect": 0.0036, "uColor": "rgb(255,254,254)"}, {"tok": " have", "tokID": 423, "tokenLogit": -0.1273}, {"tok": " been", "tokID": 587, "tokenLogit": 0.039}, {"tok": " in", "tokID": 287, "tokenLogit": -0.126}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}], [{"tok": " Synd", "tokID": 19148, "tokenLogit": 0.6993, "featAct": 0.1584, "bgColor": "#fff7ed", "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.1205, 0.1044, 0.1038, 0.1028, 0.0877], "negVal": [-0.0681, -0.0659, -0.0655, -0.0643, -0.0616], "lossEffect": -0.0045, "uColor": "rgb(253,253,255)"}, {"tok": "ulla", "tokID": 47972, "tokenLogit": 0.3934, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Paula", " Pound", "Portland"], "posVal": [0.0817, 0.0725, 0.0721, 0.0714, 0.0623], "negVal": [-0.0306, -0.0296, -0.0276, -0.0272, -0.0259], "lossEffect": -0.0, "uColor": "rgb(255,255,255)"}, {"tok": " (", "tokID": 357, "tokenLogit": -0.1437}, {"tok": "Star", "tokID": 8248, "tokenLogit": 0.9897}, {"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}, {"tok": " Rebels", "tokID": 36069, "tokenLogit": 1.9093, "isBold": true, "featAct": 0.7157, "bgColor": "#ffdaad"}, {"tok": ")", "tokID": 8, "tokenLogit": -0.132, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.1468, 0.1302, 0.1298, 0.1285, 0.1132], "negVal": [-0.0461, -0.0437, -0.0434, -0.0421, -0.0396], "lossEffect": 0.0107, "uColor": "rgb(255,252,252)"}, {"tok": "\\n", "tokID": 198, "tokenLogit": -0.074}, {"tok": "\\n", "tokID": 198, "tokenLogit": -0.074}, {"tok": "Week", "tokID": 20916, "tokenLogit": -0.1953}, {"tok": "end", "tokID": 437, "tokenLogit": -0.2605}], [{"tok": " their", "tokID": 511, "tokenLogit": -0.0603}, {"tok": " struggle", "tokID": 6531, "tokenLogit": 0.1025}, {"tok": " against", "tokID": 1028, "tokenLogit": -0.0499}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " evil", "tokID": 6181, "tokenLogit": 0.3445}, {"tok": " Galactic", "tokID": 23509, "tokenLogit": 1.9683, "isBold": true, "featAct": 0.8404, "bgColor": "#ffd49f"}, {"tok": " Empire", "tokID": 8065, "tokenLogit": 0.9986, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.1644, 0.1397, 0.1389, 0.1364, 0.113], "negVal": [-0.1283, -0.1251, -0.1246, -0.1223, -0.1183], "lossEffect": -0.005, "uColor": "rgb(253,253,255)"}, {"tok": ".", "tokID": 13, "tokenLogit": -0.132}, {"tok": "Unlike", "tokID": 18521, "tokenLogit": -0.0996}, {"tok": " earlier", "tokID": 2961, "tokenLogit": -0.0144}, {"tok": " titles", "tokID": 8714, "tokenLogit": -0.0766}]], "idSuffix": "0", "title": "INTERVAL 0.670 - 0.893<br>CONTAINS 0.002%"}, "seq-group-2-8": {"data": [[{"tok": ",", "tokID": 11, "tokenLogit": -0.1412}, {"tok": " its", "tokID": 663, "tokenLogit": -0.1039}, {"tok": " reputation", "tokID": 8507, "tokenLogit": -0.0026}, {"tok": " is", "tokID": 318, "tokenLogit": -0.0933}, {"tok": " in", "tokID": 287, "tokenLogit": -0.126}, {"tok": " Tat", "tokID": 29070, "tokenLogit": 1.2884, "isBold": true, "featAct": 0.4914, "bgColor": "#ffe6c7"}, {"tok": "ters", "tokID": 1010, "tokenLogit": 0.0214, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.1428, 0.1271, 0.1266, 0.1255, 0.111], "negVal": [-0.0402, -0.038, -0.0377, -0.0364, -0.034], "lossEffect": -0.0011, "uColor": "rgb(254,254,255)"}, {"tok": " -", "tokID": 532, "tokenLogit": -0.0161}, {"tok": " worst", "tokID": 5290, "tokenLogit": -0.0606}, {"tok": " in", "tokID": 287, "tokenLogit": -0.126}, {"tok": " History", "tokID": 7443, "tokenLogit": -0.2059}], [{"tok": " and", "tokID": 290, "tokenLogit": -0.1423}, {"tok": " seeing", "tokID": 4379, "tokenLogit": 0.0379}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " northern", "tokID": 7840, "tokenLogit": -0.2468}, {"tok": " House", "tokID": 2097, "tokenLogit": 0.0326}, {"tok": " Stark", "tokID": 20956, "tokenLogit": 1.1501, "isBold": true, "featAct": 0.4685, "bgColor": "#ffe7ca"}, {"tok": " going", "tokID": 1016, "tokenLogit": -0.0221, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.1138, 0.1012, 0.1008, 0.0998, 0.0882], "negVal": [-0.0329, -0.031, -0.0307, -0.0298, -0.0279], "lossEffect": 0.0016, "uColor": "rgb(255,254,254)"}, {"tok": " up", "tokID": 510, "tokenLogit": -0.1158}, {"tok": " against", "tokID": 1028, "tokenLogit": -0.0499}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " distinctly", "tokID": 30911, "tokenLogit": 0.0603}], [{"tok": " at", "tokID": 379, "tokenLogit": -0.0776}, {"tok": " a", "tokID": 257, "tokenLogit": -0.0588}, {"tok": " burger", "tokID": 26593, "tokenLogit": -0.3433}, {"tok": " joint", "tokID": 6466, "tokenLogit": -0.0013}, {"tok": " in", "tokID": 287, "tokenLogit": -0.126}, {"tok": " Stark", "tokID": 20956, "tokenLogit": 1.1501, "isBold": true, "featAct": 0.4626, "bgColor": "#ffe7ca"}, {"tok": "ville", "tokID": 4244, "tokenLogit": -0.1645, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.1716, 0.1534, 0.153, 0.1513, 0.1348], "negVal": [-0.0391, -0.0363, -0.0357, -0.0345, -0.0315], "lossEffect": 0.0004, "uColor": "rgb(255,254,254)"}, {"tok": " on", "tokID": 319, "tokenLogit": -0.0993}, {"tok": " Sunday", "tokID": 3502, "tokenLogit": -0.2365}, {"tok": " afternoon", "tokID": 6672, "tokenLogit": -0.0974}, {"tok": ".", "tokID": 13, "tokenLogit": -0.132}], [{"tok": "Dead", "tokID": 20489, "tokenLogit": 0.1375}, {"tok": " Sea", "tokID": 6896, "tokenLogit": -0.1031}, {"tok": " pipeline", "tokID": 11523, "tokenLogit": -0.0344}, {"tok": ",", "tokID": 11, "tokenLogit": -0.1412}, {"tok": " Y", "tokID": 575, "tokenLogit": 0.2237}, {"tok": "edi", "tokID": 13740, "tokenLogit": 1.3239, "isBold": true, "featAct": 0.6237, "bgColor": "#ffdfb8"}, {"tok": "oth", "tokID": 849, "tokenLogit": 0.1447, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.307, 0.2711, 0.27, 0.2677, 0.2351], "negVal": [-0.1076, -0.1022, -0.1007, -0.0984, -0.0935], "lossEffect": -0.0, "uColor": "rgb(254,254,255)"}, {"tok": " Ah", "tokID": 7900, "tokenLogit": 0.3412}, {"tok": "ron", "tokID": 1313, "tokenLogit": -0.0024}, {"tok": "oth", "tokID": 849, "tokenLogit": 0.1447}, {"tok": " journalist", "tokID": 10099, "tokenLogit": -0.1477}], [{"tok": " lumin", "tokID": 29763, "tokenLogit": -0.0589}, {"tok": "aries", "tokID": 3166, "tokenLogit": -0.303}, {"tok": " making", "tokID": 1642, "tokenLogit": -0.0459}, {"tok": " their", "tokID": 511, "tokenLogit": -0.0603}, {"tok": " first", "tokID": 717, "tokenLogit": -0.0699}, {"tok": " hypers", "tokID": 45086, "tokenLogit": 1.2113, "isBold": true, "featAct": 0.5363, "bgColor": "#ffe3c2"}, {"tok": "pace", "tokID": 10223, "tokenLogit": 0.1368, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.1631, 0.1445, 0.144, 0.1424, 0.1252], "negVal": [-0.0547, -0.052, -0.0517, -0.0502, -0.0471], "lossEffect": -0.0009, "uColor": "rgb(254,254,255)"}, {"tok": " jump", "tokID": 4391, "tokenLogit": 0.1681}, {"tok": " to", "tokID": 284, "tokenLogit": -0.0749}, {"tok": " Star", "tokID": 2907, "tokenLogit": 1.1404}, {"tok": " Wars", "tokID": 6176, "tokenLogit": 1.1621}]], "idSuffix": "0", "title": "INTERVAL 0.446 - 0.670<br>CONTAINS 0.002%"}, "seq-group-2-9": {"data": [[{"tok": " bill", "tokID": 2855, "tokenLogit": -0.1205}, {"tok": ",", "tokID": 11, "tokenLogit": -0.1412}, {"tok": " Congressman", "tokID": 30700, "tokenLogit": -0.0062}, {"tok": " R", "tokID": 371, "tokenLogit": 0.1577}, {"tok": "aul", "tokID": 2518, "tokenLogit": -0.0221}, {"tok": " Gri", "tokID": 20914, "tokenLogit": 0.6645, "isBold": true, "featAct": 0.2683, "bgColor": "#fff1e1"}, {"tok": "j", "tokID": 73, "tokenLogit": -0.0715, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.1418, 0.1273, 0.1268, 0.1253, 0.1116], "negVal": [-0.0326, -0.0304, -0.0299, -0.0289, -0.0265], "lossEffect": 0.0, "uColor": "rgb(255,254,254)"}, {"tok": "al", "tokID": 282, "tokenLogit": -0.0267}, {"tok": "va", "tokID": 6862, "tokenLogit": -0.1406}, {"tok": " called", "tokID": 1444, "tokenLogit": -0.1533}, {"tok": " on", "tokID": 319, "tokenLogit": -0.0993}], [{"tok": "\\n", "tokID": 198, "tokenLogit": -0.074}, {"tok": "General", "tokID": 12218, "tokenLogit": -0.0989}, {"tok": " Yuri", "tokID": 38450, "tokenLogit": 0.6683}, {"tok": " Ivan", "tokID": 21798, "tokenLogit": 0.0749}, {"tok": "ovich", "tokID": 18198, "tokenLogit": 0.0303}, {"tok": " Dro", "tokID": 21045, "tokenLogit": 0.8256, "isBold": true, "featAct": 0.2328, "bgColor": "#fff3e5"}, {"tok": "z", "tokID": 89, "tokenLogit": -0.0644, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.0603, 0.0538, 0.0537, 0.0532, 0.0472], "negVal": [-0.0154, -0.0144, -0.0143, -0.0138, -0.0128], "lossEffect": 0.0002, "uColor": "rgb(255,254,254)"}, {"tok": "d", "tokID": 67, "tokenLogit": -0.0334}, {"tok": "ov", "tokID": 709, "tokenLogit": 0.1561}, {"tok": ",", "tokID": 11, "tokenLogit": -0.1412}, {"tok": " who", "tokID": 508, "tokenLogit": -0.0817}], [{"tok": " television", "tokID": 5581, "tokenLogit": -0.0623}, {"tok": ".", "tokID": 13, "tokenLogit": -0.132}, {"tok": "\\n", "tokID": 198, "tokenLogit": -0.074}, {"tok": "\\n", "tokID": 198, "tokenLogit": -0.074}, {"tok": "In", "tokID": 818, "tokenLogit": -0.0874}, {"tok": " 1977", "tokID": 15589, "tokenLogit": 0.3979, "isBold": true, "featAct": 0.2299, "bgColor": "#fff3e5"}, {"tok": ",", "tokID": 11, "tokenLogit": -0.1412, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.0411, 0.0361, 0.0361, 0.0356, 0.0312], "negVal": [-0.0166, -0.0157, -0.0156, -0.0151, -0.0146], "lossEffect": 0.0056, "uColor": "rgb(255,253,253)"}, {"tok": " they", "tokID": 484, "tokenLogit": -0.0502}, {"tok": " started", "tokID": 2067, "tokenLogit": -0.0049}, {"tok": " exporting", "tokID": 39133, "tokenLogit": -0.1388}, {"tok": " color", "tokID": 3124, "tokenLogit": -0.0845}], [{"tok": " K", "tokID": 509, "tokenLogit": 0.0968}, {"tok": "ch", "tokID": 354, "tokenLogit": -0.2697}, {"tok": "rpm", "tokID": 48235, "tokenLogit": 0.0686}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": " Chevrolet", "tokID": 35398, "tokenLogit": 0.0682}, {"tok": " Corvette", "tokID": 49105, "tokenLogit": 0.8397, "isBold": true, "featAct": 0.2241, "bgColor": "#fff4e6"}, {"tok": " C", "tokID": 327, "tokenLogit": -0.1005, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.0792, 0.0698, 0.0697, 0.0691, 0.0605], "negVal": [-0.0289, -0.0274, -0.0272, -0.0265, -0.0252], "lossEffect": 0.0077, "uColor": "rgb(255,253,253)"}, {"tok": "7", "tokID": 22, "tokenLogit": -0.1725}, {"tok": ".", "tokID": 13, "tokenLogit": -0.132}, {"tok": "R", "tokID": 49, "tokenLogit": 0.0088}, {"tok": "\\n", "tokID": 198, "tokenLogit": -0.074}], [{"tok": " vs", "tokID": 3691, "tokenLogit": -0.0345}, {"tok": ".", "tokID": 13, "tokenLogit": -0.132}, {"tok": " No", "tokID": 1400, "tokenLogit": -0.0571}, {"tok": ".", "tokID": 13, "tokenLogit": -0.132}, {"tok": " 7", "tokID": 767, "tokenLogit": -0.2236}, {"tok": " TCU", "tokID": 44914, "tokenLogit": 0.5771, "isBold": true, "featAct": 0.2345, "bgColor": "#fff3e5"}, {"tok": " Orange", "tokID": 11942, "tokenLogit": 0.0002, "posToks": [" Jedi", " lightsaber", " Leia", " Sith", " Darth"], "negToks": ["Murray", " Murray", " Pound", " Paula", "Portland"], "posVal": [0.0437, 0.0387, 0.0386, 0.0383, 0.0337], "negVal": [-0.0136, -0.0127, -0.0127, -0.0123, -0.0116], "lossEffect": 0.0009, "uColor": "rgb(255,254,254)"}, {"tok": " No", "tokID": 1400, "tokenLogit": -0.0571}, {"tok": ".", "tokID": 13, "tokenLogit": -0.132}, {"tok": " 6", "tokID": 718, "tokenLogit": -0.1292}, {"tok": " Alabama", "tokID": 9266, "tokenLogit": 0.307}]], "idSuffix": "0", "title": "INTERVAL 0.223 - 0.446<br>CONTAINS 0.007%"}, "seq-group-2-10": {"data": [[{"tok": " factory", "tokID": 8860, "tokenLogit": 0.071}, {"tok": ",", "tokID": 11, "tokenLogit": -0.1412}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874}, {"tok": " scent", "tokID": 21212, "tokenLogit": -0.1851}, {"tok": " of", "tokID": 286, "tokenLogit": -0.1104}, {"tok": " simmer", "tokID": 32857, "tokenLogit": -0.0852, "isBold": true}, {"tok": "ing", "tokID": 278, "tokenLogit": -0.1032}, {"tok": " strawberries", "tokID": 36973, "tokenLogit": -0.0407}, {"tok": " gives", "tokID": 3607, "tokenLogit": -0.0376}, {"tok": " way", "tokID": 835, "tokenLogit": 0.0719}, {"tok": " to", "tokID": 284, "tokenLogit": -0.0749}], [{"tok": " Sw", "tokID": 2451, "tokenLogit": -0.2708}, {"tok": "ings", "tokID": 654, "tokenLogit": -0.0872}, {"tok": " &", "tokID": 1222, "tokenLogit": -0.2289}, {"tok": " Waters", "tokID": 21827, "tokenLogit": -0.1962}, {"tok": "l", "tokID": 75, "tokenLogit": -0.0871}, {"tok": "ides", "tokID": 1460, "tokenLogit": -0.0804, "isBold": true}, {"tok": " in", "tokID": 287, "tokenLogit": -0.126}, {"tok": " session", "tokID": 6246, "tokenLogit": -0.0418}, {"tok": " for", "tokID": 329, "tokenLogit": -0.0979}, {"tok": " BBC", "tokID": 7823, "tokenLogit": -0.0117}, {"tok": " Introdu", "tokID": 11036, "tokenLogit": -0.0782}], [{"tok": ",", "tokID": 11, "tokenLogit": -0.1412}, {"tok": " it", "tokID": 340, "tokenLogit": -0.082}, {"tok": " guards", "tokID": 10942, "tokenLogit": 0.13}, {"tok": " fiercely", "tokID": 33285, "tokenLogit": -0.0211}, {"tok": ".", "tokID": 13, "tokenLogit": -0.132}, {"tok": " So", "tokID": 1406, "tokenLogit": -0.0867, "isBold": true}, {"tok": " it", "tokID": 340, "tokenLogit": -0.082}, {"tok": " should", "tokID": 815, "tokenLogit": -0.0711}, {"tok": " perhaps", "tokID": 3737, "tokenLogit": -0.1338}, {"tok": " come", "tokID": 1282, "tokenLogit": -0.0161}, {"tok": " as", "tokID": 355, "tokenLogit": -0.0462}], [{"tok": " and", "tokID": 290, "tokenLogit": -0.1423}, {"tok": " Matt", "tokID": 4705, "tokenLogit": -0.2227}, {"tok": " Sanchez", "tokID": 21909, "tokenLogit": 0.2661}, {"tok": ",", "tokID": 11, "tokenLogit": -0.1412}, {"tok": " secured", "tokID": 13659, "tokenLogit": -0.2287}, {"tok": " the", "tokID": 262, "tokenLogit": -0.0874, "isBold": true}, {"tok": " 3", "tokID": 513, "tokenLogit": -0.0924}, {"tok": ":", "tokID": 25, "tokenLogit": -0.0709}, {"tok": "1", "tokID": 16, "tokenLogit": -0.1692}, {"tok": " victory", "tokID": 5373, "tokenLogit": 0.0487}, {"tok": " for", "tokID": 329, "tokenLogit": -0.0979}], [{"tok": " was", "tokID": 373, "tokenLogit": -0.0163}, {"tok": " also", "tokID": 635, "tokenLogit": -0.0883}, {"tok": " st", "tokID": 336, "tokenLogit": 0.0459}, {"tok": "eely", "tokID": 45269, "tokenLogit": 0.1768}, {"tok": " in", "tokID": 287, "tokenLogit": -0.126}, {"tok": " his", "tokID": 465, "tokenLogit": 0.0168, "isBold": true}, {"tok": " ambition", "tokID": 20505, "tokenLogit": -0.0477}, {"tok": ",", "tokID": 11, "tokenLogit": -0.1412}, {"tok": " so", "tokID": 523, "tokenLogit": -0.1359}, {"tok": " he", "tokID": 339, "tokenLogit": -0.0395}, {"tok": " wanted", "tokID": 2227, "tokenLogit": -0.0804}]], "idSuffix": "0", "title": "INTERVAL 0.000 - 0.223<br>CONTAINS 99.988%"}}}}};
}
</script>