Hendrik-a commited on
Commit
c92038e
·
1 Parent(s): 05d25d6

Upload LEDForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +54 -0
  2. generation_config.json +8 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./ray_results/_objective_2023-12-17_07-22-40/_objective_0fdb5_00001_1_weight_decay=0.0100_2023-12-17_07-22-40/checkpoint_000600/checkpoint-600",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "gelu",
5
+ "architectures": [
6
+ "LEDForConditionalGeneration"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "attention_window": [
10
+ 1024,
11
+ 1024,
12
+ 1024,
13
+ 1024,
14
+ 1024,
15
+ 1024
16
+ ],
17
+ "bos_token_id": 0,
18
+ "classif_dropout": 0.0,
19
+ "classifier_dropout": 0.0,
20
+ "d_model": 768,
21
+ "decoder_attention_heads": 12,
22
+ "decoder_ffn_dim": 3072,
23
+ "decoder_layerdrop": 0.0,
24
+ "decoder_layers": 6,
25
+ "decoder_start_token_id": 2,
26
+ "dropout": 0.1,
27
+ "encoder_attention_heads": 12,
28
+ "encoder_ffn_dim": 3072,
29
+ "encoder_layerdrop": 0.0,
30
+ "encoder_layers": 6,
31
+ "eos_token_id": 2,
32
+ "id2label": {
33
+ "0": "LABEL_0",
34
+ "1": "LABEL_1",
35
+ "2": "LABEL_2"
36
+ },
37
+ "init_std": 0.02,
38
+ "is_encoder_decoder": true,
39
+ "label2id": {
40
+ "LABEL_0": 0,
41
+ "LABEL_1": 1,
42
+ "LABEL_2": 2
43
+ },
44
+ "max_decoder_position_embeddings": 1024,
45
+ "max_encoder_position_embeddings": 16384,
46
+ "max_length": 256,
47
+ "model_type": "led",
48
+ "num_hidden_layers": 6,
49
+ "pad_token_id": 1,
50
+ "torch_dtype": "float32",
51
+ "transformers_version": "4.29.2",
52
+ "use_cache": true,
53
+ "vocab_size": 50265
54
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 0,
3
+ "decoder_start_token_id": 2,
4
+ "eos_token_id": 2,
5
+ "max_length": 256,
6
+ "pad_token_id": 1,
7
+ "transformers_version": "4.29.2"
8
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35c5bdf2e9b5b21ec997a644545f29fafef4c80cce14085d2aa48a41c01c7a33
3
+ size 647676653