Adding model, graphs and metadata.
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- README.md +45 -0
- config.json +137 -0
- eval/eval_results.json +8 -0
- eval/sparsity_report.json +1 -0
- model_card/density_info.js +174 -0
- model_card/images/model_decoder_layers_0_encoder_attn_k_proj.png +0 -0
- model_card/images/model_decoder_layers_0_encoder_attn_out_proj.png +0 -0
- model_card/images/model_decoder_layers_0_encoder_attn_q_proj.png +0 -0
- model_card/images/model_decoder_layers_0_encoder_attn_v_proj.png +0 -0
- model_card/images/model_decoder_layers_0_fc1.png +0 -0
- model_card/images/model_decoder_layers_0_fc2.png +0 -0
- model_card/images/model_decoder_layers_0_self_attn_k_proj.png +0 -0
- model_card/images/model_decoder_layers_0_self_attn_out_proj.png +0 -0
- model_card/images/model_decoder_layers_0_self_attn_q_proj.png +0 -0
- model_card/images/model_decoder_layers_0_self_attn_v_proj.png +0 -0
- model_card/images/model_decoder_layers_1_encoder_attn_k_proj.png +0 -0
- model_card/images/model_decoder_layers_1_encoder_attn_out_proj.png +0 -0
- model_card/images/model_decoder_layers_1_encoder_attn_q_proj.png +0 -0
- model_card/images/model_decoder_layers_1_encoder_attn_v_proj.png +0 -0
- model_card/images/model_decoder_layers_1_fc1.png +0 -0
- model_card/images/model_decoder_layers_1_fc2.png +0 -0
- model_card/images/model_decoder_layers_1_self_attn_k_proj.png +0 -0
- model_card/images/model_decoder_layers_1_self_attn_out_proj.png +0 -0
- model_card/images/model_decoder_layers_1_self_attn_q_proj.png +0 -0
- model_card/images/model_decoder_layers_1_self_attn_v_proj.png +0 -0
- model_card/images/model_decoder_layers_2_encoder_attn_k_proj.png +0 -0
- model_card/images/model_decoder_layers_2_encoder_attn_out_proj.png +0 -0
- model_card/images/model_decoder_layers_2_encoder_attn_q_proj.png +0 -0
- model_card/images/model_decoder_layers_2_encoder_attn_v_proj.png +0 -0
- model_card/images/model_decoder_layers_2_fc1.png +0 -0
- model_card/images/model_decoder_layers_2_fc2.png +0 -0
- model_card/images/model_decoder_layers_2_self_attn_k_proj.png +0 -0
- model_card/images/model_decoder_layers_2_self_attn_out_proj.png +0 -0
- model_card/images/model_decoder_layers_2_self_attn_q_proj.png +0 -0
- model_card/images/model_decoder_layers_2_self_attn_v_proj.png +0 -0
- model_card/images/model_decoder_layers_3_encoder_attn_k_proj.png +0 -0
- model_card/images/model_decoder_layers_3_encoder_attn_out_proj.png +0 -0
- model_card/images/model_decoder_layers_3_encoder_attn_q_proj.png +0 -0
- model_card/images/model_decoder_layers_3_encoder_attn_v_proj.png +0 -0
- model_card/images/model_decoder_layers_3_fc1.png +0 -0
- model_card/images/model_decoder_layers_3_fc2.png +0 -0
- model_card/images/model_decoder_layers_3_self_attn_k_proj.png +0 -0
- model_card/images/model_decoder_layers_3_self_attn_out_proj.png +0 -0
- model_card/images/model_decoder_layers_3_self_attn_q_proj.png +0 -0
- model_card/images/model_decoder_layers_3_self_attn_v_proj.png +0 -0
- model_card/images/model_decoder_layers_4_encoder_attn_k_proj.png +0 -0
- model_card/images/model_decoder_layers_4_encoder_attn_out_proj.png +0 -0
- model_card/images/model_decoder_layers_4_encoder_attn_q_proj.png +0 -0
- model_card/images/model_decoder_layers_4_encoder_attn_v_proj.png +0 -0
- model_card/images/model_decoder_layers_4_fc1.png +0 -0
README.md
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language: en
|
3 |
+
license: apache-2.0
|
4 |
+
tags:
|
5 |
+
- summarization
|
6 |
+
datasets:
|
7 |
+
- cnn_dailymail
|
8 |
+
metrics:
|
9 |
+
- R1
|
10 |
+
- R2
|
11 |
+
- RL
|
12 |
+
---
|
13 |
+
|
14 |
+
## facebook/bart-base model fine-tuned on CNN/DailyMail
|
15 |
+
|
16 |
+
This model was created using the [nn_pruning](https://github.com/huggingface/nn_pruning) python library: the linear layers contains **35%** of the original weights.
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
The model contains **53%** of the original weights **overall** (the embeddings account for a significant part of the model, and they are not pruned by this method).
|
21 |
+
|
22 |
+
<div class="graph"><script src="/echarlaix/bart-base-cnn-r2-19.4-d35-hybrid/model_card/density_info.js" id="7507398b-ee42-4485-9864-0f24bc58e3b6"></script></div>
|
23 |
+
|
24 |
+
## Fine-Pruning details
|
25 |
+
This model was fine-tuned from the HuggingFace [model](https://huggingface.co/facebook/bart-base).
|
26 |
+
|
27 |
+
A side-effect of the block pruning is that some of the attention heads are completely removed: 38 heads were removed on a total of 216 (17.6%).
|
28 |
+
|
29 |
+
<div class="graph"><script src="/echarlaix/bart-base-cnn-r2-19.4-d35-hybrid/model_card/pruning_info.js" id="6b1bc00f-17e7-48a4-9c02-c243fa419f29"></script></div>
|
30 |
+
|
31 |
+
## Details of the CNN/DailyMail dataset
|
32 |
+
|
33 |
+
| Dataset | Split | # samples |
|
34 |
+
| ------------- | ----- | --------- |
|
35 |
+
| CNN/DailyMail | train | 287K |
|
36 |
+
| CNN/DailyMail | eval | 13K |
|
37 |
+
|
38 |
+
|
39 |
+
### Results
|
40 |
+
|
41 |
+
| Metric | # Value |
|
42 |
+
| ----------- | --------- |
|
43 |
+
| **Rouge 1** | **42.18** |
|
44 |
+
| **Rouge 2** | **19.44** |
|
45 |
+
| **Rouge L** | **39.17** |
|
config.json
ADDED
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/tmp/tmpt1m1rqo2",
|
3 |
+
"activation_dropout": 0.1,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"add_bias_logits": false,
|
6 |
+
"add_final_layer_norm": false,
|
7 |
+
"architectures": [
|
8 |
+
"BartForConditionalGeneration"
|
9 |
+
],
|
10 |
+
"attention_dropout": 0.1,
|
11 |
+
"bos_token_id": 0,
|
12 |
+
"classif_dropout": 0.1,
|
13 |
+
"classifier_dropout": 0.0,
|
14 |
+
"d_model": 768,
|
15 |
+
"decoder_attention_heads": 12,
|
16 |
+
"decoder_ffn_dim": 3072,
|
17 |
+
"decoder_layerdrop": 0.0,
|
18 |
+
"decoder_layers": 6,
|
19 |
+
"decoder_start_token_id": 2,
|
20 |
+
"dropout": 0.1,
|
21 |
+
"early_stopping": true,
|
22 |
+
"encoder_attention_heads": 12,
|
23 |
+
"encoder_ffn_dim": 3072,
|
24 |
+
"encoder_layerdrop": 0.0,
|
25 |
+
"encoder_layers": 6,
|
26 |
+
"eos_token_id": 2,
|
27 |
+
"forced_eos_token_id": 2,
|
28 |
+
"gradient_checkpointing": false,
|
29 |
+
"heads_count": 216,
|
30 |
+
"heads_to_prune": {
|
31 |
+
"0": [],
|
32 |
+
"1": [
|
33 |
+
6
|
34 |
+
],
|
35 |
+
"10": [
|
36 |
+
3,
|
37 |
+
14,
|
38 |
+
18,
|
39 |
+
20
|
40 |
+
],
|
41 |
+
"11": [
|
42 |
+
10
|
43 |
+
],
|
44 |
+
"2": [
|
45 |
+
4,
|
46 |
+
6
|
47 |
+
],
|
48 |
+
"3": [
|
49 |
+
0,
|
50 |
+
1,
|
51 |
+
2,
|
52 |
+
7,
|
53 |
+
11
|
54 |
+
],
|
55 |
+
"4": [
|
56 |
+
1,
|
57 |
+
2,
|
58 |
+
5,
|
59 |
+
6,
|
60 |
+
10,
|
61 |
+
11
|
62 |
+
],
|
63 |
+
"5": [
|
64 |
+
3
|
65 |
+
],
|
66 |
+
"6": [
|
67 |
+
12,
|
68 |
+
13,
|
69 |
+
14
|
70 |
+
],
|
71 |
+
"7": [
|
72 |
+
2,
|
73 |
+
11,
|
74 |
+
16,
|
75 |
+
18,
|
76 |
+
19,
|
77 |
+
23
|
78 |
+
],
|
79 |
+
"8": [
|
80 |
+
16,
|
81 |
+
21
|
82 |
+
],
|
83 |
+
"9": [
|
84 |
+
3,
|
85 |
+
12,
|
86 |
+
13,
|
87 |
+
15,
|
88 |
+
16,
|
89 |
+
18,
|
90 |
+
22
|
91 |
+
]
|
92 |
+
},
|
93 |
+
"id2label": {
|
94 |
+
"0": "LABEL_0",
|
95 |
+
"1": "LABEL_1",
|
96 |
+
"2": "LABEL_2"
|
97 |
+
},
|
98 |
+
"init_std": 0.02,
|
99 |
+
"is_encoder_decoder": true,
|
100 |
+
"label2id": {
|
101 |
+
"LABEL_0": 0,
|
102 |
+
"LABEL_1": 1,
|
103 |
+
"LABEL_2": 2
|
104 |
+
},
|
105 |
+
"max_position_embeddings": 1024,
|
106 |
+
"model_type": "bart",
|
107 |
+
"no_repeat_ngram_size": 3,
|
108 |
+
"normalize_before": false,
|
109 |
+
"normalize_embedding": true,
|
110 |
+
"num_beams": 4,
|
111 |
+
"num_hidden_layers": 6,
|
112 |
+
"pad_token_id": 1,
|
113 |
+
"scale_embedding": false,
|
114 |
+
"task_specific_params": {
|
115 |
+
"summarization": {
|
116 |
+
"length_penalty": 1.0,
|
117 |
+
"max_length": 128,
|
118 |
+
"min_length": 12,
|
119 |
+
"num_beams": 4
|
120 |
+
},
|
121 |
+
"summarization_cnn": {
|
122 |
+
"length_penalty": 2.0,
|
123 |
+
"max_length": 142,
|
124 |
+
"min_length": 56,
|
125 |
+
"num_beams": 4
|
126 |
+
},
|
127 |
+
"summarization_xsum": {
|
128 |
+
"length_penalty": 1.0,
|
129 |
+
"max_length": 62,
|
130 |
+
"min_length": 11,
|
131 |
+
"num_beams": 6
|
132 |
+
}
|
133 |
+
},
|
134 |
+
"transformers_version": "4.4.1",
|
135 |
+
"use_cache": true,
|
136 |
+
"vocab_size": 50265
|
137 |
+
}
|
eval/eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eval_gen_len": 79.8541,
|
3 |
+
"eval_loss": 1.8987960815429688,
|
4 |
+
"eval_rouge1": 42.1808,
|
5 |
+
"eval_rouge2": 19.444,
|
6 |
+
"eval_rougeL": 29.1171,
|
7 |
+
"eval_rougeLsum": 39.1713
|
8 |
+
}
|
eval/sparsity_report.json
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
{"total": 139420416, "nnz": 75103537, "linear_total": 99090432, "linear_nnz": 34815488, "layers": {"0": {"total": 16539648, "nnz": 5698134, "linear_total": 16515072, "linear_nnz": 5680128, "linear_attention_total": 7077888, "linear_attention_nnz": 5253120, "linear_dense_total": 9437184, "linear_dense_nnz": 427008}, "1": {"total": 16539648, "nnz": 5882390, "linear_total": 16515072, "linear_nnz": 5864448, "linear_attention_total": 7077888, "linear_attention_nnz": 4552704, "linear_dense_total": 9437184, "linear_dense_nnz": 1311744}, "2": {"total": 16539648, "nnz": 6119725, "linear_total": 16515072, "linear_nnz": 6101504, "linear_attention_total": 7077888, "linear_attention_nnz": 4901888, "linear_dense_total": 9437184, "linear_dense_nnz": 1199616}, "3": {"total": 16539648, "nnz": 5134569, "linear_total": 16515072, "linear_nnz": 5117440, "linear_attention_total": 7077888, "linear_attention_nnz": 4071424, "linear_dense_total": 9437184, "linear_dense_nnz": 1046016}, "4": {"total": 16539648, "nnz": 5147372, "linear_total": 16515072, "linear_nnz": 5130240, "linear_attention_total": 7077888, "linear_attention_nnz": 4177920, "linear_dense_total": 9437184, "linear_dense_nnz": 952320}, "5": {"total": 16539648, "nnz": 6940355, "linear_total": 16515072, "linear_nnz": 6921728, "linear_attention_total": 7077888, "linear_attention_nnz": 5688320, "linear_dense_total": 9437184, "linear_dense_nnz": 1233408}}, "total_sparsity": 46.13160743975976, "linear_sparsity": 64.86493468915344, "pruned_heads": {"0": [], "1": [6], "2": [4, 6], "3": [0, 1, 2, 7, 11], "4": [1, 2, 5, 6, 10, 11], "5": [3], "6": [12, 13, 14], "7": [2, 11, 16, 18, 19, 23], "8": [16, 21], "9": [3, 12, 13, 15, 16, 18, 22], "10": [3, 14, 18, 20], "11": [10]}}
|
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("7507398b-ee42-4485-9864-0f24bc58e3b6");
|
20 |
+
if (element == null) {
|
21 |
+
console.warn("Bokeh: autoload.js configured with elementid '7507398b-ee42-4485-9864-0f24bc58e3b6' 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 = '{"0ef9968d-5887-4308-b3e0-fe5dc34fcab4":{"defs":[],"roots":{"references":[{"attributes":{},"id":"1124","type":"BasicTicker"},{"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":"1174","type":"UnionRenderers"},{"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":{"label":{"value":"FFN"},"renderers":[{"id":"1157"}]},"id":"1164","type":"LegendItem"},{"attributes":{},"id":"1175","type":"Selection"},{"attributes":{},"id":"1179","type":"Selection"},{"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":{"source":{"id":"1147"}},"id":"1152","type":"CDSView"},{"attributes":{},"id":"1176","type":"UnionRenderers"},{"attributes":{},"id":"1180","type":"UnionRenderers"},{"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"},{"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":{"active_multi":null,"tools":[{"id":"1107"}]},"id":"1127","type":"Toolbar"},{"attributes":{"source":{"id":"1135"}},"id":"1140","type":"CDSView"},{"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":{"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":"1107","type":"HoverTool"},{"attributes":{},"id":"1181","type":"Selection"},{"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":"1168","type":"BasicTickFormatter"},{"attributes":{"fill_color":{"value":"#6573f7"},"line_color":{"value":"#6573f7"},"top":{"field":"height"},"width":{"value":0.07142857142857142},"x":{"field":"x"}},"id":"1131","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":{"items":[{"id":"1160"},{"id":"1161"},{"id":"1162"},{"id":"1163"},{"id":"1164"}],"location":[10,0],"orientation":"horizontal"},"id":"1159","type":"Legend"},{"attributes":{},"id":"1171","type":"BasicTickFormatter"},{"attributes":{"data":{"density":["91.8%","85.9%","78.6%","56.1%","39.2%","76.6%","74.3%","61.1%","55.6%","57.8%","71.0%","61.8%","77.1%","47.0%","76.7%","64.1%","65.5%","97.6%"],"height":[0.541696,0.50688,0.463872,0.330752,0.231424,0.451584,0.438272,0.360448,0.32768,0.340992,0.418816,0.364544,0.454656,0.277504,0.452608,0.377856,0.386048,0.575488],"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.54","0.51","0.46","0.33","0.23","0.45","0.44","0.36","0.33","0.34","0.42","0.36","0.45","0.28","0.45","0.38","0.39","0.58"],"url":["/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_0_self_attn_q_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_1_self_attn_q_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_2_self_attn_q_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_3_self_attn_q_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_4_self_attn_q_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_5_self_attn_q_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_0_self_attn_q_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_0_encoder_attn_q_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_1_self_attn_q_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_1_encoder_attn_q_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_2_self_attn_q_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_2_encoder_attn_q_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_3_self_attn_q_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_3_encoder_attn_q_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_4_self_attn_q_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_4_encoder_attn_q_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_5_self_attn_q_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/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":"1177"},"selection_policy":{"id":"1176"}},"id":"1141","type":"ColumnDataSource"},{"attributes":{"data":{"density":["92.4%","85.1%","77.6%","55.4%","41.5%","74.3%","75.0%","54.2%","53.8%","49.0%","65.5%","56.8%","70.3%","42.4%","68.4%","62.7%","60.6%","95.8%"],"height":[0.544768,0.50176,0.457728,0.326656,0.244736,0.438272,0.442368,0.319488,0.31744,0.288768,0.386048,0.334848,0.41472,0.249856,0.403456,0.369664,0.357376,0.565248],"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.54","0.50","0.46","0.33","0.24","0.44","0.44","0.32","0.32","0.29","0.39","0.33","0.41","0.25","0.40","0.37","0.36","0.57"],"url":["/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_0_self_attn_k_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_1_self_attn_k_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_2_self_attn_k_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_3_self_attn_k_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_4_self_attn_k_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_5_self_attn_k_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_0_self_attn_k_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_0_encoder_attn_k_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_1_self_attn_k_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_1_encoder_attn_k_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_2_self_attn_k_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_2_encoder_attn_k_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_3_self_attn_k_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_3_encoder_attn_k_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_4_self_attn_k_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_4_encoder_attn_k_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_5_self_attn_k_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/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":"1173"},"selection_policy":{"id":"1172"}},"id":"1129","type":"ColumnDataSource"},{"attributes":{"axis":{"id":"1123"},"dimension":1,"ticker":null},"id":"1126","type":"Grid"},{"attributes":{},"id":"1178","type":"UnionRenderers"},{"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":{"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":["91.3%","73.4%","69.6%","45.5%","34.7%","70.8%","81.9%","47.4%","66.0%","51.0%","75.7%","61.6%","83.3%","40.8%","80.9%","61.5%","75.0%","99.5%"],"height":[0.538624,0.433152,0.410624,0.268288,0.2048,0.417792,0.483328,0.279552,0.38912,0.301056,0.446464,0.36352,0.49152,0.24064,0.477184,0.362496,0.442368,0.586752],"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.54","0.43","0.41","0.27","0.20","0.42","0.48","0.28","0.39","0.30","0.45","0.36","0.49","0.24","0.48","0.36","0.44","0.59"],"url":["/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_0_self_attn_v_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_1_self_attn_v_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_2_self_attn_v_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_3_self_attn_v_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_4_self_attn_v_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_5_self_attn_v_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_0_self_attn_v_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_0_encoder_attn_v_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_1_self_attn_v_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_1_encoder_attn_v_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_2_self_attn_v_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_2_encoder_attn_v_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_3_self_attn_v_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_3_encoder_attn_v_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_4_self_attn_v_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_4_encoder_attn_v_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_5_self_attn_v_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/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":"1175"},"selection_policy":{"id":"1174"}},"id":"1135","type":"ColumnDataSource"},{"attributes":{"label":{"value":"Wv"},"renderers":[{"id":"1139"}]},"id":"1161","type":"LegendItem"},{"attributes":{"data":{"density":["7.1%","7.1%","9.8%","9.8%","10.5%","10.5%","9.3%","9.3%","11.6%","11.6%","13.5%","13.5%","2.0%","2.0%","18.0%","18.0%","14.9%","14.9%","12.8%","12.8%","8.6%","8.6%","12.7%","12.7%"],"height":[0.167424,0.167424,0.2304,0.2304,0.248064,0.248064,0.220416,0.220416,0.273408,0.273408,0.317952,0.317952,0.04608,0.04608,0.425472,0.425472,0.351744,0.351744,0.302592,0.302592,0.202752,0.202752,0.298752,0.298752],"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.17","0.17","0.23","0.23","0.25","0.25","0.22","0.22","0.27","0.27","0.32","0.32","0.05","0.05","0.43","0.43","0.35","0.35","0.30","0.30","0.20","0.20","0.30","0.30"],"url":["/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_0_fc1.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_0_fc2.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_1_fc1.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_1_fc2.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_2_fc1.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_2_fc2.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_3_fc1.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_3_fc2.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_4_fc1.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_4_fc2.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_5_fc1.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_5_fc2.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_0_fc1.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_0_fc2.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_1_fc1.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_1_fc2.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_2_fc1.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_2_fc2.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_3_fc1.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_3_fc2.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_4_fc1.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_4_fc2.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_5_fc1.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/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":"1181"},"selection_policy":{"id":"1180"}},"id":"1153","type":"ColumnDataSource"},{"attributes":{},"id":"1172","type":"UnionRenderers"},{"attributes":{"source":{"id":"1141"}},"id":"1146","type":"CDSView"},{"attributes":{"data":{"density":["95.1%","74.8%","68.9%","45.5%","36.5%","74.3%","79.0%","47.0%","65.6%","53.8%","79.9%","64.1%","84.0%","42.9%","80.0%","62.2%","74.8%","99.7%"],"height":[0.561152,0.441344,0.406528,0.268288,0.21504,0.438272,0.46592,0.277504,0.387072,0.31744,0.47104,0.377856,0.495616,0.252928,0.472064,0.366592,0.441344,0.587776],"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.56","0.44","0.41","0.27","0.22","0.44","0.47","0.28","0.39","0.32","0.47","0.38","0.50","0.25","0.47","0.37","0.44","0.59"],"url":["/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_0_self_attn_out_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_1_self_attn_out_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_2_self_attn_out_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_3_self_attn_out_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_4_self_attn_out_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_encoder_layers_5_self_attn_out_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_0_self_attn_out_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_0_encoder_attn_out_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_1_self_attn_out_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_1_encoder_attn_out_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_2_self_attn_out_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_2_encoder_attn_out_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_3_self_attn_out_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_3_encoder_attn_out_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_4_self_attn_out_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_4_encoder_attn_out_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/raw/main/model_card/images/model_decoder_layers_5_self_attn_out_proj.png","/echarlaix/bart-base-cnn_dailymail-x15.16-r24.1-d35-hybrid-v1/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":"1179"},"selection_policy":{"id":"1178"}},"id":"1147","type":"ColumnDataSource"},{"attributes":{},"id":"1177","type":"Selection"},{"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":"1111","type":"DataRange1d"},{"attributes":{"start":0},"id":"1113","type":"DataRange1d"},{"attributes":{"fill_color":{"value":"#20cb97"},"line_color":{"value":"#20cb97"},"top":{"field":"height"},"width":{"value":0.07142857142857142},"x":{"field":"x"}},"id":"1143","type":"VBar"},{"attributes":{"label":{"value":"Wo"},"renderers":[{"id":"1151"}]},"id":"1163","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":"1173","type":"Selection"},{"attributes":{"axis":{"id":"1119"},"grid_line_color":null,"ticker":null},"id":"1122","type":"Grid"},{"attributes":{"source":{"id":"1129"}},"id":"1134","type":"CDSView"},{"attributes":{},"id":"1120","type":"BasicTicker"},{"attributes":{"label":{"value":"Wk"},"renderers":[{"id":"1133"}]},"id":"1160","type":"LegendItem"},{"attributes":{"source":{"id":"1153"}},"id":"1158","type":"CDSView"},{"attributes":{"fill_color":{"value":"#ed5642"},"line_color":{"value":"#ed5642"},"top":{"field":"height"},"width":{"value":0.07142857142857142},"x":{"field":"x"}},"id":"1137","type":"VBar"},{"attributes":{},"id":"1169","type":"AllLabels"},{"attributes":{},"id":"1166","type":"AllLabels"},{"attributes":{},"id":"1117","type":"LinearScale"},{"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":"Wq"},"renderers":[{"id":"1145"}]},"id":"1162","type":"LegendItem"},{"attributes":{},"id":"1115","type":"LinearScale"},{"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"}],"root_ids":["1108"]},"title":"Bokeh Application","version":"2.3.2"}}';
|
119 |
+
var render_items = [{"docid":"0ef9968d-5887-4308-b3e0-fe5dc34fcab4","root_ids":["1108"],"roots":{"1108":"7507398b-ee42-4485-9864-0f24bc58e3b6"}}];
|
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/model_decoder_layers_0_encoder_attn_k_proj.png
ADDED
model_card/images/model_decoder_layers_0_encoder_attn_out_proj.png
ADDED
model_card/images/model_decoder_layers_0_encoder_attn_q_proj.png
ADDED
model_card/images/model_decoder_layers_0_encoder_attn_v_proj.png
ADDED
model_card/images/model_decoder_layers_0_fc1.png
ADDED
model_card/images/model_decoder_layers_0_fc2.png
ADDED
model_card/images/model_decoder_layers_0_self_attn_k_proj.png
ADDED
model_card/images/model_decoder_layers_0_self_attn_out_proj.png
ADDED
model_card/images/model_decoder_layers_0_self_attn_q_proj.png
ADDED
model_card/images/model_decoder_layers_0_self_attn_v_proj.png
ADDED
model_card/images/model_decoder_layers_1_encoder_attn_k_proj.png
ADDED
model_card/images/model_decoder_layers_1_encoder_attn_out_proj.png
ADDED
model_card/images/model_decoder_layers_1_encoder_attn_q_proj.png
ADDED
model_card/images/model_decoder_layers_1_encoder_attn_v_proj.png
ADDED
model_card/images/model_decoder_layers_1_fc1.png
ADDED
model_card/images/model_decoder_layers_1_fc2.png
ADDED
model_card/images/model_decoder_layers_1_self_attn_k_proj.png
ADDED
model_card/images/model_decoder_layers_1_self_attn_out_proj.png
ADDED
model_card/images/model_decoder_layers_1_self_attn_q_proj.png
ADDED
model_card/images/model_decoder_layers_1_self_attn_v_proj.png
ADDED
model_card/images/model_decoder_layers_2_encoder_attn_k_proj.png
ADDED
model_card/images/model_decoder_layers_2_encoder_attn_out_proj.png
ADDED
model_card/images/model_decoder_layers_2_encoder_attn_q_proj.png
ADDED
model_card/images/model_decoder_layers_2_encoder_attn_v_proj.png
ADDED
model_card/images/model_decoder_layers_2_fc1.png
ADDED
model_card/images/model_decoder_layers_2_fc2.png
ADDED
model_card/images/model_decoder_layers_2_self_attn_k_proj.png
ADDED
model_card/images/model_decoder_layers_2_self_attn_out_proj.png
ADDED
model_card/images/model_decoder_layers_2_self_attn_q_proj.png
ADDED
model_card/images/model_decoder_layers_2_self_attn_v_proj.png
ADDED
model_card/images/model_decoder_layers_3_encoder_attn_k_proj.png
ADDED
model_card/images/model_decoder_layers_3_encoder_attn_out_proj.png
ADDED
model_card/images/model_decoder_layers_3_encoder_attn_q_proj.png
ADDED
model_card/images/model_decoder_layers_3_encoder_attn_v_proj.png
ADDED
model_card/images/model_decoder_layers_3_fc1.png
ADDED
model_card/images/model_decoder_layers_3_fc2.png
ADDED
model_card/images/model_decoder_layers_3_self_attn_k_proj.png
ADDED
model_card/images/model_decoder_layers_3_self_attn_out_proj.png
ADDED
model_card/images/model_decoder_layers_3_self_attn_q_proj.png
ADDED
model_card/images/model_decoder_layers_3_self_attn_v_proj.png
ADDED
model_card/images/model_decoder_layers_4_encoder_attn_k_proj.png
ADDED
model_card/images/model_decoder_layers_4_encoder_attn_out_proj.png
ADDED
model_card/images/model_decoder_layers_4_encoder_attn_q_proj.png
ADDED
model_card/images/model_decoder_layers_4_encoder_attn_v_proj.png
ADDED
model_card/images/model_decoder_layers_4_fc1.png
ADDED