Upload PegasusXForConditionalGeneration
Browse files- config.json +58 -0
- generation_config.json +10 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./ray_results/_objective_2023-12-16_06-23-02/_objective_90c21_00000_0_weight_decay=0.0000_2023-12-16_06-23-02/checkpoint_002625/checkpoint-2625",
|
3 |
+
"activation_dropout": 0.1,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"add_bias_logits": false,
|
6 |
+
"add_final_layer_norm": true,
|
7 |
+
"architectures": [
|
8 |
+
"PegasusXForConditionalGeneration"
|
9 |
+
],
|
10 |
+
"attention_dropout": 0.1,
|
11 |
+
"block_size": 512,
|
12 |
+
"bos_token_id": 0,
|
13 |
+
"classif_dropout": 0.0,
|
14 |
+
"classifier_dropout": 0.0,
|
15 |
+
"d_model": 768,
|
16 |
+
"decoder_attention_heads": 12,
|
17 |
+
"decoder_ffn_dim": 3072,
|
18 |
+
"decoder_layerdrop": 0.0,
|
19 |
+
"decoder_layers": 12,
|
20 |
+
"decoder_start_token_id": 0,
|
21 |
+
"dropout": 0.1,
|
22 |
+
"encoder_attention_heads": 12,
|
23 |
+
"encoder_ffn_dim": 3072,
|
24 |
+
"encoder_layerdrop": 0.0,
|
25 |
+
"encoder_layers": 12,
|
26 |
+
"eos_token_id": 1,
|
27 |
+
"extra_pos_embeddings": 1,
|
28 |
+
"force_bos_token_to_be_generated": false,
|
29 |
+
"forced_eos_token_id": 1,
|
30 |
+
"id2label": {
|
31 |
+
"0": "LABEL_0",
|
32 |
+
"1": "LABEL_1",
|
33 |
+
"2": "LABEL_2"
|
34 |
+
},
|
35 |
+
"init_std": 0.02,
|
36 |
+
"is_encoder_decoder": true,
|
37 |
+
"label2id": {
|
38 |
+
"LABEL_0": 0,
|
39 |
+
"LABEL_1": 1,
|
40 |
+
"LABEL_2": 2
|
41 |
+
},
|
42 |
+
"length_penalty": 0.8,
|
43 |
+
"max_length": 256,
|
44 |
+
"max_position_embeddings": 16384,
|
45 |
+
"model_type": "pegasus_x",
|
46 |
+
"normalize_before": true,
|
47 |
+
"normalize_embedding": false,
|
48 |
+
"num_global_tokens": 128,
|
49 |
+
"num_hidden_layers": 12,
|
50 |
+
"pad_token_id": 0,
|
51 |
+
"scale_embedding": true,
|
52 |
+
"stagger_local_blocks": true,
|
53 |
+
"static_position_embeddings": true,
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.29.2",
|
56 |
+
"use_cache": true,
|
57 |
+
"vocab_size": 96103
|
58 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 0,
|
3 |
+
"decoder_start_token_id": 0,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"forced_eos_token_id": 1,
|
6 |
+
"length_penalty": 0.8,
|
7 |
+
"max_length": 256,
|
8 |
+
"pad_token_id": 0,
|
9 |
+
"transformers_version": "4.29.2"
|
10 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:43d18b346f5e7b96d2574996b48fc967e79eb1cf641712583b5b9ec91e003daa
|
3 |
+
size 1089296293
|