Spaces:
Sleeping
Sleeping
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="nqgppktswumomoajwozi_viz_container"> | |
<div id="nqgppktswumomoajwozi_content" style="padding:15px;border-style:solid;margin:5px;"> | |
<div id = "nqgppktswumomoajwozi_saliency_plot_container" class="nqgppktswumomoajwozi_viz_container" style="display:block"> | |
<div id="huabfvhhbcudagjlxugv_saliency_plot" class="huabfvhhbcudagjlxugv_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</th><th>▁an</th><th>▁engineer.</th><th></s></th></tr><tr><th>▁Ő</th><th style="background:rgba(255.0, 13.0, 87.0, 0.32208358090711037)">0.323</th><th style="background:rgba(255.0, 13.0, 87.0, 0.05407011289364243)">0.061</th><th style="background:rgba(255.0, 13.0, 87.0, 0.10136660724896006)">0.101</th><th style="background:rgba(30.0, 136.0, 229.0, 0.4324420677361853)">-0.436</th></tr><tr><th>▁mérnök.</th><th style="background:rgba(255.0, 13.0, 87.0, 0.9527035056446822)">0.946</th><th style="background:rgba(255.0, 13.0, 87.0, 0.03830461477520289)">0.042</th><th style="background:rgba(255.0, 13.0, 87.0, 0.9684690037631213)">0.963</th><th style="background:rgba(255.0, 13.0, 87.0, 0.77928302634185)">0.778</th></tr><tr><th></s></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></table> | |
</div> | |
</div> | |
</div> | |
</div> | |
</html> | |
<br/><b>0th instance:</b><br/> | |
<html> | |
<div id="ekhroqwiuyzkozvpaand_viz_container"> | |
<div id="ekhroqwiuyzkozvpaand_content" style="padding:15px;border-style:solid;margin:5px;"> | |
<div id = "ekhroqwiuyzkozvpaand_saliency_plot_container" class="ekhroqwiuyzkozvpaand_viz_container" style="display:block"> | |
<div id="vdgkkmwwemgqcwdpwluc_saliency_plot" class="vdgkkmwwemgqcwdpwluc_viz_content"> | |
<div style="margin:5px;font-family:sans-serif;font-weight:bold;"> | |
<span style="font-size: 20px;">Target 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</th><th>▁an</th><th>▁engineer.</th><th></s></th></tr><tr><th>▁He's</th><th style="background:rgba(230.2941176470614, 26.505882352939775, 102.59215686274348, 0.0)"></th><th style="background:rgba(255.0, 13.0, 87.0, 1.0)">0.997</th><th style="background:rgba(255.0, 13.0, 87.0, 0.219607843137255)">0.219</th><th style="background:rgba(255.0, 13.0, 87.0, 0.1880768469003763)">0.19</th></tr><tr><th>▁an</th><th style="background:rgba(230.2941176470614, 26.505882352939775, 102.59215686274348, 0.0)"></th><th style="background:rgba(230.2941176470614, 26.505882352939775, 102.59215686274348, 0.0)"></th><th style="background:rgba(255.0, 13.0, 87.0, 0.1171321053673995)">0.118</th><th style="background:rgba(255.0, 13.0, 87.0, 0.39302832244008706)">0.392</th></tr><tr><th>▁engineer.</th><th style="background:rgba(230.2941176470614, 26.505882352939775, 102.59215686274348, 0.0)"></th><th style="background:rgba(230.2941176470614, 26.505882352939775, 102.59215686274348, 0.0)"></th><th style="background:rgba(230.2941176470614, 26.505882352939775, 102.59215686274348, 0.0)"></th><th style="background:rgba(30.0, 136.0, 229.0, 0.11713210536739943)">-0.123</th></tr><tr><th></s></th><th style="background:rgba(230.2941176470614, 26.505882352939775, 102.59215686274348, 0.0)"></th><th style="background:rgba(230.2941176470614, 26.505882352939775, 102.59215686274348, 0.0)"></th><th style="background:rgba(230.2941176470614, 26.505882352939775, 102.59215686274348, 0.0)"></th><th style="background:rgba(230.2941176470614, 26.505882352939775, 102.59215686274348, 0.0)"></th></tr></table> | |
</div> | |
</div> | |
</div> | |
</div> | |
</html> | |