echarlaix HF staff commited on
Commit
83d7ce2
1 Parent(s): 58d7b6d

Adding model, graphs and metadata.

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +44 -0
  2. config.json +140 -0
  3. eval/eval_results_sst2.json +4 -0
  4. eval/sparsity_report.json +1 -0
  5. model_card/density_info.js +174 -0
  6. model_card/images/layer_0_attention_output_dense.png +0 -0
  7. model_card/images/layer_0_attention_self_key.png +0 -0
  8. model_card/images/layer_0_attention_self_query.png +0 -0
  9. model_card/images/layer_0_attention_self_value.png +0 -0
  10. model_card/images/layer_0_intermediate_dense.png +0 -0
  11. model_card/images/layer_0_output_dense.png +0 -0
  12. model_card/images/layer_10_attention_output_dense.png +0 -0
  13. model_card/images/layer_10_attention_self_key.png +0 -0
  14. model_card/images/layer_10_attention_self_query.png +0 -0
  15. model_card/images/layer_10_attention_self_value.png +0 -0
  16. model_card/images/layer_10_intermediate_dense.png +0 -0
  17. model_card/images/layer_10_output_dense.png +0 -0
  18. model_card/images/layer_11_attention_output_dense.png +0 -0
  19. model_card/images/layer_11_attention_self_key.png +0 -0
  20. model_card/images/layer_11_attention_self_query.png +0 -0
  21. model_card/images/layer_11_attention_self_value.png +0 -0
  22. model_card/images/layer_11_intermediate_dense.png +0 -0
  23. model_card/images/layer_11_output_dense.png +0 -0
  24. model_card/images/layer_1_attention_output_dense.png +0 -0
  25. model_card/images/layer_1_attention_self_key.png +0 -0
  26. model_card/images/layer_1_attention_self_query.png +0 -0
  27. model_card/images/layer_1_attention_self_value.png +0 -0
  28. model_card/images/layer_1_intermediate_dense.png +0 -0
  29. model_card/images/layer_1_output_dense.png +0 -0
  30. model_card/images/layer_2_attention_output_dense.png +0 -0
  31. model_card/images/layer_2_attention_self_key.png +0 -0
  32. model_card/images/layer_2_attention_self_query.png +0 -0
  33. model_card/images/layer_2_attention_self_value.png +0 -0
  34. model_card/images/layer_2_intermediate_dense.png +0 -0
  35. model_card/images/layer_2_output_dense.png +0 -0
  36. model_card/images/layer_3_attention_output_dense.png +0 -0
  37. model_card/images/layer_3_attention_self_key.png +0 -0
  38. model_card/images/layer_3_attention_self_query.png +0 -0
  39. model_card/images/layer_3_attention_self_value.png +0 -0
  40. model_card/images/layer_3_intermediate_dense.png +0 -0
  41. model_card/images/layer_3_output_dense.png +0 -0
  42. model_card/images/layer_4_attention_output_dense.png +0 -0
  43. model_card/images/layer_4_attention_self_key.png +0 -0
  44. model_card/images/layer_4_attention_self_query.png +0 -0
  45. model_card/images/layer_4_attention_self_value.png +0 -0
  46. model_card/images/layer_4_intermediate_dense.png +0 -0
  47. model_card/images/layer_4_output_dense.png +0 -0
  48. model_card/images/layer_5_attention_output_dense.png +0 -0
  49. model_card/images/layer_5_attention_self_key.png +0 -0
  50. model_card/images/layer_5_attention_self_query.png +0 -0
README.md ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: en
3
+ license: apache-2.0
4
+ tags:
5
+ - text-classification
6
+ datasets:
7
+ - sst-2
8
+ metrics:
9
+ - accuracy
10
+ ---
11
+
12
+ ## bert-base-uncased model fine-tuned on SST-2
13
+
14
+ This model was created using the [nn_pruning](https://github.com/huggingface/nn_pruning) python library: the linear layers contains **37%** of the original weights.
15
+
16
+ The model contains **51%** of the original weights **overall** (the embeddings account for a significant part of the model, and they are not pruned by this method).
17
+
18
+ <div class="graph"><script src="/echarlaix/bert-base-uncased-sst2-acc91.1-d37-hybrid/raw/main/model_card/density_info.js" id="3f521877-7c9e-4846-9411-2b1d61d3b9ab"></script></div>
19
+
20
+ In terms of perfomance, its **accuracy** is **91.17**.
21
+
22
+ ## Fine-Pruning details
23
+ This model was fine-tuned from the HuggingFace [model](https://huggingface.co/bert-base-uncased) checkpoint on task, and distilled from the model [textattack/bert-base-uncased-SST-2](https://huggingface.co/textattack/bert-base-uncased-SST-2).
24
+ This model is case-insensitive: it does not make a difference between english and English.
25
+
26
+ A side-effect of the block pruning method is that some of the attention heads are completely removed: 88 heads were removed on a total of 144 (61.1%).
27
+ Here is a detailed view on how the remaining heads are distributed in the network after pruning.
28
+ <div class="graph"><script src="/echarlaix/bert-base-uncased-sst2-acc91.1-d37-hybrid/raw/main/model_card/pruning_info.js" id="93b19d7f-c11b-4edf-9670-091e40d9be25"></script></div>
29
+
30
+ ## Details of the SST-2 dataset
31
+
32
+ | Dataset | Split | # samples |
33
+ | -------- | ----- | --------- |
34
+ | SST-2 | train | 67K |
35
+ | SST-2 | eval | 872 |
36
+
37
+ ### Results
38
+
39
+ **Pytorch model file size**: `351MB` (original BERT: `420MB`)
40
+
41
+ | Metric | # Value | # Original ([Table 2](https://www.aclweb.org/anthology/N19-1423.pdf))| Variation |
42
+ | ------ | --------- | --------- | --------- |
43
+ | **accuracy** | **91.17** | **92.7** | **-1.53**|
44
+
config.json ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/tmp/tmp7fwsqmie",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "finetuning_task": "sst2",
8
+ "gradient_checkpointing": false,
9
+ "heads_count": 56,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-12,
16
+ "max_position_embeddings": 512,
17
+ "model_type": "bert",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "pad_token_id": 0,
21
+ "position_embedding_type": "absolute",
22
+ "pruned_heads": {
23
+ "0": [
24
+ 0,
25
+ 4,
26
+ 6,
27
+ 7,
28
+ 8,
29
+ 9,
30
+ 11
31
+ ],
32
+ "1": [
33
+ 0,
34
+ 2,
35
+ 3,
36
+ 5,
37
+ 6,
38
+ 7,
39
+ 8,
40
+ 9
41
+ ],
42
+ "2": [
43
+ 2,
44
+ 3,
45
+ 4,
46
+ 5,
47
+ 6,
48
+ 7,
49
+ 8,
50
+ 10,
51
+ 11
52
+ ],
53
+ "3": [
54
+ 0,
55
+ 1,
56
+ 2,
57
+ 3,
58
+ 4,
59
+ 6,
60
+ 7,
61
+ 8,
62
+ 11
63
+ ],
64
+ "4": [
65
+ 1,
66
+ 2,
67
+ 3,
68
+ 4,
69
+ 8
70
+ ],
71
+ "5": [
72
+ 1,
73
+ 2,
74
+ 5,
75
+ 11
76
+ ],
77
+ "6": [
78
+ 1,
79
+ 3,
80
+ 7,
81
+ 9,
82
+ 10,
83
+ 11
84
+ ],
85
+ "7": [
86
+ 2,
87
+ 4,
88
+ 6,
89
+ 7,
90
+ 11
91
+ ],
92
+ "8": [
93
+ 0,
94
+ 2,
95
+ 3,
96
+ 4,
97
+ 5,
98
+ 6
99
+ ],
100
+ "9": [
101
+ 0,
102
+ 1,
103
+ 3,
104
+ 4,
105
+ 6,
106
+ 8,
107
+ 9,
108
+ 11
109
+ ],
110
+ "10": [
111
+ 0,
112
+ 1,
113
+ 2,
114
+ 3,
115
+ 5,
116
+ 6,
117
+ 7,
118
+ 8,
119
+ 9,
120
+ 10
121
+ ],
122
+ "11": [
123
+ 1,
124
+ 2,
125
+ 3,
126
+ 4,
127
+ 5,
128
+ 6,
129
+ 7,
130
+ 8,
131
+ 9,
132
+ 10,
133
+ 11
134
+ ]
135
+ },
136
+ "transformers_version": "4.4.1",
137
+ "type_vocab_size": 2,
138
+ "use_cache": true,
139
+ "vocab_size": 30522
140
+ }
eval/eval_results_sst2.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "eval_accuracy": 0.911697247706422,
3
+ "eval_loss": 0.45370951294898987
4
+ }
eval/sparsity_report.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"total": 109466882, "nnz": 56374189, "linear_total": 84934656, "linear_nnz": 31863296, "layers": {"0": {"total": 7086528, "nnz": 3073417, "linear_total": 7077888, "linear_nnz": 3066368, "linear_attention_total": 2359296, "linear_attention_nnz": 496640, "linear_dense_total": 4718592, "linear_dense_nnz": 2569728}, "1": {"total": 7086336, "nnz": 3253643, "linear_total": 7077888, "linear_nnz": 3246592, "linear_attention_total": 2359296, "linear_attention_nnz": 526336, "linear_dense_total": 4718592, "linear_dense_nnz": 2720256}, "2": {"total": 7086144, "nnz": 3723797, "linear_total": 7077888, "linear_nnz": 3716608, "linear_attention_total": 2359296, "linear_attention_nnz": 440320, "linear_dense_total": 4718592, "linear_dense_nnz": 3276288}, "3": {"total": 7086144, "nnz": 3890416, "linear_total": 7077888, "linear_nnz": 3883008, "linear_attention_total": 2359296, "linear_attention_nnz": 466944, "linear_dense_total": 4718592, "linear_dense_nnz": 3416064}, "4": {"total": 7086912, "nnz": 3876149, "linear_total": 7077888, "linear_nnz": 3868160, "linear_attention_total": 2359296, "linear_attention_nnz": 591872, "linear_dense_total": 4718592, "linear_dense_nnz": 3276288}, "5": {"total": 7087104, "nnz": 3973982, "linear_total": 7077888, "linear_nnz": 3965952, "linear_attention_total": 2359296, "linear_attention_nnz": 774144, "linear_dense_total": 4718592, "linear_dense_nnz": 3191808}, "6": {"total": 7086720, "nnz": 3478463, "linear_total": 7077888, "linear_nnz": 3470848, "linear_attention_total": 2359296, "linear_attention_nnz": 572416, "linear_dense_total": 4718592, "linear_dense_nnz": 2898432}, "7": {"total": 7086912, "nnz": 3203308, "linear_total": 7077888, "linear_nnz": 3195904, "linear_attention_total": 2359296, "linear_attention_nnz": 867328, "linear_dense_total": 4718592, "linear_dense_nnz": 2328576}, "8": {"total": 7086720, "nnz": 1837865, "linear_total": 7077888, "linear_nnz": 1831424, "linear_attention_total": 2359296, "linear_attention_nnz": 637952, "linear_dense_total": 4718592, "linear_dense_nnz": 1193472}, "9": {"total": 7086336, "nnz": 906736, "linear_total": 7077888, "linear_nnz": 901120, "linear_attention_total": 2359296, "linear_attention_nnz": 385024, "linear_dense_total": 4718592, "linear_dense_nnz": 516096}, "10": {"total": 7085952, "nnz": 481310, "linear_total": 7077888, "linear_nnz": 476160, "linear_attention_total": 2359296, "linear_attention_nnz": 233472, "linear_dense_total": 4718592, "linear_dense_nnz": 242688}, "11": {"total": 7085760, "nnz": 245789, "linear_total": 7077888, "linear_nnz": 241152, "linear_attention_total": 2359296, "linear_attention_nnz": 0, "linear_dense_total": 4718592, "linear_dense_nnz": 241152}}, "total_sparsity": 48.501146675576265, "linear_sparsity": 62.48492959104939, "pruned_heads": {"0": [0, 4, 6, 7, 8, 9, 11], "1": [0, 2, 3, 5, 6, 7, 8, 9], "2": [2, 3, 4, 5, 6, 7, 8, 10, 11], "3": [0, 1, 2, 3, 4, 6, 7, 8, 11], "4": [1, 2, 3, 4, 8], "5": [1, 2, 11, 5], "6": [1, 3, 7, 9, 10, 11], "7": [2, 4, 6, 7, 11], "8": [0, 2, 3, 4, 5, 6], "9": [0, 1, 3, 4, 6, 8, 9, 11], "10": [0, 1, 2, 3, 5, 6, 7, 8, 9, 10], "11": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]}}
model_card/density_info.js ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function() {
2
+ var fn = function() {
3
+
4
+ (function(root) {
5
+ function now() {
6
+ return new Date();
7
+ }
8
+
9
+ var force = false;
10
+
11
+ if (typeof root._bokeh_onload_callbacks === "undefined" || force === true) {
12
+ root._bokeh_onload_callbacks = [];
13
+ root._bokeh_is_loading = undefined;
14
+ }
15
+
16
+
17
+
18
+
19
+ var element = document.getElementById("ca8aceb6-0975-4d02-b19f-4c1a5df8bf71");
20
+ if (element == null) {
21
+ console.warn("Bokeh: autoload.js configured with elementid 'ca8aceb6-0975-4d02-b19f-4c1a5df8bf71' but no matching script tag was found.")
22
+ }
23
+
24
+
25
+ function run_callbacks() {
26
+ try {
27
+ root._bokeh_onload_callbacks.forEach(function(callback) {
28
+ if (callback != null)
29
+ callback();
30
+ });
31
+ } finally {
32
+ delete root._bokeh_onload_callbacks
33
+ }
34
+ console.debug("Bokeh: all callbacks have finished");
35
+ }
36
+
37
+ function load_libs(css_urls, js_urls, callback) {
38
+ if (css_urls == null) css_urls = [];
39
+ if (js_urls == null) js_urls = [];
40
+
41
+ root._bokeh_onload_callbacks.push(callback);
42
+ if (root._bokeh_is_loading > 0) {
43
+ console.debug("Bokeh: BokehJS is being loaded, scheduling callback at", now());
44
+ return null;
45
+ }
46
+ if (js_urls == null || js_urls.length === 0) {
47
+ run_callbacks();
48
+ return null;
49
+ }
50
+ console.debug("Bokeh: BokehJS not loaded, scheduling load and callback at", now());
51
+ root._bokeh_is_loading = css_urls.length + js_urls.length;
52
+
53
+ function on_load() {
54
+ root._bokeh_is_loading--;
55
+ if (root._bokeh_is_loading === 0) {
56
+ console.debug("Bokeh: all BokehJS libraries/stylesheets loaded");
57
+ run_callbacks()
58
+ }
59
+ }
60
+
61
+ function on_error(url) {
62
+ console.error("failed to load " + url);
63
+ }
64
+
65
+ for (let i = 0; i < css_urls.length; i++) {
66
+ const url = css_urls[i];
67
+ const element = document.createElement("link");
68
+ element.onload = on_load;
69
+ element.onerror = on_error.bind(null, url);
70
+ element.rel = "stylesheet";
71
+ element.type = "text/css";
72
+ element.href = url;
73
+ console.debug("Bokeh: injecting link tag for BokehJS stylesheet: ", url);
74
+ document.body.appendChild(element);
75
+ }
76
+
77
+ 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"};
78
+
79
+ for (let i = 0; i < js_urls.length; i++) {
80
+ const url = js_urls[i];
81
+ const element = document.createElement('script');
82
+ element.onload = on_load;
83
+ element.onerror = on_error.bind(null, url);
84
+ element.async = false;
85
+ element.src = url;
86
+ if (url in hashes) {
87
+ element.crossOrigin = "anonymous";
88
+ element.integrity = "sha384-" + hashes[url];
89
+ }
90
+ console.debug("Bokeh: injecting script tag for BokehJS library: ", url);
91
+ document.head.appendChild(element);
92
+ }
93
+ };
94
+
95
+ function inject_raw_css(css) {
96
+ const element = document.createElement("style");
97
+ element.appendChild(document.createTextNode(css));
98
+ document.body.appendChild(element);
99
+ }
100
+
101
+
102
+ 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"];
103
+ var css_urls = [];
104
+
105
+
106
+ var inline_js = [
107
+ function(Bokeh) {
108
+ Bokeh.set_log_level("info");
109
+ },
110
+
111
+ function(Bokeh) {
112
+ (function() {
113
+ var fn = function() {
114
+ Bokeh.safely(function() {
115
+ (function(root) {
116
+ function embed_document(root) {
117
+
118
+ var docs_json = '{"2ef482b4-a875-4614-8279-9dd12632e399":{"defs":[],"roots":{"references":[{"attributes":{},"id":"1178","type":"Selection"},{"attributes":{"axis_label":"Layer","formatter":{"id":"1166"},"major_label_policy":{"id":"1168"},"minor_tick_line_color":null,"ticker":{"id":"1120"}},"id":"1119","type":"LinearAxis"},{"attributes":{},"id":"1179","type":"UnionRenderers"},{"attributes":{"items":[{"id":"1160"},{"id":"1161"},{"id":"1162"},{"id":"1163"},{"id":"1164"}],"location":[10,0],"orientation":"horizontal"},"id":"1159","type":"Legend"},{"attributes":{},"id":"1115","type":"LinearScale"},{"attributes":{"data_source":{"id":"1129"},"glyph":{"id":"1131"},"hover_glyph":null,"muted_glyph":null,"name":"Wq","nonselection_glyph":{"id":"1132"},"view":{"id":"1134"}},"id":"1133","type":"GlyphRenderer"},{"attributes":{"label":{"value":"Wq"},"renderers":[{"id":"1133"}]},"id":"1160","type":"LegendItem"},{"attributes":{"data":{"density":["14.4%","19.4%","14.8%","17.7%","18.1%","27.6%","21.4%","33.0%","25.3%","15.1%","6.9%","0.0%"],"height":[0.084992,0.114688,0.08704,0.104448,0.106496,0.162816,0.125952,0.19456,0.149504,0.089088,0.04096,0.0],"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":["encoder.layer.0.attention.key","encoder.layer.1.attention.key","encoder.layer.2.attention.key","encoder.layer.3.attention.key","encoder.layer.4.attention.key","encoder.layer.5.attention.key","encoder.layer.6.attention.key","encoder.layer.7.attention.key","encoder.layer.8.attention.key","encoder.layer.9.attention.key","encoder.layer.10.attention.key","encoder.layer.11.attention.key"],"parameters":["0.08","0.11","0.09","0.10","0.11","0.16","0.13","0.19","0.15","0.09","0.04","0.00"],"url":["/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_0_attention_self_key.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_1_attention_self_key.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_2_attention_self_key.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_3_attention_self_key.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_4_attention_self_key.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_5_attention_self_key.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_6_attention_self_key.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_7_attention_self_key.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_8_attention_self_key.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_9_attention_self_key.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_10_attention_self_key.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/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":"1174"},"selection_policy":{"id":"1175"}},"id":"1135","type":"ColumnDataSource"},{"attributes":{"label":{"value":"Wk"},"renderers":[{"id":"1139"}]},"id":"1161","type":"LegendItem"},{"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":{},"id":"1174","type":"Selection"},{"attributes":{},"id":"1175","type":"UnionRenderers"},{"attributes":{"source":{"id":"1129"}},"id":"1134","type":"CDSView"},{"attributes":{"start":0},"id":"1113","type":"DataRange1d"},{"attributes":{"fill_color":{"value":"#6573f7"},"line_color":{"value":"#6573f7"},"top":{"field":"height"},"width":{"value":0.07142857142857142},"x":{"field":"x"}},"id":"1131","type":"VBar"},{"attributes":{"label":{"value":"Wv"},"renderers":[{"id":"1145"}]},"id":"1162","type":"LegendItem"},{"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":["27.1%","23.8%","22.4%","22.2%","33.0%","38.7%","26.2%","42.2%","32.1%","22.4%","14.6%","0.0%"],"height":[0.159744,0.140288,0.132096,0.131072,0.19456,0.228352,0.154624,0.248832,0.18944,0.132096,0.086016,0.0],"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":["encoder.layer.0.attention.value","encoder.layer.1.attention.value","encoder.layer.2.attention.value","encoder.layer.3.attention.value","encoder.layer.4.attention.value","encoder.layer.5.attention.value","encoder.layer.6.attention.value","encoder.layer.7.attention.value","encoder.layer.8.attention.value","encoder.layer.9.attention.value","encoder.layer.10.attention.value","encoder.layer.11.attention.value"],"parameters":["0.16","0.14","0.13","0.13","0.19","0.23","0.15","0.25","0.19","0.13","0.09","0.00"],"url":["/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_0_attention_self_value.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_1_attention_self_value.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_2_attention_self_value.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_3_attention_self_value.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_4_attention_self_value.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_5_attention_self_value.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_6_attention_self_value.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_7_attention_self_value.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_8_attention_self_value.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_9_attention_self_value.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_10_attention_self_value.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/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":"1176"},"selection_policy":{"id":"1177"}},"id":"1141","type":"ColumnDataSource"},{"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":{"text":"Transformer Layers"},"id":"1109","type":"Title"},{"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":{"label":{"value":"Wo"},"renderers":[{"id":"1151"}]},"id":"1163","type":"LegendItem"},{"attributes":{"data_source":{"id":"1135"},"glyph":{"id":"1137"},"hover_glyph":null,"muted_glyph":null,"name":"Wk","nonselection_glyph":{"id":"1138"},"view":{"id":"1140"}},"id":"1139","type":"GlyphRenderer"},{"attributes":{},"id":"1180","type":"Selection"},{"attributes":{"source":{"id":"1147"}},"id":"1152","type":"CDSView"},{"attributes":{},"id":"1181","type":"UnionRenderers"},{"attributes":{"axis":{"id":"1123"},"dimension":1,"ticker":null},"id":"1126","type":"Grid"},{"attributes":{"source":{"id":"1135"}},"id":"1140","type":"CDSView"},{"attributes":{},"id":"1111","type":"DataRange1d"},{"attributes":{},"id":"1124","type":"BasicTicker"},{"attributes":{"fill_color":{"value":"#20cb97"},"line_color":{"value":"#20cb97"},"top":{"field":"height"},"width":{"value":0.07142857142857142},"x":{"field":"x"}},"id":"1143","type":"VBar"},{"attributes":{"axis_label":"Parameters (M)","formatter":{"id":"1169"},"major_label_policy":{"id":"1171"},"minor_tick_line_color":null,"ticker":{"id":"1124"}},"id":"1123","type":"LinearAxis"},{"attributes":{"data":{"density":["14.8%","19.8%","14.2%","16.5%","16.8%","26.2%","21.5%","30.0%","20.1%","9.0%","4.5%","0.0%"],"height":[0.08704,0.116736,0.083968,0.09728,0.099328,0.154624,0.126976,0.177152,0.118784,0.053248,0.026624,0.0],"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":["encoder.layer.0.attention.query","encoder.layer.1.attention.query","encoder.layer.2.attention.query","encoder.layer.3.attention.query","encoder.layer.4.attention.query","encoder.layer.5.attention.query","encoder.layer.6.attention.query","encoder.layer.7.attention.query","encoder.layer.8.attention.query","encoder.layer.9.attention.query","encoder.layer.10.attention.query","encoder.layer.11.attention.query"],"parameters":["0.09","0.12","0.08","0.10","0.10","0.15","0.13","0.18","0.12","0.05","0.03","0.00"],"url":["/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_0_attention_self_query.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_1_attention_self_query.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_2_attention_self_query.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_3_attention_self_query.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_4_attention_self_query.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_5_attention_self_query.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_6_attention_self_query.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_7_attention_self_query.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_8_attention_self_query.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_9_attention_self_query.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_10_attention_self_query.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/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":"1172"},"selection_policy":{"id":"1173"}},"id":"1129","type":"ColumnDataSource"},{"attributes":{"data":{"density":["28.0%","26.2%","23.3%","22.7%","32.5%","38.7%","28.0%","41.8%","30.6%","18.8%","13.5%","0.0%"],"height":[0.164864,0.154624,0.137216,0.134144,0.191488,0.228352,0.164864,0.246784,0.180224,0.110592,0.079872,0.0],"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":["encoder.layer.0.attention.output","encoder.layer.1.attention.output","encoder.layer.2.attention.output","encoder.layer.3.attention.output","encoder.layer.4.attention.output","encoder.layer.5.attention.output","encoder.layer.6.attention.output","encoder.layer.7.attention.output","encoder.layer.8.attention.output","encoder.layer.9.attention.output","encoder.layer.10.attention.output","encoder.layer.11.attention.output"],"parameters":["0.16","0.15","0.14","0.13","0.19","0.23","0.16","0.25","0.18","0.11","0.08","0.00"],"url":["/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_0_attention_output_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_1_attention_output_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_2_attention_output_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_3_attention_output_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_4_attention_output_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_5_attention_output_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_6_attention_output_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_7_attention_output_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_8_attention_output_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_9_attention_output_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_10_attention_output_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_11_attention_output_dense.png"],"x":[0.5833333333333334,1.5833333333333333,2.5833333333333335,3.5833333333333335,4.583333333333333,5.583333333333333,6.583333333333333,7.583333333333333,8.583333333333334,9.583333333333334,10.583333333333334,11.583333333333334]},"selected":{"id":"1178"},"selection_policy":{"id":"1179"}},"id":"1147","type":"ColumnDataSource"},{"attributes":{},"id":"1169","type":"BasicTickFormatter"},{"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":{},"id":"1176","type":"Selection"},{"attributes":{"data_source":{"id":"1141"},"glyph":{"id":"1143"},"hover_glyph":null,"muted_glyph":null,"name":"Wv","nonselection_glyph":{"id":"1144"},"view":{"id":"1146"}},"id":"1145","type":"GlyphRenderer"},{"attributes":{},"id":"1177","type":"UnionRenderers"},{"attributes":{},"id":"1120","type":"BasicTicker"},{"attributes":{"active_multi":null,"tools":[{"id":"1107"}]},"id":"1127","type":"Toolbar"},{"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":{"source":{"id":"1141"}},"id":"1146","type":"CDSView"},{"attributes":{},"id":"1166","type":"BasicTickFormatter"},{"attributes":{},"id":"1171","type":"AllLabels"},{"attributes":{"fill_color":{"value":"#f7b269"},"line_color":{"value":"#f7b269"},"top":{"field":"height"},"width":{"value":0.07142857142857142},"x":{"field":"x"}},"id":"1149","type":"VBar"},{"attributes":{"data":{"density":["54.5%","54.5%","57.6%","57.6%","69.4%","69.4%","72.4%","72.4%","69.4%","69.4%","67.6%","67.6%","61.4%","61.4%","49.3%","49.3%","25.3%","25.3%","10.9%","10.9%","5.1%","5.1%","5.1%","5.1%"],"height":[1.284864,1.284864,1.360128,1.360128,1.638144,1.638144,1.708032,1.708032,1.638144,1.638144,1.595904,1.595904,1.449216,1.449216,1.164288,1.164288,0.596736,0.596736,0.258048,0.258048,0.121344,0.121344,0.120576,0.120576],"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.layer.0.intermediate","encoder.layer.0.output","encoder.layer.1.intermediate","encoder.layer.1.output","encoder.layer.2.intermediate","encoder.layer.2.output","encoder.layer.3.intermediate","encoder.layer.3.output","encoder.layer.4.intermediate","encoder.layer.4.output","encoder.layer.5.intermediate","encoder.layer.5.output","encoder.layer.6.intermediate","encoder.layer.6.output","encoder.layer.7.intermediate","encoder.layer.7.output","encoder.layer.8.intermediate","encoder.layer.8.output","encoder.layer.9.intermediate","encoder.layer.9.output","encoder.layer.10.intermediate","encoder.layer.10.output","encoder.layer.11.intermediate","encoder.layer.11.output"],"parameters":["1.28","1.28","1.36","1.36","1.64","1.64","1.71","1.71","1.64","1.64","1.60","1.60","1.45","1.45","1.16","1.16","0.60","0.60","0.26","0.26","0.12","0.12","0.12","0.12"],"url":["/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_0_intermediate_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_0_output_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_1_intermediate_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_1_output_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_2_intermediate_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_2_output_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_3_intermediate_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_3_output_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_4_intermediate_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_4_output_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_5_intermediate_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_5_output_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_6_intermediate_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_6_output_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_7_intermediate_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_7_output_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_8_intermediate_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_8_output_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_9_intermediate_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_9_output_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_10_intermediate_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_10_output_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_11_intermediate_dense.png","/echarlaix/bert-base-uncased-sst2-x1.49-acc0.9-d37-hybrid-v1/raw/main/model_card/images/layer_11_output_dense.png"],"x":[0.75,0.9166666666666667,1.75,1.9166666666666665,2.75,2.916666666666667,3.75,3.916666666666667,4.75,4.916666666666666,5.75,5.916666666666666,6.75,6.916666666666666,7.75,7.916666666666666,8.75,8.916666666666668,9.75,9.916666666666668,10.75,10.916666666666668,11.75,11.916666666666668]},"selected":{"id":"1180"},"selection_policy":{"id":"1181"}},"id":"1153","type":"ColumnDataSource"},{"attributes":{},"id":"1168","type":"AllLabels"},{"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":{},"id":"1172","type":"Selection"},{"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":"1173","type":"UnionRenderers"},{"attributes":{"label":{"value":"FFN"},"renderers":[{"id":"1157"}]},"id":"1164","type":"LegendItem"},{"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":"1117","type":"LinearScale"},{"attributes":{"source":{"id":"1153"}},"id":"1158","type":"CDSView"},{"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":{"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"}],"root_ids":["1108"]},"title":"Bokeh Application","version":"2.3.2"}}';
119
+ var render_items = [{"docid":"2ef482b4-a875-4614-8279-9dd12632e399","root_ids":["1108"],"roots":{"1108":"ca8aceb6-0975-4d02-b19f-4c1a5df8bf71"}}];
120
+ root.Bokeh.embed.embed_items(docs_json, render_items);
121
+
122
+ }
123
+ if (root.Bokeh !== undefined) {
124
+ embed_document(root);
125
+ } else {
126
+ var attempts = 0;
127
+ var timer = setInterval(function(root) {
128
+ if (root.Bokeh !== undefined) {
129
+ clearInterval(timer);
130
+ embed_document(root);
131
+ } else {
132
+ attempts++;
133
+ if (attempts > 100) {
134
+ clearInterval(timer);
135
+ console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
136
+ }
137
+ }
138
+ }, 10, root)
139
+ }
140
+ })(window);
141
+ });
142
+ };
143
+ if (document.readyState != "loading") fn();
144
+ else document.addEventListener("DOMContentLoaded", fn);
145
+ })();
146
+ },
147
+ function(Bokeh) {
148
+
149
+
150
+ }
151
+ ];
152
+
153
+ function run_inline_js() {
154
+
155
+ for (var i = 0; i < inline_js.length; i++) {
156
+ inline_js[i].call(root, root.Bokeh);
157
+ }
158
+
159
+ }
160
+
161
+ if (root._bokeh_is_loading === 0) {
162
+ console.debug("Bokeh: BokehJS loaded, going straight to plotting");
163
+ run_inline_js();
164
+ } else {
165
+ load_libs(css_urls, js_urls, function() {
166
+ console.debug("Bokeh: BokehJS plotting callback run at", now());
167
+ run_inline_js();
168
+ });
169
+ }
170
+ }(window));
171
+ };
172
+ if (document.readyState != "loading") fn();
173
+ else document.addEventListener("DOMContentLoaded", fn);
174
+ })();
model_card/images/layer_0_attention_output_dense.png ADDED
model_card/images/layer_0_attention_self_key.png ADDED
model_card/images/layer_0_attention_self_query.png ADDED
model_card/images/layer_0_attention_self_value.png ADDED
model_card/images/layer_0_intermediate_dense.png ADDED
model_card/images/layer_0_output_dense.png ADDED
model_card/images/layer_10_attention_output_dense.png ADDED
model_card/images/layer_10_attention_self_key.png ADDED
model_card/images/layer_10_attention_self_query.png ADDED
model_card/images/layer_10_attention_self_value.png ADDED
model_card/images/layer_10_intermediate_dense.png ADDED
model_card/images/layer_10_output_dense.png ADDED
model_card/images/layer_11_attention_output_dense.png ADDED
model_card/images/layer_11_attention_self_key.png ADDED
model_card/images/layer_11_attention_self_query.png ADDED
model_card/images/layer_11_attention_self_value.png ADDED
model_card/images/layer_11_intermediate_dense.png ADDED
model_card/images/layer_11_output_dense.png ADDED
model_card/images/layer_1_attention_output_dense.png ADDED
model_card/images/layer_1_attention_self_key.png ADDED
model_card/images/layer_1_attention_self_query.png ADDED
model_card/images/layer_1_attention_self_value.png ADDED
model_card/images/layer_1_intermediate_dense.png ADDED
model_card/images/layer_1_output_dense.png ADDED
model_card/images/layer_2_attention_output_dense.png ADDED
model_card/images/layer_2_attention_self_key.png ADDED
model_card/images/layer_2_attention_self_query.png ADDED
model_card/images/layer_2_attention_self_value.png ADDED
model_card/images/layer_2_intermediate_dense.png ADDED
model_card/images/layer_2_output_dense.png ADDED
model_card/images/layer_3_attention_output_dense.png ADDED
model_card/images/layer_3_attention_self_key.png ADDED
model_card/images/layer_3_attention_self_query.png ADDED
model_card/images/layer_3_attention_self_value.png ADDED
model_card/images/layer_3_intermediate_dense.png ADDED
model_card/images/layer_3_output_dense.png ADDED
model_card/images/layer_4_attention_output_dense.png ADDED
model_card/images/layer_4_attention_self_key.png ADDED
model_card/images/layer_4_attention_self_query.png ADDED
model_card/images/layer_4_attention_self_value.png ADDED
model_card/images/layer_4_intermediate_dense.png ADDED
model_card/images/layer_4_output_dense.png ADDED
model_card/images/layer_5_attention_output_dense.png ADDED
model_card/images/layer_5_attention_self_key.png ADDED
model_card/images/layer_5_attention_self_query.png ADDED