shahrukhx01
commited on
Commit
•
a7ef39c
1
Parent(s):
9789fe7
randomly initialized smole bart from small bart
Browse files- config.json +53 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "smole-bart",
|
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": 2,
|
12 |
+
"classifier_dropout": 0.0,
|
13 |
+
"d_model": 256,
|
14 |
+
"decoder_attention_heads": 4,
|
15 |
+
"decoder_ffn_dim": 1024,
|
16 |
+
"decoder_layerdrop": 0.0,
|
17 |
+
"decoder_layers": 2,
|
18 |
+
"decoder_start_token_id": 2,
|
19 |
+
"do_blenderbot_90_layernorm": false,
|
20 |
+
"dropout": 0.1,
|
21 |
+
"encoder_attention_heads": 4,
|
22 |
+
"encoder_ffn_dim": 1024,
|
23 |
+
"encoder_layerdrop": 0.0,
|
24 |
+
"encoder_layers": 2,
|
25 |
+
"eos_token_id": 3,
|
26 |
+
"extra_pos_embeddings": 2,
|
27 |
+
"force_bos_token_to_be_generated": false,
|
28 |
+
"forced_eos_token_id": 3,
|
29 |
+
"gradient_checkpointing": false,
|
30 |
+
"id2label": {
|
31 |
+
"0": "LABEL_0",
|
32 |
+
"1": "LABEL_1",
|
33 |
+
"2": "LABEL_2"
|
34 |
+
},
|
35 |
+
"init_std": 0.02,
|
36 |
+
"is_encoder_decoder": true,
|
37 |
+
"label2id": {
|
38 |
+
"LABEL_0": 0,
|
39 |
+
"LABEL_1": 1,
|
40 |
+
"LABEL_2": 2
|
41 |
+
},
|
42 |
+
"max_position_embeddings": 2048,
|
43 |
+
"model_type": "bart",
|
44 |
+
"normalize_before": false,
|
45 |
+
"normalize_embedding": true,
|
46 |
+
"num_hidden_layers": 2,
|
47 |
+
"pad_token_id": 0,
|
48 |
+
"scale_embedding": false,
|
49 |
+
"static_position_embeddings": false,
|
50 |
+
"transformers_version": "4.7.0",
|
51 |
+
"use_cache": false,
|
52 |
+
"vocab_size": 2723
|
53 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed999349e2762e2006078d9179f01ac5b0ecce3cf1ad47e97dde2d7e93c369f5
|
3 |
+
size 21779793
|