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="vzawdnakkhtdmuvbjvxg_viz_container"> | |
<div id="vzawdnakkhtdmuvbjvxg_content" style="padding:15px;border-style:solid;margin:5px;"> | |
<div id = "vzawdnakkhtdmuvbjvxg_saliency_plot_container" class="vzawdnakkhtdmuvbjvxg_viz_container" style="display:block"> | |
<div id="qkctiurloqytqdvefukc_saliency_plot" class="qkctiurloqytqdvefukc_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>▁C'est</th><th>▁un</th><th>▁ingénieur.</th><th></s></th></tr><tr><th>▁Ő</th><th style="background:rgba(255.0, 13.0, 87.0, 0.9684690037631213)">0.892</th><th style="background:rgba(255.0, 13.0, 87.0, 0.1171321053673995)">0.11</th><th style="background:rgba(255.0, 13.0, 87.0, 0.22749059219647458)">0.213</th><th style="background:rgba(30.0, 136.0, 229.0, 0.04618736383442258)">-0.045</th></tr><tr><th>▁mérnök.</th><th style="background:rgba(255.0, 13.0, 87.0, 0.48762131115072294)">0.453</th><th style="background:rgba(255.0, 13.0, 87.0, 0.9054070112893643)">0.836</th><th style="background:rgba(255.0, 13.0, 87.0, 1.0)">0.927</th><th style="background:rgba(255.0, 13.0, 87.0, 0.5112695583283818)">0.476</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="gdsixcsmxuxzyjnyvcnm_viz_container"> | |
<div id="gdsixcsmxuxzyjnyvcnm_content" style="padding:15px;border-style:solid;margin:5px;"> | |
<div id = "gdsixcsmxuxzyjnyvcnm_saliency_plot_container" class="gdsixcsmxuxzyjnyvcnm_viz_container" style="display:block"> | |
<div id="qlihaluclfohccnxubwg_saliency_plot" class="qlihaluclfohccnxubwg_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>▁C'est</th><th>▁un</th><th>▁ingénieur.</th><th></s></th></tr><tr><th>▁C'est</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.5822142998613588)">0.537</th><th style="background:rgba(255.0, 13.0, 87.0, 0.22749059219647458)">0.211</th><th style="background:rgba(255.0, 13.0, 87.0, 0.5349178055060405)">0.497</th></tr><tr><th>▁un</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.24325609031491383)">0.225</th><th style="background:rgba(255.0, 13.0, 87.0, 0.3536145771439889)">0.329</th></tr><tr><th>▁ingénieur.</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.7004555357496535)">0.646</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> | |