v1.0
Browse files- .gitignore +3 -0
- config.json +37 -0
- configuration_gptpangu.py +1 -0
- modeling_gptpangu.py +1 -0
- pytorch_model.bin +3 -0
- tokenization_gptpangu.py +1 -0
- vocab.model +3 -0
.gitignore
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
# backup config
|
2 |
+
backup_config.json
|
3 |
+
|
config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_function": "gelu",
|
3 |
+
"architectures": [
|
4 |
+
"GPTPanguForCausalLM"
|
5 |
+
],
|
6 |
+
"attn_pdrop": 0.1,
|
7 |
+
"bos_token_id": 9,
|
8 |
+
"embd_pdrop": 0.1,
|
9 |
+
"eos_token_id": 9,
|
10 |
+
"hidden_size": 2560,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": null,
|
13 |
+
"layer_norm_epsilon": 1e-05,
|
14 |
+
"max_position_embeddings": 1024,
|
15 |
+
"model_type": "gpt_pangu",
|
16 |
+
"num_heads": 32,
|
17 |
+
"num_layers": 32,
|
18 |
+
"resid_pdrop": 0.1,
|
19 |
+
"scale_attn_weights": true,
|
20 |
+
"summary_activation": null,
|
21 |
+
"summary_first_dropout": 0.1,
|
22 |
+
"summary_proj_to_labels": true,
|
23 |
+
"summary_type": "cls_index",
|
24 |
+
"summary_use_proj": true,
|
25 |
+
"torch_dtype": "float32",
|
26 |
+
"transformers_version": "4.13.0",
|
27 |
+
"use_cache": true,
|
28 |
+
"vocab_size": 40000,
|
29 |
+
|
30 |
+
|
31 |
+
"tokenizer_class": "GPTPanguTokenizer",
|
32 |
+
"auto_map": {
|
33 |
+
"AutoConfig": "configuration_gptpangu.GPTPanguConfig",
|
34 |
+
"AutoTokenizer": ["tokenization_gptpangu.GPTPanguTokenizer", null],
|
35 |
+
"AutoModelForCausalLM": "modeling_gptpangu.GPTPanguForCausalLM"
|
36 |
+
}
|
37 |
+
}
|
configuration_gptpangu.py
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
../../model/configuration_gptpangu.py
|
modeling_gptpangu.py
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
../../model/modeling_gptpangu.py
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0e6057a5247066631c8ff228ad85d7d1c62da306aea8b39b5c5cd437fd72bf88
|
3 |
+
size 10534941219
|
tokenization_gptpangu.py
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
../../model/tokenization_gptpangu.py
|
vocab.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:18857e86783e50cfcaa0bc3c043fb4e9b5f240b885d2870ea593ee69b44f7a3a
|
3 |
+
size 879697
|