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="vylaiadbbwvolmkjdlzi_viz_container"> | |
<div id="vylaiadbbwvolmkjdlzi_content" style="padding:15px;border-style:solid;margin:5px;"> | |
<div id = "vylaiadbbwvolmkjdlzi_saliency_plot_container" class="vylaiadbbwvolmkjdlzi_viz_container" style="display:block"> | |
<div id="mkfufgfmkttelgriqlnv_saliency_plot" class="mkfufgfmkttelgriqlnv_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>▁a</th><th>▁teacher.</th><th></s></th></tr><tr><th>▁Ő</th><th style="background:rgba(255.0, 13.0, 87.0, 0.26690433749257286)">0.263</th><th style="background:rgba(255.0, 13.0, 87.0, 0.08560110913052081)">0.084</th><th style="background:rgba(255.0, 13.0, 87.0, 0.2826698356110118)">0.272</th><th style="background:rgba(30.0, 136.0, 229.0, 0.5900970489205783)">-0.566</th></tr><tr><th>▁tanár.</th><th style="background:rgba(255.0, 13.0, 87.0, 1.0)">0.965</th><th style="background:rgba(255.0, 13.0, 87.0, 0.3772628243216479)">0.365</th><th style="background:rgba(255.0, 13.0, 87.0, 0.8975242622301447)">0.863</th><th style="background:rgba(255.0, 13.0, 87.0, 0.7319865319865321)">0.707</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="qbeofjzrplcbkrndjcfw_viz_container"> | |
<div id="qbeofjzrplcbkrndjcfw_content" style="padding:15px;border-style:solid;margin:5px;"> | |
<div id = "qbeofjzrplcbkrndjcfw_saliency_plot_container" class="qbeofjzrplcbkrndjcfw_viz_container" style="display:block"> | |
<div id="xtouabcsfqjihabmwsmy_saliency_plot" class="xtouabcsfqjihabmwsmy_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>▁a</th><th>▁teacher.</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, 0.9605862547039017)">0.927</th><th style="background:rgba(255.0, 13.0, 87.0, 0.4245593186769657)">0.414</th><th style="background:rgba(255.0, 13.0, 87.0, 0.29843533372945136)">0.291</th></tr><tr><th>▁a</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.10136660724896014)">-0.098</th><th style="background:rgba(255.0, 13.0, 87.0, 0.22749059219647458)">0.222</th></tr><tr><th>▁teacher.</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(255.0, 13.0, 87.0, 0.219607843137255)">0.217</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> | |