MT-bias-demo / results /counterfactual_nővé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="iidlvmrnyakgmezipiue_viz_container">
<div id="iidlvmrnyakgmezipiue_content" style="padding:15px;border-style:solid;margin:5px;">
<div id = "iidlvmrnyakgmezipiue_saliency_plot_container" class="iidlvmrnyakgmezipiue_viz_container" style="display:block">
<div id="cqmpatfwcczgpfafhone_saliency_plot" class="cqmpatfwcczgpfafhone_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>▁nurse.</th><th>&lt;/s&gt;</th></tr><tr><th>▁Ő</th><th style="background:rgba(30.0, 136.0, 229.0, 1.0)">-0.087</th><th style="background:rgba(30.0, 136.0, 229.0, 0.7004555357496535)">-0.039</th><th style="background:rgba(30.0, 136.0, 229.0, 1.0)">-0.059</th><th style="background:rgba(30.0, 136.0, 229.0, 1.0)">-0.139</th></tr><tr><th>▁nővér.</th><th style="background:rgba(255.0, 13.0, 87.0, 1.0)">0.055</th><th style="background:rgba(255.0, 13.0, 87.0, 0.5900970489205783)">0.033</th><th style="background:rgba(255.0, 13.0, 87.0, 0.1959595959595959)">0.011</th><th style="background:rgba(30.0, 136.0, 229.0, 0.16442859972271748)">-0.009</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><b>0.56</b></th><th>0.005</th><th>-0.0</th><th>-0.001</th></table>
</div>
</div>
</div>
</div>
</html>