baseballwow commited on
Commit
a1a2482
1 Parent(s): 4d79ec8

Upload BartForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +52 -0
  2. generation_config.json +9 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": ".\\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
+ "bos_token_id": 0,
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": 2,
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": 2,
30
+ "id2label": {
31
+ "0": "NEGATIVE",
32
+ "1": "POSITIVE"
33
+ },
34
+ "init_std": 0.02,
35
+ "is_encoder_decoder": true,
36
+ "label2id": {
37
+ "NEGATIVE": 0,
38
+ "POSITIVE": 1
39
+ },
40
+ "max_position_embeddings": 1026,
41
+ "model_type": "bart",
42
+ "normalize_before": false,
43
+ "normalize_embedding": true,
44
+ "num_hidden_layers": 6,
45
+ "pad_token_id": 3,
46
+ "scale_embedding": false,
47
+ "static_position_embeddings": false,
48
+ "torch_dtype": "float32",
49
+ "transformers_version": "4.28.1",
50
+ "use_cache": true,
51
+ "vocab_size": 30000
52
+ }
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "decoder_start_token_id": 2,
5
+ "eos_token_id": 1,
6
+ "forced_eos_token_id": 2,
7
+ "pad_token_id": 3,
8
+ "transformers_version": "4.28.1"
9
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb576dd6735a2b56f011d9b09d55599064f43cd96a0841a1e1e88a6ecf65dba0
3
+ size 495644701