MT-bias-demo / results /counterfactual_tudós.html
Oskar van der Wal
Load results from previously found html files directly to make the demo faster.
4ba9f41
<br/><b>0th instance:</b><br/>
<html>
<div id="cumyqjlsxfpatbqeeavq_viz_container">
<div id="cumyqjlsxfpatbqeeavq_content" style="padding:15px;border-style:solid;margin:5px;">
<div id = "cumyqjlsxfpatbqeeavq_saliency_plot_container" class="cumyqjlsxfpatbqeeavq_viz_container" style="display:block">
<div id="khyprtfdbheizpaeqhwj_saliency_plot" class="khyprtfdbheizpaeqhwj_viz_content">
<div style="margin:5px;font-family:sans-serif;font-weight:bold;">
<span style="font-size: 20px;">Source Saliency Heatmap</span>
<br>
x: Generated tokens, y: Attributed tokens
</div>
<table border="1" cellpadding="5" cellspacing="5"
style="overflow-x:scroll;display:block;">
<tr><th></th>
<th>▁He's → ▁She's</th><th>▁a</th><th>▁scientist.</th><th>&lt;/s&gt;</th></tr><tr><th>▁Ő</th><th style="background:rgba(30.0, 136.0, 229.0, 0.865993265993266)">-0.111</th><th style="background:rgba(255.0, 13.0, 87.0, 0.1880768469003763)">0.025</th><th style="background:rgba(255.0, 13.0, 87.0, 0.06983561101208159)">0.01</th><th style="background:rgba(255.0, 13.0, 87.0, 1.0)">0.129</th></tr><tr><th>▁tudós.</th><th style="background:rgba(255.0, 13.0, 87.0, 0.1959595959595959)">0.026</th><th style="background:rgba(30.0, 136.0, 229.0, 0.04618736383442258)">-0.006</th><th style="background:rgba(54.70588235294111, 122.49411764705886, 213.40784313725496, 0.0)">-0.001</th><th style="background:rgba(30.0, 136.0, 229.0, 0.4324420677361853)">-0.056</th></tr><tr><th>&lt;/s&gt;</th><th style="background:rgba(230.2941176470614, 26.505882352939775, 102.59215686274348, 0.0)">0.0</th><th style="background:rgba(230.2941176470614, 26.505882352939775, 102.59215686274348, 0.0)">0.0</th><th style="background:rgba(230.2941176470614, 26.505882352939775, 102.59215686274348, 0.0)">0.0</th><th style="background:rgba(230.2941176470614, 26.505882352939775, 102.59215686274348, 0.0)">0.0</th></tr><tr style="outline: thin solid"><th><b>probability</b></th><th>-0.3</th><th>-0.001</th><th>0.005</th><th>0.001</th></table>
</div>
</div>
</div>
</div>
</html>