Upload PegasusXForConditionalGeneration
Browse files- config.json +38 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "hf-internal-testing/tiny-random-PegasusXForConditionalGeneration",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"architectures": [
|
6 |
+
"PegasusXForConditionalGeneration"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.1,
|
9 |
+
"block_size": 512,
|
10 |
+
"bos_token_id": 0,
|
11 |
+
"classifier_dropout": 0.0,
|
12 |
+
"d_model": 16,
|
13 |
+
"decoder_attention_heads": 4,
|
14 |
+
"decoder_ffn_dim": 4,
|
15 |
+
"decoder_layerdrop": 0.0,
|
16 |
+
"decoder_layers": 2,
|
17 |
+
"decoder_start_token_id": 0,
|
18 |
+
"dropout": 0.1,
|
19 |
+
"encoder_attention_heads": 4,
|
20 |
+
"encoder_ffn_dim": 4,
|
21 |
+
"encoder_layerdrop": 0.0,
|
22 |
+
"encoder_layers": 2,
|
23 |
+
"eos_token_id": 1,
|
24 |
+
"forced_eos_token_id": 1,
|
25 |
+
"init_std": 0.02,
|
26 |
+
"is_encoder_decoder": true,
|
27 |
+
"max_position_embeddings": 20,
|
28 |
+
"model_type": "pegasus_x",
|
29 |
+
"num_global_tokens": 32,
|
30 |
+
"num_hidden_layers": 2,
|
31 |
+
"pad_token_id": 0,
|
32 |
+
"scale_embedding": true,
|
33 |
+
"stagger_local_blocks": false,
|
34 |
+
"torch_dtype": "float32",
|
35 |
+
"transformers_version": "4.25.1",
|
36 |
+
"use_cache": true,
|
37 |
+
"vocab_size": 1305
|
38 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5beaa60578c7f453cf3ed4f52cf34afb65b48357577ee47e5b1215ea7829ea1e
|
3 |
+
size 136771
|