MT-bias-demo / results /counterfactual_tanár.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="dkzxspctwvzbhpvlhucp_viz_container">
<div id="dkzxspctwvzbhpvlhucp_content" style="padding:15px;border-style:solid;margin:5px;">
<div id = "dkzxspctwvzbhpvlhucp_saliency_plot_container" class="dkzxspctwvzbhpvlhucp_viz_container" style="display:block">
<div id="zcfeuhiftzlmzgwxcwvq_saliency_plot" class="zcfeuhiftzlmzgwxcwvq_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>▁teacher.</th><th>&lt;/s&gt;</th></tr><tr><th>▁Ő</th><th style="background:rgba(30.0, 136.0, 229.0, 1.0)">-0.13</th><th style="background:rgba(255.0, 13.0, 87.0, 0.3142008318478907)">0.008</th><th style="background:rgba(30.0, 136.0, 229.0, 0.5585660526836997)">-0.013</th><th style="background:rgba(255.0, 13.0, 87.0, 0.77928302634185)">0.018</th></tr><tr><th>▁tanár.</th><th style="background:rgba(255.0, 13.0, 87.0, 1.0)">0.024</th><th style="background:rgba(30.0, 136.0, 229.0, 0.16442859972271748)">-0.004</th><th style="background:rgba(54.70588235294111, 122.49411764705886, 213.40784313725496, 0.0)">-0.0</th><th style="background:rgba(255.0, 13.0, 87.0, 0.13289760348583876)">0.003</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.107</th><th>-0.001</th><th>0.01</th><th>0.001</th></table>
</div>
</div>
</div>
</div>
</html>