Upload folder using huggingface_hub
Browse files- config.json +54 -0
- generation_config.json +13 -0
- model.safetensors +3 -0
config.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_dropout": 0.1,
|
| 3 |
+
"activation_function": "relu",
|
| 4 |
+
"add_bias_logits": false,
|
| 5 |
+
"add_final_layer_norm": true,
|
| 6 |
+
"architectures": [
|
| 7 |
+
"PegasusForConditionalGeneration"
|
| 8 |
+
],
|
| 9 |
+
"attention_dropout": 0.1,
|
| 10 |
+
"bos_token_id": 0,
|
| 11 |
+
"classif_dropout": 0.0,
|
| 12 |
+
"d_model": 1024,
|
| 13 |
+
"decoder_attention_heads": 16,
|
| 14 |
+
"decoder_ffn_dim": 4096,
|
| 15 |
+
"decoder_layerdrop": 0.0,
|
| 16 |
+
"decoder_layers": 16,
|
| 17 |
+
"decoder_start_token_id": 0,
|
| 18 |
+
"dropout": 0.1,
|
| 19 |
+
"encoder_attention_heads": 16,
|
| 20 |
+
"encoder_ffn_dim": 4096,
|
| 21 |
+
"encoder_layerdrop": 0.0,
|
| 22 |
+
"encoder_layers": 16,
|
| 23 |
+
"eos_token_id": 1,
|
| 24 |
+
"extra_pos_embeddings": 1,
|
| 25 |
+
"forced_eos_token_id": 1,
|
| 26 |
+
"id2label": {
|
| 27 |
+
"0": "LABEL_0",
|
| 28 |
+
"1": "LABEL_1",
|
| 29 |
+
"2": "LABEL_2"
|
| 30 |
+
},
|
| 31 |
+
"init_std": 0.02,
|
| 32 |
+
"is_encoder_decoder": true,
|
| 33 |
+
"label2id": {
|
| 34 |
+
"LABEL_0": 0,
|
| 35 |
+
"LABEL_1": 1,
|
| 36 |
+
"LABEL_2": 2
|
| 37 |
+
},
|
| 38 |
+
"length_penalty": null,
|
| 39 |
+
"max_length": null,
|
| 40 |
+
"max_position_embeddings": 1024,
|
| 41 |
+
"min_length": null,
|
| 42 |
+
"model_type": "pegasus",
|
| 43 |
+
"normalize_before": true,
|
| 44 |
+
"normalize_embedding": false,
|
| 45 |
+
"num_beams": null,
|
| 46 |
+
"num_hidden_layers": 16,
|
| 47 |
+
"pad_token_id": 0,
|
| 48 |
+
"scale_embedding": true,
|
| 49 |
+
"static_position_embeddings": true,
|
| 50 |
+
"torch_dtype": "float32",
|
| 51 |
+
"transformers_version": "4.55.4",
|
| 52 |
+
"use_cache": true,
|
| 53 |
+
"vocab_size": 96103
|
| 54 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 0,
|
| 4 |
+
"decoder_start_token_id": 0,
|
| 5 |
+
"eos_token_id": 1,
|
| 6 |
+
"forced_eos_token_id": 1,
|
| 7 |
+
"length_penalty": 0.8,
|
| 8 |
+
"max_length": 128,
|
| 9 |
+
"min_length": 32,
|
| 10 |
+
"num_beams": 8,
|
| 11 |
+
"pad_token_id": 0,
|
| 12 |
+
"transformers_version": "4.55.4"
|
| 13 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd5b6c4d1b16b4baef5078c83e7c666f826c4c44b42d515050b889c4dd12e68f
|
| 3 |
+
size 2283652852
|