liamcripwell
commited on
Commit
•
63ff9b2
1
Parent(s):
3ec3fe0
Upload LEDForConditionalGeneration
Browse files- config.json +71 -0
- generation_config.json +8 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/lcripwell/synalp_drive/liam/hf_models/ledpara/",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"add_context": false,
|
6 |
+
"architectures": [
|
7 |
+
"LEDForConditionalGeneration"
|
8 |
+
],
|
9 |
+
"attention_dropout": 0.0,
|
10 |
+
"attention_window": [
|
11 |
+
1024,
|
12 |
+
1024,
|
13 |
+
1024,
|
14 |
+
1024,
|
15 |
+
1024,
|
16 |
+
1024
|
17 |
+
],
|
18 |
+
"bos_token_id": 0,
|
19 |
+
"class_labels": {
|
20 |
+
"delete": 3,
|
21 |
+
"ignore": 0,
|
22 |
+
"rephrase": 1,
|
23 |
+
"split": 2
|
24 |
+
},
|
25 |
+
"classif_dropout": 0.0,
|
26 |
+
"classifier_dropout": 0.0,
|
27 |
+
"context_window": 13,
|
28 |
+
"d_model": 768,
|
29 |
+
"decoder_attention_heads": 12,
|
30 |
+
"decoder_ffn_dim": 3072,
|
31 |
+
"decoder_layerdrop": 0.0,
|
32 |
+
"decoder_layers": 6,
|
33 |
+
"decoder_start_token_id": 2,
|
34 |
+
"dropout": 0.1,
|
35 |
+
"encoder_attention_heads": 12,
|
36 |
+
"encoder_ffn_dim": 3072,
|
37 |
+
"encoder_layerdrop": 0.0,
|
38 |
+
"encoder_layers": 6,
|
39 |
+
"eos_token_id": 2,
|
40 |
+
"gradient_checkpointing": false,
|
41 |
+
"id2label": {
|
42 |
+
"0": "LABEL_0",
|
43 |
+
"1": "LABEL_1",
|
44 |
+
"2": "LABEL_2"
|
45 |
+
},
|
46 |
+
"init_std": 0.02,
|
47 |
+
"is_encoder_decoder": true,
|
48 |
+
"label2id": {
|
49 |
+
"LABEL_0": 0,
|
50 |
+
"LABEL_1": 1,
|
51 |
+
"LABEL_2": 2
|
52 |
+
},
|
53 |
+
"max_decoder_position_embeddings": 1024,
|
54 |
+
"max_encoder_position_embeddings": 16384,
|
55 |
+
"max_length": 1024,
|
56 |
+
"model_type": "led",
|
57 |
+
"num_hidden_layers": 6,
|
58 |
+
"op_tokens": [
|
59 |
+
"<COPY>",
|
60 |
+
"<REPHRASE>",
|
61 |
+
"<SPLIT>",
|
62 |
+
"<DELETE>"
|
63 |
+
],
|
64 |
+
"pad_token_id": 1,
|
65 |
+
"plan_prefix": false,
|
66 |
+
"plan_sep": false,
|
67 |
+
"torch_dtype": "float32",
|
68 |
+
"transformers_version": "4.29.1",
|
69 |
+
"use_cache": true,
|
70 |
+
"vocab_size": 50274
|
71 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"decoder_start_token_id": 2,
|
5 |
+
"eos_token_id": 2,
|
6 |
+
"pad_token_id": 1,
|
7 |
+
"transformers_version": "4.29.1"
|
8 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:375071861d28934bfd94341f80e40cd6cdb30cae7e19428b466bc8540007d8fc
|
3 |
+
size 647713559
|