psj8252
commited on
Commit
·
37094b2
1
Parent(s):
febb4af
feat: Add Pretrained Korean Bart Model
Browse files- config.json +45 -0
- pytorch_model.bin +3 -0
- tf_model.h5 +3 -0
config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "small-tf",
|
3 |
+
"activation_dropout": 0.1,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"architectures": [
|
6 |
+
"BartForConditionalGeneration"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.1,
|
9 |
+
"bos_token_id": 2,
|
10 |
+
"classifier_dropout": 0.0,
|
11 |
+
"d_model": 512,
|
12 |
+
"decoder_attention_heads": 4,
|
13 |
+
"decoder_ffn_dim": 2048,
|
14 |
+
"decoder_layerdrop": 0.0,
|
15 |
+
"decoder_layers": 3,
|
16 |
+
"decoder_start_token_id": 2,
|
17 |
+
"dropout": 0.1,
|
18 |
+
"encoder_attention_heads": 4,
|
19 |
+
"encoder_ffn_dim": 2048,
|
20 |
+
"encoder_layerdrop": 0.0,
|
21 |
+
"encoder_layers": 3,
|
22 |
+
"eos_token_id": 3,
|
23 |
+
"forced_eos_token_id": 3,
|
24 |
+
"gradient_checkpointing": false,
|
25 |
+
"id2label": {
|
26 |
+
"0": "LABEL_0",
|
27 |
+
"1": "LABEL_1",
|
28 |
+
"2": "LABEL_2"
|
29 |
+
},
|
30 |
+
"init_std": 0.02,
|
31 |
+
"is_encoder_decoder": true,
|
32 |
+
"label2id": {
|
33 |
+
"LABEL_0": 0,
|
34 |
+
"LABEL_1": 1,
|
35 |
+
"LABEL_2": 2
|
36 |
+
},
|
37 |
+
"max_position_embeddings": 2048,
|
38 |
+
"model_type": "bart",
|
39 |
+
"num_hidden_layers": 3,
|
40 |
+
"pad_token_id": 0,
|
41 |
+
"scale_embedding": false,
|
42 |
+
"transformers_version": "4.7.0",
|
43 |
+
"use_cache": false,
|
44 |
+
"vocab_size": 32000
|
45 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:80ed4157a2c8f6f3b9d30754d5ad18aa9373d44b310a9c5e59ad1b0f018b5748
|
3 |
+
size 162393589
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b9fb173fc310b8a0b332237a7dbb1f1d2e51c82a78977158186165b7283a4468
|
3 |
+
size 162371688
|