File size: 33,109 Bytes
07fe2fe
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
(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("4348cd46-05bd-4e27-b565-6693f9e0b03e");
        if (element == null) {
          console.warn("Bokeh: autoload.js configured with elementid '4348cd46-05bd-4e27-b565-6693f9e0b03e' 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(url) {
          console.error("failed to load " + url);
        }
    
        for (let i = 0; i < css_urls.length; i++) {
          const url = css_urls[i];
          const element = document.createElement("link");
          element.onload = on_load;
          element.onerror = on_error.bind(null, url);
          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.3.2.min.js": "XypntL49z55iwGVUW4qsEu83zKL3XEcz0MjuGOQ9SlaaQ68X/g+k1FcioZi7oQAc", "https://cdn.bokeh.org/bokeh/release/bokeh-tables-2.3.2.min.js": "bEsM86IHGDTLCS0Zod8a8WM6Y4+lafAL/eSiyQcuPzinmWNgNO2/olUF0Z2Dkn5i", "https://cdn.bokeh.org/bokeh/release/bokeh-widgets-2.3.2.min.js": "TX0gSQTdXTTeScqxj6PVQxTiRW8DOoGVwinyi1D3kxv7wuxQ02XkOxv0xwiypcAH"};
    
        for (let i = 0; i < js_urls.length; i++) {
          const url = js_urls[i];
          const element = document.createElement('script');
          element.onload = on_load;
          element.onerror = on_error.bind(null, url);
          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.3.2.min.js", "https://cdn.bokeh.org/bokeh/release/bokeh-widgets-2.3.2.min.js", "https://cdn.bokeh.org/bokeh/release/bokeh-tables-2.3.2.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 = '{"7a2e7246-2ff1-4aba-b6ac-1c411e98fc75":{"defs":[],"roots":{"references":[{"attributes":{},"id":"1180","type":"Selection"},{"attributes":{"data":{"density":["2.2%","2.2%","1.9%","1.9%","2.4%","2.4%","2.7%","2.7%","2.9%","2.9%","3.5%","3.5%","1.0%","1.0%","7.0%","7.0%","7.9%","7.9%","8.1%","8.1%","3.7%","3.7%","5.5%","5.5%"],"height":[0.052224,0.052224,0.043776,0.043776,0.0576,0.0576,0.064512,0.064512,0.067584,0.067584,0.082176,0.082176,0.02304,0.02304,0.165888,0.165888,0.187392,0.187392,0.191232,0.191232,0.08832,0.08832,0.13056,0.13056],"img_height":["384px","96px","384px","96px","384px","96px","384px","96px","384px","96px","384px","96px","384px","96px","384px","96px","384px","96px","384px","96px","384px","96px","384px","96px"],"img_width":["96px","384px","96px","384px","96px","384px","96px","384px","96px","384px","96px","384px","96px","384px","96px","384px","96px","384px","96px","384px","96px","384px","96px","384px"],"name":["encoder.layers.0.fc1","encoder.layers.0.fc2","encoder.layers.1.fc1","encoder.layers.1.fc2","encoder.layers.2.fc1","encoder.layers.2.fc2","encoder.layers.3.fc1","encoder.layers.3.fc2","encoder.layers.4.fc1","encoder.layers.4.fc2","encoder.layers.5.fc1","encoder.layers.5.fc2","decoder.layers.0.fc1","decoder.layers.0.fc2","decoder.layers.1.fc1","decoder.layers.1.fc2","decoder.layers.2.fc1","decoder.layers.2.fc2","decoder.layers.3.fc1","decoder.layers.3.fc2","decoder.layers.4.fc1","decoder.layers.4.fc2","decoder.layers.5.fc1","decoder.layers.5.fc2"],"parameters":["0.05","0.05","0.04","0.04","0.06","0.06","0.06","0.06","0.07","0.07","0.08","0.08","0.02","0.02","0.17","0.17","0.19","0.19","0.19","0.19","0.09","0.09","0.13","0.13"],"url":["/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_0_fc1.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_0_fc2.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_1_fc1.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_1_fc2.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_2_fc1.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_2_fc2.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_3_fc1.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_3_fc2.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_4_fc1.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_4_fc2.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_5_fc1.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_5_fc2.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_0_fc1.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_0_fc2.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_1_fc1.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_1_fc2.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_2_fc1.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_2_fc2.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_3_fc1.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_3_fc2.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_4_fc1.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_4_fc2.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_5_fc1.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_5_fc2.png"],"x":[0.45,0.55,1.45,1.55,2.4499999999999997,2.55,3.4499999999999997,3.55,4.45,4.55,5.45,5.55,6.85,6.95,7.85,7.95,8.850000000000001,8.950000000000001,9.850000000000001,9.950000000000001,10.850000000000001,10.950000000000001,11.850000000000001,11.950000000000001]},"selected":{"id":"1180"},"selection_policy":{"id":"1181"}},"id":"1153","type":"ColumnDataSource"},{"attributes":{"data":{"density":["64.1%","51.4%","40.6%","18.2%","27.4%","37.8%","63.0%","49.0%","43.6%","45.3%","46.7%","41.3%","60.1%","35.2%","63.2%","43.4%","52.4%","94.4%"],"height":[0.377856,0.303104,0.239616,0.10752,0.161792,0.223232,0.371712,0.288768,0.257024,0.267264,0.275456,0.243712,0.354304,0.207872,0.372736,0.256,0.309248,0.557056],"img_height":["96px","96px","96px","96px","96px","96px","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","96px","96px","96px","96px","96px","96px"],"name":["encoder.layers.0_attn.q_proj","encoder.layers.1_attn.q_proj","encoder.layers.2_attn.q_proj","encoder.layers.3_attn.q_proj","encoder.layers.4_attn.q_proj","encoder.layers.5_attn.q_proj","decoder.layers.0_attn.q_proj","decoder.layers.0.encoder_attn.q_proj","decoder.layers.1_attn.q_proj","decoder.layers.1.encoder_attn.q_proj","decoder.layers.2_attn.q_proj","decoder.layers.2.encoder_attn.q_proj","decoder.layers.3_attn.q_proj","decoder.layers.3.encoder_attn.q_proj","decoder.layers.4_attn.q_proj","decoder.layers.4.encoder_attn.q_proj","decoder.layers.5_attn.q_proj","decoder.layers.5.encoder_attn.q_proj"],"parameters":["0.38","0.30","0.24","0.11","0.16","0.22","0.37","0.29","0.26","0.27","0.28","0.24","0.35","0.21","0.37","0.26","0.31","0.56"],"url":["/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_0_self_attn_q_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_1_self_attn_q_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_2_self_attn_q_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_3_self_attn_q_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_4_self_attn_q_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_5_self_attn_q_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_0_self_attn_q_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_0_encoder_attn_q_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_1_self_attn_q_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_1_encoder_attn_q_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_2_self_attn_q_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_2_encoder_attn_q_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_3_self_attn_q_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_3_encoder_attn_q_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_4_self_attn_q_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_4_encoder_attn_q_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_5_self_attn_q_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_5_encoder_attn_q_proj.png"],"x":[0.25,1.25,2.25,3.25,4.25,5.25,6.25,6.6499999999999995,7.25,7.6499999999999995,8.25,8.65,9.25,9.65,10.25,10.65,11.25,11.65]},"selected":{"id":"1176"},"selection_policy":{"id":"1177"}},"id":"1141","type":"ColumnDataSource"},{"attributes":{"source":{"id":"1129"}},"id":"1134","type":"CDSView"},{"attributes":{},"id":"1169","type":"AllLabels"},{"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.07142857142857142},"x":{"field":"x"}},"id":"1156","type":"VBar"},{"attributes":{"fill_color":{"value":"#6573f7"},"line_color":{"value":"#6573f7"},"top":{"field":"height"},"width":{"value":0.07142857142857142},"x":{"field":"x"}},"id":"1131","type":"VBar"},{"attributes":{"callback":null,"tooltips":"\\n        &lt;div&gt;\\n            &lt;div style=\\"margin-bottom:10px\\"&gt;\\n                &lt;span style=\\"font-size: 15px;\\"&gt;&lt;b&gt;@name&lt;/b&gt;&lt;br/&gt;density=@density&lt;/span&gt;\\n            &lt;/div&gt;\\n            &lt;div&gt;            \\n                &lt;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                /&gt;\\n            &lt;/div&gt;\\n        &lt;/div&gt;\\n        "},"id":"1107","type":"HoverTool"},{"attributes":{},"id":"1177","type":"UnionRenderers"},{"attributes":{"start":0},"id":"1113","type":"DataRange1d"},{"attributes":{"label":{"value":"Wq"},"renderers":[{"id":"1145"}]},"id":"1162","type":"LegendItem"},{"attributes":{},"id":"1174","type":"Selection"},{"attributes":{},"id":"1120","type":"BasicTicker"},{"attributes":{"text":"Transformer Layers"},"id":"1109","type":"Title"},{"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.07142857142857142},"x":{"field":"x"}},"id":"1132","type":"VBar"},{"attributes":{"data_source":{"id":"1135"},"glyph":{"id":"1137"},"hover_glyph":null,"muted_glyph":null,"name":"Wv","nonselection_glyph":{"id":"1138"},"view":{"id":"1140"}},"id":"1139","type":"GlyphRenderer"},{"attributes":{"data_source":{"id":"1129"},"glyph":{"id":"1131"},"hover_glyph":null,"muted_glyph":null,"name":"Wk","nonselection_glyph":{"id":"1132"},"view":{"id":"1134"}},"id":"1133","type":"GlyphRenderer"},{"attributes":{"axis":{"id":"1123"},"dimension":1,"ticker":null},"id":"1126","type":"Grid"},{"attributes":{"data_source":{"id":"1147"},"glyph":{"id":"1149"},"hover_glyph":null,"muted_glyph":null,"name":"Wo","nonselection_glyph":{"id":"1150"},"view":{"id":"1152"}},"id":"1151","type":"GlyphRenderer"},{"attributes":{},"id":"1168","type":"BasicTickFormatter"},{"attributes":{},"id":"1115","type":"LinearScale"},{"attributes":{"data_source":{"id":"1153"},"glyph":{"id":"1155"},"hover_glyph":null,"muted_glyph":null,"name":"FFN","nonselection_glyph":{"id":"1156"},"view":{"id":"1158"}},"id":"1157","type":"GlyphRenderer"},{"attributes":{"label":{"value":"Wo"},"renderers":[{"id":"1151"}]},"id":"1163","type":"LegendItem"},{"attributes":{"active_multi":null,"tools":[{"id":"1107"}]},"id":"1127","type":"Toolbar"},{"attributes":{},"id":"1173","type":"UnionRenderers"},{"attributes":{"fill_color":{"value":"#aa69f7"},"line_color":{"value":"#aa69f7"},"top":{"field":"height"},"width":{"value":0.07142857142857142},"x":{"field":"x"}},"id":"1155","type":"VBar"},{"attributes":{},"id":"1175","type":"UnionRenderers"},{"attributes":{},"id":"1166","type":"AllLabels"},{"attributes":{},"id":"1124","type":"BasicTicker"},{"attributes":{},"id":"1171","type":"BasicTickFormatter"},{"attributes":{"label":{"value":"Wk"},"renderers":[{"id":"1133"}]},"id":"1160","type":"LegendItem"},{"attributes":{"source":{"id":"1141"}},"id":"1146","type":"CDSView"},{"attributes":{"source":{"id":"1153"}},"id":"1158","type":"CDSView"},{"attributes":{},"id":"1176","type":"Selection"},{"attributes":{"data_source":{"id":"1141"},"glyph":{"id":"1143"},"hover_glyph":null,"muted_glyph":null,"name":"Wq","nonselection_glyph":{"id":"1144"},"view":{"id":"1146"}},"id":"1145","type":"GlyphRenderer"},{"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.07142857142857142},"x":{"field":"x"}},"id":"1144","type":"VBar"},{"attributes":{"label":{"value":"Wv"},"renderers":[{"id":"1139"}]},"id":"1161","type":"LegendItem"},{"attributes":{"data":{"density":["68.2%","45.0%","31.1%","16.0%","21.2%","35.8%","72.9%","37.2%","60.4%","39.8%","60.8%","46.4%","75.0%","31.1%","73.8%","42.0%","64.2%","98.8%"],"height":[0.402432,0.265216,0.183296,0.094208,0.124928,0.210944,0.43008,0.219136,0.356352,0.234496,0.3584,0.273408,0.442368,0.183296,0.4352,0.247808,0.37888,0.582656],"img_height":["96px","96px","96px","96px","96px","96px","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","96px","96px","96px","96px","96px","96px"],"name":["encoder.layers.0_attn.out_proj","encoder.layers.1_attn.out_proj","encoder.layers.2_attn.out_proj","encoder.layers.3_attn.out_proj","encoder.layers.4_attn.out_proj","encoder.layers.5_attn.out_proj","decoder.layers.0_attn.out_proj","decoder.layers.0.encoder_attn.out_proj","decoder.layers.1_attn.out_proj","decoder.layers.1.encoder_attn.out_proj","decoder.layers.2_attn.out_proj","decoder.layers.2.encoder_attn.out_proj","decoder.layers.3_attn.out_proj","decoder.layers.3.encoder_attn.out_proj","decoder.layers.4_attn.out_proj","decoder.layers.4.encoder_attn.out_proj","decoder.layers.5_attn.out_proj","decoder.layers.5.encoder_attn.out_proj"],"parameters":["0.40","0.27","0.18","0.09","0.12","0.21","0.43","0.22","0.36","0.23","0.36","0.27","0.44","0.18","0.44","0.25","0.38","0.58"],"url":["/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_0_self_attn_out_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_1_self_attn_out_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_2_self_attn_out_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_3_self_attn_out_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_4_self_attn_out_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_5_self_attn_out_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_0_self_attn_out_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_0_encoder_attn_out_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_1_self_attn_out_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_1_encoder_attn_out_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_2_self_attn_out_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_2_encoder_attn_out_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_3_self_attn_out_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_3_encoder_attn_out_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_4_self_attn_out_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_4_encoder_attn_out_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_5_self_attn_out_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_5_encoder_attn_out_proj.png"],"x":[0.35,1.35,2.3499999999999996,3.3499999999999996,4.35,5.35,6.35,6.75,7.35,7.75,8.350000000000001,8.75,9.350000000000001,9.75,10.350000000000001,10.75,11.350000000000001,11.75]},"selected":{"id":"1178"},"selection_policy":{"id":"1179"}},"id":"1147","type":"ColumnDataSource"},{"attributes":{},"id":"1179","type":"UnionRenderers"},{"attributes":{},"id":"1181","type":"UnionRenderers"},{"attributes":{"fill_color":{"value":"#20cb97"},"line_color":{"value":"#20cb97"},"top":{"field":"height"},"width":{"value":0.07142857142857142},"x":{"field":"x"}},"id":"1143","type":"VBar"},{"attributes":{"items":[{"id":"1160"},{"id":"1161"},{"id":"1162"},{"id":"1163"},{"id":"1164"}],"location":[10,0],"orientation":"horizontal"},"id":"1159","type":"Legend"},{"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.07142857142857142},"x":{"field":"x"}},"id":"1138","type":"VBar"},{"attributes":{"fill_color":{"value":"#f7b269"},"line_color":{"value":"#f7b269"},"top":{"field":"height"},"width":{"value":0.07142857142857142},"x":{"field":"x"}},"id":"1149","type":"VBar"},{"attributes":{},"id":"1178","type":"Selection"},{"attributes":{"fill_color":{"value":"#ed5642"},"line_color":{"value":"#ed5642"},"top":{"field":"height"},"width":{"value":0.07142857142857142},"x":{"field":"x"}},"id":"1137","type":"VBar"},{"attributes":{"axis":{"id":"1119"},"grid_line_color":null,"ticker":null},"id":"1122","type":"Grid"},{"attributes":{"data":{"density":["67.5%","44.6%","28.8%","15.6%","17.4%","32.5%","71.9%","37.8%","59.2%","35.6%","55.7%","41.8%","75.9%","29.7%","73.8%","42.5%","62.5%","99.1%"],"height":[0.398336,0.263168,0.169984,0.09216,0.1024,0.191488,0.423936,0.223232,0.349184,0.20992,0.328704,0.246784,0.447488,0.175104,0.4352,0.25088,0.36864,0.584704],"img_height":["96px","96px","96px","96px","96px","96px","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","96px","96px","96px","96px","96px","96px"],"name":["encoder.layers.0_attn.v_proj","encoder.layers.1_attn.v_proj","encoder.layers.2_attn.v_proj","encoder.layers.3_attn.v_proj","encoder.layers.4_attn.v_proj","encoder.layers.5_attn.v_proj","decoder.layers.0_attn.v_proj","decoder.layers.0.encoder_attn.v_proj","decoder.layers.1_attn.v_proj","decoder.layers.1.encoder_attn.v_proj","decoder.layers.2_attn.v_proj","decoder.layers.2.encoder_attn.v_proj","decoder.layers.3_attn.v_proj","decoder.layers.3.encoder_attn.v_proj","decoder.layers.4_attn.v_proj","decoder.layers.4.encoder_attn.v_proj","decoder.layers.5_attn.v_proj","decoder.layers.5.encoder_attn.v_proj"],"parameters":["0.40","0.26","0.17","0.09","0.10","0.19","0.42","0.22","0.35","0.21","0.33","0.25","0.45","0.18","0.44","0.25","0.37","0.58"],"url":["/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_0_self_attn_v_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_1_self_attn_v_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_2_self_attn_v_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_3_self_attn_v_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_4_self_attn_v_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_5_self_attn_v_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_0_self_attn_v_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_0_encoder_attn_v_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_1_self_attn_v_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_1_encoder_attn_v_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_2_self_attn_v_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_2_encoder_attn_v_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_3_self_attn_v_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_3_encoder_attn_v_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_4_self_attn_v_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_4_encoder_attn_v_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_5_self_attn_v_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_5_encoder_attn_v_proj.png"],"x":[0.15000000000000002,1.1500000000000001,2.15,3.15,4.1499999999999995,5.1499999999999995,6.1499999999999995,6.55,7.1499999999999995,7.55,8.15,8.55,9.15,9.55,10.15,10.55,11.15,11.55]},"selected":{"id":"1174"},"selection_policy":{"id":"1175"}},"id":"1135","type":"ColumnDataSource"},{"attributes":{"source":{"id":"1147"}},"id":"1152","type":"CDSView"},{"attributes":{"above":[{"id":"1159"}],"below":[{"id":"1119"}],"center":[{"id":"1122"},{"id":"1126"}],"height":300,"left":[{"id":"1123"}],"outline_line_color":null,"renderers":[{"id":"1133"},{"id":"1139"},{"id":"1145"},{"id":"1151"},{"id":"1157"}],"title":{"id":"1109"},"toolbar":{"id":"1127"},"width":505,"x_range":{"id":"1111"},"x_scale":{"id":"1115"},"y_range":{"id":"1113"},"y_scale":{"id":"1117"}},"id":"1108","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"1172","type":"Selection"},{"attributes":{"source":{"id":"1135"}},"id":"1140","type":"CDSView"},{"attributes":{"label":{"value":"FFN"},"renderers":[{"id":"1157"}]},"id":"1164","type":"LegendItem"},{"attributes":{"axis_label":"Parameters (M)","formatter":{"id":"1168"},"major_label_policy":{"id":"1166"},"minor_tick_line_color":null,"ticker":{"id":"1124"}},"id":"1123","type":"LinearAxis"},{"attributes":{},"id":"1117","type":"LinearScale"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#f7b269"},"line_alpha":{"value":0.1},"line_color":{"value":"#f7b269"},"top":{"field":"height"},"width":{"value":0.07142857142857142},"x":{"field":"x"}},"id":"1150","type":"VBar"},{"attributes":{"axis_label":"Layer","formatter":{"id":"1171"},"major_label_policy":{"id":"1169"},"minor_tick_line_color":null,"ticker":{"id":"1120"}},"id":"1119","type":"LinearAxis"},{"attributes":{},"id":"1111","type":"DataRange1d"},{"attributes":{"data":{"density":["64.6%","54.0%","46.5%","18.1%","27.4%","36.5%","68.6%","42.4%","41.0%","33.2%","43.8%","38.0%","54.0%","29.5%","54.9%","39.4%","48.3%","93.2%"],"height":[0.380928,0.318464,0.274432,0.106496,0.161792,0.21504,0.40448,0.249856,0.241664,0.195584,0.258048,0.224256,0.318464,0.17408,0.323584,0.232448,0.284672,0.549888],"img_height":["96px","96px","96px","96px","96px","96px","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","96px","96px","96px","96px","96px","96px"],"name":["encoder.layers.0_attn.k_proj","encoder.layers.1_attn.k_proj","encoder.layers.2_attn.k_proj","encoder.layers.3_attn.k_proj","encoder.layers.4_attn.k_proj","encoder.layers.5_attn.k_proj","decoder.layers.0_attn.k_proj","decoder.layers.0.encoder_attn.k_proj","decoder.layers.1_attn.k_proj","decoder.layers.1.encoder_attn.k_proj","decoder.layers.2_attn.k_proj","decoder.layers.2.encoder_attn.k_proj","decoder.layers.3_attn.k_proj","decoder.layers.3.encoder_attn.k_proj","decoder.layers.4_attn.k_proj","decoder.layers.4.encoder_attn.k_proj","decoder.layers.5_attn.k_proj","decoder.layers.5.encoder_attn.k_proj"],"parameters":["0.38","0.32","0.27","0.11","0.16","0.22","0.40","0.25","0.24","0.20","0.26","0.22","0.32","0.17","0.32","0.23","0.28","0.55"],"url":["/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_0_self_attn_k_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_1_self_attn_k_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_2_self_attn_k_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_3_self_attn_k_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_4_self_attn_k_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_encoder_layers_5_self_attn_k_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_0_self_attn_k_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_0_encoder_attn_k_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_1_self_attn_k_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_1_encoder_attn_k_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_2_self_attn_k_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_2_encoder_attn_k_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_3_self_attn_k_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_3_encoder_attn_k_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_4_self_attn_k_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_4_encoder_attn_k_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_5_self_attn_k_proj.png","/echarlaix/bart-base-cnn-r2-18.7-d23-hybrid/raw/main/model_card/images/model_decoder_layers_5_encoder_attn_k_proj.png"],"x":[0.05,1.05,2.05,3.05,4.05,5.05,6.05,6.45,7.05,7.45,8.05,8.450000000000001,9.05,9.450000000000001,10.05,10.450000000000001,11.05,11.450000000000001]},"selected":{"id":"1172"},"selection_policy":{"id":"1173"}},"id":"1129","type":"ColumnDataSource"}],"root_ids":["1108"]},"title":"Bokeh Application","version":"2.3.2"}}';
                  var render_items = [{"docid":"7a2e7246-2ff1-4aba-b6ac-1c411e98fc75","root_ids":["1108"],"roots":{"1108":"4348cd46-05bd-4e27-b565-6693f9e0b03e"}}];
                  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);
})();