MorrisPark
commited on
Commit
•
e127ab4
1
Parent(s):
4fba65f
twc-bart-tretrain first
Browse files- config.json +44 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_dropout": 0.1,
|
3 |
+
"activation_function": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"BartForConditionalGeneration"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"bos_token_id": 2,
|
9 |
+
"classifier_dropout": 0.1,
|
10 |
+
"d_model": 512,
|
11 |
+
"decoder_attention_heads": 8,
|
12 |
+
"decoder_ffn_dim": 2048,
|
13 |
+
"decoder_layerdrop": 0.0,
|
14 |
+
"decoder_layers": 6,
|
15 |
+
"decoder_start_token_id": 2,
|
16 |
+
"dropout": 0.1,
|
17 |
+
"encoder_attention_heads": 8,
|
18 |
+
"encoder_ffn_dim": 2048,
|
19 |
+
"encoder_layerdrop": 0.0,
|
20 |
+
"encoder_layers": 6,
|
21 |
+
"eos_token_id": 3,
|
22 |
+
"forced_eos_token_id": 3,
|
23 |
+
"id2label": {
|
24 |
+
"0": "LABEL_0",
|
25 |
+
"1": "LABEL_1",
|
26 |
+
"2": "LABEL_2"
|
27 |
+
},
|
28 |
+
"init_std": 0.02,
|
29 |
+
"is_encoder_decoder": true,
|
30 |
+
"label2id": {
|
31 |
+
"LABEL_0": 0,
|
32 |
+
"LABEL_1": 1,
|
33 |
+
"LABEL_2": 2
|
34 |
+
},
|
35 |
+
"max_position_embeddings": 512,
|
36 |
+
"model_type": "bart",
|
37 |
+
"num_hidden_layers": 6,
|
38 |
+
"pad_token_id": 0,
|
39 |
+
"scale_embedding": false,
|
40 |
+
"torch_dtype": "float32",
|
41 |
+
"transformers_version": "4.14.1",
|
42 |
+
"use_cache": false,
|
43 |
+
"vocab_size": 4000
|
44 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9c3a0d8e25a6097538e9cae46bb9a06266a7fd5a9798a2170120de3953ecce52
|
3 |
+
size 186971961
|