NLPBada commited on
Commit
166eae2
1 Parent(s): 5a074b4

Upload BartForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +8 -6
  2. generation_config.json +9 -0
  3. model.safetensors +3 -0
config.json CHANGED
@@ -1,12 +1,14 @@
1
  {
 
2
  "activation_dropout": 0.0,
3
  "activation_function": "gelu",
4
  "add_bias_logits": false,
5
  "add_final_layer_norm": false,
6
  "architectures": [
7
- "BartModel"
8
  ],
9
  "attention_dropout": 0.0,
 
10
  "bos_token_id": 1,
11
  "classif_dropout": 0.1,
12
  "classifier_dropout": 0.1,
@@ -33,6 +35,7 @@
33
  },
34
  "init_std": 0.02,
35
  "is_encoder_decoder": true,
 
36
  "label2id": {
37
  "NEGATIVE": 0,
38
  "POSITIVE": 1
@@ -45,10 +48,9 @@
45
  "pad_token_id": 3,
46
  "scale_embedding": false,
47
  "static_position_embeddings": false,
48
- "transformers_version": "4.5.1",
49
- "use_cache": true,
50
- "vocab_size": 30002,
51
  "tokenizer_class": "PreTrainedTokenizerFast",
52
- "author": "Heewon Jeon(madjakarta@gmail.com)",
53
- "kobart_version": 2.0
 
 
54
  }
 
1
  {
2
+ "_name_or_path": "./best_model",
3
  "activation_dropout": 0.0,
4
  "activation_function": "gelu",
5
  "add_bias_logits": false,
6
  "add_final_layer_norm": false,
7
  "architectures": [
8
+ "BartForConditionalGeneration"
9
  ],
10
  "attention_dropout": 0.0,
11
+ "author": "DonghaeSuh (gypsi12@naver.com)",
12
  "bos_token_id": 1,
13
  "classif_dropout": 0.1,
14
  "classifier_dropout": 0.1,
 
35
  },
36
  "init_std": 0.02,
37
  "is_encoder_decoder": true,
38
+ "kobart_version": 2.0,
39
  "label2id": {
40
  "NEGATIVE": 0,
41
  "POSITIVE": 1
 
48
  "pad_token_id": 3,
49
  "scale_embedding": false,
50
  "static_position_embeddings": false,
 
 
 
51
  "tokenizer_class": "PreTrainedTokenizerFast",
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.37.2",
54
+ "use_cache": true,
55
+ "vocab_size": 30002
56
  }
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "decoder_start_token_id": 1,
5
+ "eos_token_id": 1,
6
+ "forced_eos_token_id": 1,
7
+ "pad_token_id": 3,
8
+ "transformers_version": "4.37.2"
9
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:921f241864a6c4884eb100852c8a14635dde06d4f737b589c2d7dc7f03992c0f
3
+ size 495595920