Mihara-bot
commited on
Commit
•
fd0adcf
1
Parent(s):
57e25a1
Upload 3 files
Browse files- config.json +49 -0
- generation_config.json +11 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "uer/bart-base-chinese-cluecorpussmall",
|
3 |
+
"activation_dropout": 0.1,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"architectures": [
|
6 |
+
"BartForConditionalGeneration"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.1,
|
9 |
+
"bos_token_id": 0,
|
10 |
+
"classifier_dropout": 0.0,
|
11 |
+
"d_model": 768,
|
12 |
+
"decoder_attention_heads": 12,
|
13 |
+
"decoder_ffn_dim": 3072,
|
14 |
+
"decoder_layerdrop": 0.1,
|
15 |
+
"decoder_layers": 6,
|
16 |
+
"decoder_start_token_id": 101,
|
17 |
+
"dropout": 0.1,
|
18 |
+
"early_stopping": true,
|
19 |
+
"encoder_attention_heads": 12,
|
20 |
+
"encoder_ffn_dim": 3072,
|
21 |
+
"encoder_layerdrop": 0.1,
|
22 |
+
"encoder_layers": 6,
|
23 |
+
"eos_token_id": 0,
|
24 |
+
"forced_eos_token_id": 0,
|
25 |
+
"gradient_checkpointing": false,
|
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 |
+
"max_length": 256,
|
39 |
+
"max_position_embeddings": 1024,
|
40 |
+
"model_type": "bart",
|
41 |
+
"num_hidden_layers": 6,
|
42 |
+
"pad_token_id": 0,
|
43 |
+
"scale_embedding": false,
|
44 |
+
"tokenizer_class": "BertTokenizer",
|
45 |
+
"torch_dtype": "float32",
|
46 |
+
"transformers_version": "4.26.1",
|
47 |
+
"use_cache": true,
|
48 |
+
"vocab_size": 21128
|
49 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"decoder_start_token_id": 101,
|
5 |
+
"early_stopping": true,
|
6 |
+
"eos_token_id": 0,
|
7 |
+
"forced_eos_token_id": 0,
|
8 |
+
"max_length": 256,
|
9 |
+
"pad_token_id": 0,
|
10 |
+
"transformers_version": "4.26.1"
|
11 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2c510e6aab1ae00df52dc30addffe6177319be640b30677dba56f6ab321aa38d
|
3 |
+
size 468343737
|