shradha01 commited on
Commit
40aefb8
·
verified ·
1 Parent(s): 8143549

Upload of BART model with generated tokenizer

Browse files
Files changed (4) hide show
  1. config.json +45 -0
  2. generation_config.json +11 -0
  3. pytorch_model.bin +3 -0
  4. training_args.bin +3 -0
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "activation_function": "gelu",
4
+ "architectures": [
5
+ "BartForClassificationAndGeneration"
6
+ ],
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 1,
9
+ "classifier_dropout": 0.0,
10
+ "d_model": 768,
11
+ "decoder_attention_heads": 12,
12
+ "decoder_ffn_dim": 3072,
13
+ "decoder_layerdrop": 0.0,
14
+ "decoder_layers": 12,
15
+ "decoder_start_token_id": 1,
16
+ "dropout": 0.1,
17
+ "encoder_attention_heads": 12,
18
+ "encoder_ffn_dim": 3072,
19
+ "encoder_layerdrop": 0.0,
20
+ "encoder_layers": 12,
21
+ "eos_token_id": 2,
22
+ "forced_eos_token_id": 2,
23
+ "id2label": {
24
+ "0": "LABEL_0",
25
+ "1": "LABEL_1"
26
+ },
27
+ "init_std": 0.02,
28
+ "is_encoder_decoder": true,
29
+ "label2id": {
30
+ "LABEL_0": 0,
31
+ "LABEL_1": 1
32
+ },
33
+ "max_length": 256,
34
+ "max_position_embeddings": 1024,
35
+ "min_length": 1,
36
+ "model_type": "bart",
37
+ "num_beams": 5,
38
+ "num_hidden_layers": 12,
39
+ "pad_token_id": 0,
40
+ "scale_embedding": false,
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.36.2",
43
+ "use_cache": true,
44
+ "vocab_size": 80066
45
+ }
generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 1,
3
+ "decoder_start_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "forced_eos_token_id": 2,
6
+ "max_length": 256,
7
+ "min_length": 1,
8
+ "num_beams": 5,
9
+ "pad_token_id": 0,
10
+ "transformers_version": "4.36.2"
11
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ae05d2ccba6797eeccdc23fe0c232baafa35edefbe54d189759dac57e06ab51
3
+ size 1049047002
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5150f7ffb6e649f15cd09c2d6a029de299bd82a75ee2b71ef42fd2a133402169
3
+ size 4920