MT-bias-demo / results /counterfactual_férfi.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="bungxrozmabtiqskpgdz_viz_container">
<div id="bungxrozmabtiqskpgdz_content" style="padding:15px;border-style:solid;margin:5px;">
<div id = "bungxrozmabtiqskpgdz_saliency_plot_container" class="bungxrozmabtiqskpgdz_viz_container" style="display:block">
<div id="yrwjozjujgvbuxdniuzb_saliency_plot" class="yrwjozjujgvbuxdniuzb_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>▁man.</th><th>&lt;/s&gt;</th></tr><tr><th>▁Ő</th><th style="background:rgba(30.0, 136.0, 229.0, 0.04618736383442258)">-0.012</th><th style="background:rgba(255.0, 13.0, 87.0, 0.06195286195286207)">0.016</th><th style="background:rgba(255.0, 13.0, 87.0, 0.2590215884333532)">0.062</th><th style="background:rgba(255.0, 13.0, 87.0, 1.0)">0.24</th></tr><tr><th>▁férfi.</th><th style="background:rgba(255.0, 13.0, 87.0, 0.02253911665676371)">0.007</th><th style="background:rgba(30.0, 136.0, 229.0, 0.03042186571598325)">-0.008</th><th style="background:rgba(30.0, 136.0, 229.0, 0.05407011289364222)">-0.014</th><th style="background:rgba(30.0, 136.0, 229.0, 0.6058625470390175)">-0.146</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.39</th><th>-0.003</th><th>-0.037</th><th>0.001</th></table>
</div>
</div>
</div>
</div>
</html>