Pushing model
#1
by
acmc
- opened
- config.json +43 -0
- generation_config.json +11 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "acmc/summarizer_google_bigbird-pegasus-large-pubmed_mesh_unfaceted",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu_new",
|
5 |
+
"architectures": [
|
6 |
+
"BigBirdPegasusForConditionalGeneration"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"attention_type": "block_sparse",
|
10 |
+
"block_size": 64,
|
11 |
+
"bos_token_id": 2,
|
12 |
+
"classifier_dropout": 0.0,
|
13 |
+
"d_model": 1024,
|
14 |
+
"decoder_attention_heads": 16,
|
15 |
+
"decoder_ffn_dim": 4096,
|
16 |
+
"decoder_layerdrop": 0.0,
|
17 |
+
"decoder_layers": 16,
|
18 |
+
"decoder_start_token_id": 2,
|
19 |
+
"dropout": 0.1,
|
20 |
+
"encoder_attention_heads": 16,
|
21 |
+
"encoder_ffn_dim": 4096,
|
22 |
+
"encoder_layerdrop": 0.0,
|
23 |
+
"encoder_layers": 16,
|
24 |
+
"eos_token_id": 1,
|
25 |
+
"gradient_checkpointing": false,
|
26 |
+
"init_std": 0.02,
|
27 |
+
"is_encoder_decoder": true,
|
28 |
+
"length_penalty": 0.8,
|
29 |
+
"max_length": 512,
|
30 |
+
"max_position_embeddings": 4096,
|
31 |
+
"model_type": "bigbird_pegasus",
|
32 |
+
"num_beams": 5,
|
33 |
+
"num_hidden_layers": 16,
|
34 |
+
"num_random_blocks": 3,
|
35 |
+
"pad_token_id": 0,
|
36 |
+
"scale_embedding": true,
|
37 |
+
"tokenizer_class": "PegasusTokenizer",
|
38 |
+
"torch_dtype": "float32",
|
39 |
+
"transformers_version": "4.30.2",
|
40 |
+
"use_bias": false,
|
41 |
+
"use_cache": true,
|
42 |
+
"vocab_size": 96111
|
43 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 2,
|
4 |
+
"decoder_start_token_id": 2,
|
5 |
+
"eos_token_id": 1,
|
6 |
+
"length_penalty": 0.8,
|
7 |
+
"max_length": 256,
|
8 |
+
"num_beams": 5,
|
9 |
+
"pad_token_id": 0,
|
10 |
+
"transformers_version": "4.30.2"
|
11 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eb0969302da0c47026db5a56e80945baa9b4534a7f04517886d4705790e2590c
|
3 |
+
size 2308144877
|