heooo commited on
Commit
56aae91
·
1 Parent(s): 60fa5d8

Upload BartForConditionalGeneration

Browse files
Files changed (2) hide show
  1. config.json +55 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "activation_function": "gelu",
4
+ "add_bias_logits": false,
5
+ "add_final_layer_norm": false,
6
+ "architectures": [
7
+ "BartForConditionalGeneration"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "author": "Heewon Jeon(madjakarta@gmail.com)",
11
+ "bos_token_id": 1,
12
+ "classif_dropout": 0.1,
13
+ "classifier_dropout": 0.1,
14
+ "d_model": 768,
15
+ "decoder_attention_heads": 16,
16
+ "decoder_ffn_dim": 3072,
17
+ "decoder_layerdrop": 0.0,
18
+ "decoder_layers": 6,
19
+ "decoder_start_token_id": 1,
20
+ "do_blenderbot_90_layernorm": false,
21
+ "dropout": 0.1,
22
+ "encoder_attention_heads": 16,
23
+ "encoder_ffn_dim": 3072,
24
+ "encoder_layerdrop": 0.0,
25
+ "encoder_layers": 6,
26
+ "eos_token_id": 1,
27
+ "extra_pos_embeddings": 2,
28
+ "force_bos_token_to_be_generated": false,
29
+ "forced_eos_token_id": 1,
30
+ "gradient_checkpointing": false,
31
+ "id2label": {
32
+ "0": "NEGATIVE",
33
+ "1": "POSITIVE"
34
+ },
35
+ "init_std": 0.02,
36
+ "is_encoder_decoder": true,
37
+ "kobart_version": 2.0,
38
+ "label2id": {
39
+ "NEGATIVE": 0,
40
+ "POSITIVE": 1
41
+ },
42
+ "max_position_embeddings": 1026,
43
+ "model_type": "bart",
44
+ "normalize_before": false,
45
+ "normalize_embedding": true,
46
+ "num_hidden_layers": 6,
47
+ "pad_token_id": 3,
48
+ "scale_embedding": false,
49
+ "static_position_embeddings": false,
50
+ "tokenizer_class": "PreTrainedTokenizerFast",
51
+ "torch_dtype": "float32",
52
+ "transformers_version": "4.23.1",
53
+ "use_cache": true,
54
+ "vocab_size": 30000
55
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:836605827ad3d2b95222e81ddc107d6a9bb9e0976b2992e19c50a6ecb760a915
3
+ size 495644701