dongxqm
commited on
Commit
•
2c614fc
1
Parent(s):
11ea687
init model
Browse files- config.json +56 -0
- pytorch_model.bin +3 -0
- spm.model +3 -0
config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/cognitive_comp/dongxiaoqun/train_model/pretrain_deltalm_parallel_labels100_3node_2B_new1/ckpt/pretrained_epoch0_step29425/",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"add_bias_logits": false,
|
6 |
+
"add_final_layer_norm": false,
|
7 |
+
"architectures": [
|
8 |
+
"DeltalmForConditionalGeneration"
|
9 |
+
],
|
10 |
+
"attention_dropout": 0.0,
|
11 |
+
"bos_token_id": 0,
|
12 |
+
"classifier_dropout": 0.0,
|
13 |
+
"d_model": 768,
|
14 |
+
"decoder_attention_heads": 12,
|
15 |
+
"decoder_ffn_dim": 3072,
|
16 |
+
"decoder_layerdrop": 0.0,
|
17 |
+
"decoder_layers": 6,
|
18 |
+
"decoder_start_token_id": 2,
|
19 |
+
"dropout": 0.1,
|
20 |
+
"early_stopping": true,
|
21 |
+
"encoder_attention_heads": 12,
|
22 |
+
"encoder_ffn_dim": 3072,
|
23 |
+
"encoder_layerdrop": 0.0,
|
24 |
+
"encoder_layers": 12,
|
25 |
+
"encoder_normalize_before": false,
|
26 |
+
"eos_token_id": 2,
|
27 |
+
"forced_bos_token_id": 0,
|
28 |
+
"forced_eos_token_id": 2,
|
29 |
+
"gradient_checkpointing": false,
|
30 |
+
"id2label": {
|
31 |
+
"0": "LABEL_0",
|
32 |
+
"1": "LABEL_1",
|
33 |
+
"2": "LABEL_2"
|
34 |
+
},
|
35 |
+
"ignore_index": -100,
|
36 |
+
"init_std": 0.02,
|
37 |
+
"is_encoder_decoder": true,
|
38 |
+
"label2id": {
|
39 |
+
"LABEL_0": 0,
|
40 |
+
"LABEL_1": 1,
|
41 |
+
"LABEL_2": 2
|
42 |
+
},
|
43 |
+
"label_smoothing": 0,
|
44 |
+
"max_position_embeddings": 512,
|
45 |
+
"model_type": "Deltalm",
|
46 |
+
"no_repeat_ngram_size": 3,
|
47 |
+
"normalize_before": false,
|
48 |
+
"num_beams": 5,
|
49 |
+
"num_hidden_layers": 6,
|
50 |
+
"pad_token_id": 1,
|
51 |
+
"scale_embedding": false,
|
52 |
+
"torch_dtype": "float16",
|
53 |
+
"transformers_version": "4.20.1",
|
54 |
+
"use_cache": true,
|
55 |
+
"vocab_size": 250001
|
56 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:05beb548f98a3458528fc1db2cbdce26c4adc7c601deece3ad012d859f666ebd
|
3 |
+
size 726358755
|
spm.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
|
3 |
+
size 5069051
|