(function() { var fn = function() { (function(root) { function now() { return new Date(); } var force = false; if (typeof root._bokeh_onload_callbacks === "undefined" || force === true) { root._bokeh_onload_callbacks = []; root._bokeh_is_loading = undefined; } var element = document.getElementById("79005f4a-723c-4bf8-bc7f-5ad11676be6c"); if (element == null) { console.warn("Bokeh: autoload.js configured with elementid '79005f4a-723c-4bf8-bc7f-5ad11676be6c' but no matching script tag was found.") } function run_callbacks() { try { root._bokeh_onload_callbacks.forEach(function(callback) { if (callback != null) callback(); }); } finally { delete root._bokeh_onload_callbacks } console.debug("Bokeh: all callbacks have finished"); } function load_libs(css_urls, js_urls, callback) { if (css_urls == null) css_urls = []; if (js_urls == null) js_urls = []; root._bokeh_onload_callbacks.push(callback); if (root._bokeh_is_loading > 0) { console.debug("Bokeh: BokehJS is being loaded, scheduling callback at", now()); return null; } if (js_urls == null || js_urls.length === 0) { run_callbacks(); return null; } console.debug("Bokeh: BokehJS not loaded, scheduling load and callback at", now()); root._bokeh_is_loading = css_urls.length + js_urls.length; function on_load() { root._bokeh_is_loading--; if (root._bokeh_is_loading === 0) { console.debug("Bokeh: all BokehJS libraries/stylesheets loaded"); run_callbacks() } } function on_error() { console.error("failed to load " + url); } for (var i = 0; i < css_urls.length; i++) { var url = css_urls[i]; const element = document.createElement("link"); element.onload = on_load; element.onerror = on_error; element.rel = "stylesheet"; element.type = "text/css"; element.href = url; console.debug("Bokeh: injecting link tag for BokehJS stylesheet: ", url); document.body.appendChild(element); } const hashes = {"https://cdn.bokeh.org/bokeh/release/bokeh-2.2.3.min.js": "T2yuo9Oe71Cz/I4X9Ac5+gpEa5a8PpJCDlqKYO0CfAuEszu1JrXLl8YugMqYe3sM", "https://cdn.bokeh.org/bokeh/release/bokeh-widgets-2.2.3.min.js": "98GDGJ0kOMCUMUePhksaQ/GYgB3+NH9h996V88sh3aOiUNX3N+fLXAtry6xctSZ6", "https://cdn.bokeh.org/bokeh/release/bokeh-tables-2.2.3.min.js": "89bArO+nlbP3sgakeHjCo1JYxYR5wufVgA3IbUvDY+K7w4zyxJqssu7wVnfeKCq8"}; for (var i = 0; i < js_urls.length; i++) { var url = js_urls[i]; var element = document.createElement('script'); element.onload = on_load; element.onerror = on_error; element.async = false; element.src = url; if (url in hashes) { element.crossOrigin = "anonymous"; element.integrity = "sha384-" + hashes[url]; } console.debug("Bokeh: injecting script tag for BokehJS library: ", url); document.head.appendChild(element); } }; function inject_raw_css(css) { const element = document.createElement("style"); element.appendChild(document.createTextNode(css)); document.body.appendChild(element); } var js_urls = ["https://cdn.bokeh.org/bokeh/release/bokeh-2.2.3.min.js", "https://cdn.bokeh.org/bokeh/release/bokeh-widgets-2.2.3.min.js", "https://cdn.bokeh.org/bokeh/release/bokeh-tables-2.2.3.min.js"]; var css_urls = []; var inline_js = [ function(Bokeh) { Bokeh.set_log_level("info"); }, function(Bokeh) { (function() { var fn = function() { Bokeh.safely(function() { (function(root) { function embed_document(root) { var docs_json = '{"5bfd3c46-24d4-475a-be97-846a280ae659":{"roots":{"references":[{"attributes":{"label":{"value":"query"},"renderers":[{"id":"1313"}]},"id":"1323","type":"LegendItem"},{"attributes":{},"id":"1375","type":"UnionRenderers"},{"attributes":{"start":0},"id":"1293","type":"DataRange1d"},{"attributes":{"source":{"id":"1309"}},"id":"1314","type":"CDSView"},{"attributes":{"label":{"value":"value"},"renderers":[{"id":"1344"}]},"id":"1357","type":"LegendItem"},{"attributes":{"fill_color":{"value":"#20cb97"},"line_color":{"value":"#20cb97"},"top":{"field":"height"},"width":{"value":0.125},"x":{"field":"x"}},"id":"1342","type":"VBar"},{"attributes":{"data_source":{"id":"1340"},"glyph":{"id":"1342"},"hover_glyph":null,"muted_glyph":null,"name":"value","nonselection_glyph":{"id":"1343"},"selection_glyph":null,"view":{"id":"1345"}},"id":"1344","type":"GlyphRenderer"},{"attributes":{"items":[{"id":"1323"},{"id":"1339"},{"id":"1357"},{"id":"1377"}],"location":"top_left","orientation":"horizontal"},"id":"1322","type":"Legend"},{"attributes":{"fill_color":{"value":"#aa69f7"},"line_color":{"value":"#aa69f7"},"top":{"field":"height"},"width":{"value":0.125},"x":{"field":"x"}},"id":"1360","type":"VBar"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#20cb97"},"line_alpha":{"value":0.1},"line_color":{"value":"#20cb97"},"top":{"field":"height"},"width":{"value":0.125},"x":{"field":"x"}},"id":"1343","type":"VBar"},{"attributes":{"data":{"density":["0.21","0.24","0.27","0.41","0.34","0.26","0.27","0.32","0.19","0.24","0.17","0.14"],"height":[0.2100694477558136,0.2378472238779068,0.2743055522441864,0.4079861044883728,0.3350694477558136,0.2552083432674408,0.2743055522441864,0.3194444477558136,0.1944444477558136,0.2395833283662796,0.1666666716337204,0.1388888955116272],"img_height":["96px","96px","96px","96px","96px","96px","96px","96px","96px","96px","96px","96px"],"img_width":["96px","96px","96px","96px","96px","96px","96px","96px","96px","96px","96px","96px"],"name":["0.attention.key","1.attention.key","2.attention.key","3.attention.key","4.attention.key","5.attention.key","6.attention.key","7.attention.key","8.attention.key","9.attention.key","10.attention.key","11.attention.key"],"url":["https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_0_attention_self_key.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_1_attention_self_key.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_2_attention_self_key.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_3_attention_self_key.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_4_attention_self_key.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_5_attention_self_key.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_6_attention_self_key.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_7_attention_self_key.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_8_attention_self_key.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_9_attention_self_key.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_10_attention_self_key.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_11_attention_self_key.png"],"x":[0.25,1.25,2.25,3.25,4.25,5.25,6.25,7.25,8.25,9.25,10.25,11.25]},"selected":{"id":"1338"},"selection_policy":{"id":"1337"}},"id":"1324","type":"ColumnDataSource"},{"attributes":{},"id":"1297","type":"LinearScale"},{"attributes":{"source":{"id":"1340"}},"id":"1345","type":"CDSView"},{"attributes":{},"id":"1321","type":"Selection"},{"attributes":{"axis_label":"Density","formatter":{"id":"1319"},"minor_tick_line_color":null,"ticker":{"id":"1304"}},"id":"1303","type":"LinearAxis"},{"attributes":{},"id":"1300","type":"BasicTicker"},{"attributes":{"label":{"value":"key"},"renderers":[{"id":"1328"}]},"id":"1339","type":"LegendItem"},{"attributes":{},"id":"1295","type":"LinearScale"},{"attributes":{"data":{"density":["0.30","0.55","0.49","0.22","0.50","0.43","0.25","0.68","0.59","0.37","0.63","0.55","0.34","0.61","0.51","0.31","0.61","0.51","0.27","0.45","0.38","0.30","0.32","0.26","0.12","0.10","0.08","0.07","0.05","0.04","0.07","0.07","0.05","0.04","0.09","0.05"],"height":[0.2951388955116272,0.546875,0.4947916567325592,0.2152777761220932,0.49609375,0.4305555522441864,0.25,0.6814236044883728,0.5902777910232544,0.3680555522441864,0.6306423544883728,0.5455729365348816,0.3350694477558136,0.6076388955116272,0.5134548544883728,0.3107638955116272,0.609375,0.5069444179534912,0.2725694477558136,0.4505208432674408,0.3828125,0.2986111044883728,0.3177083432674408,0.2643229067325592,0.125,0.1037326380610466,0.0828993022441864,0.0711805522441864,0.0490451380610466,0.0364583320915699,0.0746527761220932,0.0681423619389534,0.0499131940305233,0.0434027761220932,0.0868055522441864,0.0503472238779068],"img_height":["96px","384px","96px","96px","384px","96px","96px","384px","96px","96px","384px","96px","96px","384px","96px","96px","384px","96px","96px","384px","96px","96px","384px","96px","96px","384px","96px","96px","384px","96px","96px","384px","96px","96px","384px","96px"],"img_width":["96px","96px","384px","96px","96px","384px","96px","96px","384px","96px","96px","384px","96px","96px","384px","96px","96px","384px","96px","96px","384px","96px","96px","384px","96px","96px","384px","96px","96px","384px","96px","96px","384px","96px","96px","384px"],"name":["0.attention.output","0.intermediate","0.output","1.attention.output","1.intermediate","1.output","2.attention.output","2.intermediate","2.output","3.attention.output","3.intermediate","3.output","4.attention.output","4.intermediate","4.output","5.attention.output","5.intermediate","5.output","6.attention.output","6.intermediate","6.output","7.attention.output","7.intermediate","7.output","8.attention.output","8.intermediate","8.output","9.attention.output","9.intermediate","9.output","10.attention.output","10.intermediate","10.output","11.attention.output","11.intermediate","11.output"],"url":["https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_0_attention_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_0_intermediate_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_0_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_1_attention_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_1_intermediate_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_1_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_2_attention_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_2_intermediate_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_2_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_3_attention_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_3_intermediate_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_3_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_4_attention_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_4_intermediate_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_4_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_5_attention_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_5_intermediate_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_5_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_6_attention_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_6_intermediate_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_6_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_7_attention_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_7_intermediate_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_7_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_8_attention_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_8_intermediate_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_8_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_9_attention_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_9_intermediate_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_9_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_10_attention_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_10_intermediate_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_10_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_11_attention_output_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_11_intermediate_dense.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_11_output_dense.png"],"x":[0.5833333333333334,0.75,0.9166666666666667,1.5833333333333333,1.75,1.9166666666666665,2.5833333333333335,2.75,2.916666666666667,3.5833333333333335,3.75,3.916666666666667,4.583333333333333,4.75,4.916666666666666,5.583333333333333,5.75,5.916666666666666,6.583333333333333,6.75,6.916666666666666,7.583333333333333,7.75,7.916666666666666,8.583333333333334,8.75,8.916666666666668,9.583333333333334,9.75,9.916666666666668,10.583333333333334,10.75,10.916666666666668,11.583333333333334,11.75,11.916666666666668]},"selected":{"id":"1376"},"selection_policy":{"id":"1375"}},"id":"1358","type":"ColumnDataSource"},{"attributes":{"fill_color":{"value":"#ed5642"},"line_color":{"value":"#ed5642"},"top":{"field":"height"},"width":{"value":0.125},"x":{"field":"x"}},"id":"1326","type":"VBar"},{"attributes":{"data_source":{"id":"1324"},"glyph":{"id":"1326"},"hover_glyph":null,"muted_glyph":null,"name":"key","nonselection_glyph":{"id":"1327"},"selection_glyph":null,"view":{"id":"1329"}},"id":"1328","type":"GlyphRenderer"},{"attributes":{},"id":"1355","type":"UnionRenderers"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#ed5642"},"line_alpha":{"value":0.1},"line_color":{"value":"#ed5642"},"top":{"field":"height"},"width":{"value":0.125},"x":{"field":"x"}},"id":"1327","type":"VBar"},{"attributes":{},"id":"1317","type":"BasicTickFormatter"},{"attributes":{},"id":"1304","type":"BasicTicker"},{"attributes":{},"id":"1356","type":"Selection"},{"attributes":{"source":{"id":"1324"}},"id":"1329","type":"CDSView"},{"attributes":{"text":"Transformer Layers"},"id":"1289","type":"Title"},{"attributes":{"axis":{"id":"1303"},"dimension":1,"ticker":null},"id":"1306","type":"Grid"},{"attributes":{"below":[{"id":"1299"}],"center":[{"id":"1302"},{"id":"1306"},{"id":"1322"}],"left":[{"id":"1303"}],"outline_line_color":null,"plot_height":300,"plot_width":505,"renderers":[{"id":"1313"},{"id":"1328"},{"id":"1344"},{"id":"1362"}],"title":{"id":"1289"},"toolbar":{"id":"1307"},"x_range":{"id":"1291"},"x_scale":{"id":"1295"},"y_range":{"id":"1293"},"y_scale":{"id":"1297"}},"id":"1288","subtype":"Figure","type":"Plot"},{"attributes":{"callback":null,"tooltips":"\\n <div>\\n <div style=\\"margin-bottom:10px\\">\\n <span style=\\"font-size: 15px;\\"><b>@name</b><br/>density=@density</span>\\n </div>\\n <div> \\n <img\\n src=\\"@url\\" height=\\"@img_height\\" width=\\"@img_width\\" alt=\\"@url\\"\\n style=\\"float: left; margin: 0px 15px 15px 0px;\\"\\n border=\\"0\\"\\n />\\n </div>\\n </div>\\n "},"id":"1287","type":"HoverTool"},{"attributes":{"axis":{"id":"1299"},"grid_line_color":null,"ticker":null},"id":"1302","type":"Grid"},{"attributes":{},"id":"1319","type":"BasicTickFormatter"},{"attributes":{"data_source":{"id":"1358"},"glyph":{"id":"1360"},"hover_glyph":null,"muted_glyph":null,"name":"fully connected","nonselection_glyph":{"id":"1361"},"selection_glyph":null,"view":{"id":"1363"}},"id":"1362","type":"GlyphRenderer"},{"attributes":{"axis_label":"Layer","formatter":{"id":"1317"},"minor_tick_line_color":null,"ticker":{"id":"1300"}},"id":"1299","type":"LinearAxis"},{"attributes":{"fill_color":{"value":"#6573f7"},"line_color":{"value":"#6573f7"},"top":{"field":"height"},"width":{"value":0.125},"x":{"field":"x"}},"id":"1311","type":"VBar"},{"attributes":{"data":{"density":["0.29","0.21","0.25","0.40","0.32","0.31","0.25","0.31","0.14","0.09","0.07","0.03"],"height":[0.2881944477558136,0.2118055522441864,0.2534722089767456,0.4010416567325592,0.3194444477558136,0.3072916567325592,0.2465277761220932,0.3142361044883728,0.140625,0.0885416641831398,0.0659722238779068,0.0347222238779068],"img_height":["96px","96px","96px","96px","96px","96px","96px","96px","96px","96px","96px","96px"],"img_width":["96px","96px","96px","96px","96px","96px","96px","96px","96px","96px","96px","96px"],"name":["0.attention.value","1.attention.value","2.attention.value","3.attention.value","4.attention.value","5.attention.value","6.attention.value","7.attention.value","8.attention.value","9.attention.value","10.attention.value","11.attention.value"],"url":["https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_0_attention_self_value.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_1_attention_self_value.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_2_attention_self_value.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_3_attention_self_value.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_4_attention_self_value.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_5_attention_self_value.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_6_attention_self_value.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_7_attention_self_value.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_8_attention_self_value.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_9_attention_self_value.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_10_attention_self_value.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_11_attention_self_value.png"],"x":[0.41666666666666663,1.4166666666666665,2.416666666666667,3.416666666666667,4.416666666666666,5.416666666666666,6.416666666666666,7.416666666666666,8.416666666666668,9.416666666666668,10.416666666666668,11.416666666666668]},"selected":{"id":"1356"},"selection_policy":{"id":"1355"}},"id":"1340","type":"ColumnDataSource"},{"attributes":{},"id":"1320","type":"UnionRenderers"},{"attributes":{},"id":"1337","type":"UnionRenderers"},{"attributes":{"label":{"value":"fully connected"},"renderers":[{"id":"1362"}]},"id":"1377","type":"LegendItem"},{"attributes":{},"id":"1376","type":"Selection"},{"attributes":{},"id":"1338","type":"Selection"},{"attributes":{"data":{"density":["0.20","0.25","0.27","0.37","0.31","0.24","0.25","0.31","0.17","0.24","0.17","0.12"],"height":[0.2048611044883728,0.2465277761220932,0.2690972089767456,0.3697916567325592,0.3125,0.2395833283662796,0.2465277761220932,0.3055555522441864,0.1736111044883728,0.2395833283662796,0.1666666716337204,0.125],"img_height":["96px","96px","96px","96px","96px","96px","96px","96px","96px","96px","96px","96px"],"img_width":["96px","96px","96px","96px","96px","96px","96px","96px","96px","96px","96px","96px"],"name":["0.attention.query","1.attention.query","2.attention.query","3.attention.query","4.attention.query","5.attention.query","6.attention.query","7.attention.query","8.attention.query","9.attention.query","10.attention.query","11.attention.query"],"url":["https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_0_attention_self_query.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_1_attention_self_query.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_2_attention_self_query.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_3_attention_self_query.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_4_attention_self_query.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_5_attention_self_query.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_6_attention_self_query.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_7_attention_self_query.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_8_attention_self_query.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_9_attention_self_query.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_10_attention_self_query.png","https://huggingface.co/madlag/bert-base-uncased-squad1.1-block-sparse-0.32-v1/raw/main/model_card/layer_images/layer_11_attention_self_query.png"],"x":[0.08333333333333333,1.0833333333333333,2.0833333333333335,3.0833333333333335,4.083333333333333,5.083333333333333,6.083333333333333,7.083333333333333,8.083333333333334,9.083333333333334,10.083333333333334,11.083333333333334]},"selected":{"id":"1321"},"selection_policy":{"id":"1320"}},"id":"1309","type":"ColumnDataSource"},{"attributes":{"source":{"id":"1358"}},"id":"1363","type":"CDSView"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#aa69f7"},"line_alpha":{"value":0.1},"line_color":{"value":"#aa69f7"},"top":{"field":"height"},"width":{"value":0.125},"x":{"field":"x"}},"id":"1361","type":"VBar"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"1287"}]},"id":"1307","type":"Toolbar"},{"attributes":{"data_source":{"id":"1309"},"glyph":{"id":"1311"},"hover_glyph":null,"muted_glyph":null,"name":"query","nonselection_glyph":{"id":"1312"},"selection_glyph":null,"view":{"id":"1314"}},"id":"1313","type":"GlyphRenderer"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#6573f7"},"line_alpha":{"value":0.1},"line_color":{"value":"#6573f7"},"top":{"field":"height"},"width":{"value":0.125},"x":{"field":"x"}},"id":"1312","type":"VBar"},{"attributes":{},"id":"1291","type":"DataRange1d"}],"root_ids":["1288"]},"title":"Bokeh Application","version":"2.2.3"}}'; var render_items = [{"docid":"5bfd3c46-24d4-475a-be97-846a280ae659","root_ids":["1288"],"roots":{"1288":"79005f4a-723c-4bf8-bc7f-5ad11676be6c"}}]; root.Bokeh.embed.embed_items(docs_json, render_items); } if (root.Bokeh !== undefined) { embed_document(root); } else { var attempts = 0; var timer = setInterval(function(root) { if (root.Bokeh !== undefined) { clearInterval(timer); embed_document(root); } else { attempts++; if (attempts > 100) { clearInterval(timer); console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing"); } } }, 10, root) } })(window); }); }; if (document.readyState != "loading") fn(); else document.addEventListener("DOMContentLoaded", fn); })(); }, function(Bokeh) { } ]; function run_inline_js() { for (var i = 0; i < inline_js.length; i++) { inline_js[i].call(root, root.Bokeh); } } if (root._bokeh_is_loading === 0) { console.debug("Bokeh: BokehJS loaded, going straight to plotting"); run_inline_js(); } else { load_libs(css_urls, js_urls, function() { console.debug("Bokeh: BokehJS plotting callback run at", now()); run_inline_js(); }); } }(window)); }; if (document.readyState != "loading") fn(); else document.addEventListener("DOMContentLoaded", fn); })();