update
Browse filesSigned-off-by: mymusise <mymusise1@gmail.com>
- README.md +16 -0
- config.json +7 -7
- spiece.model +0 -0
- tf_model.h5 +2 -2
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language: zh
|
3 |
+
widget:
|
4 |
+
- text: "今天是下雨天"
|
5 |
+
- text: "走向森林"
|
6 |
+
---
|
7 |
+
|
8 |
+
# EasternFantasyNoval
|
9 |
+
|
10 |
+
|
11 |
+
# Overview
|
12 |
+
|
13 |
+
- **Language model**: GPT2-Medium
|
14 |
+
- **Model size**: 1.2GiB
|
15 |
+
- **Language**: Chinese
|
16 |
+
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "/data/novels/models/",
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"TFGPT2LMHeadModel"
|
@@ -12,13 +12,13 @@
|
|
12 |
"initializer_range": 0.02,
|
13 |
"layer_norm_epsilon": 1e-05,
|
14 |
"model_type": "gpt2",
|
15 |
-
"n_ctx":
|
16 |
"n_embd": 768,
|
17 |
-
"n_head":
|
18 |
"n_inner": null,
|
19 |
"n_layer": 12,
|
20 |
-
"n_positions":
|
21 |
-
"pad_token_id":
|
22 |
"resid_pdrop": 0.1,
|
23 |
"return_dict": false,
|
24 |
"summary_activation": null,
|
@@ -32,7 +32,7 @@
|
|
32 |
"max_length": 120
|
33 |
}
|
34 |
},
|
35 |
-
"tokenizer_class": "
|
36 |
"use_cache": false,
|
37 |
-
"vocab_size":
|
38 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/data/novels/finetune/models/",
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"TFGPT2LMHeadModel"
|
|
|
12 |
"initializer_range": 0.02,
|
13 |
"layer_norm_epsilon": 1e-05,
|
14 |
"model_type": "gpt2",
|
15 |
+
"n_ctx": 512,
|
16 |
"n_embd": 768,
|
17 |
+
"n_head": 8,
|
18 |
"n_inner": null,
|
19 |
"n_layer": 12,
|
20 |
+
"n_positions": 512,
|
21 |
+
"pad_token_id": 16001,
|
22 |
"resid_pdrop": 0.1,
|
23 |
"return_dict": false,
|
24 |
"summary_activation": null,
|
|
|
32 |
"max_length": 120
|
33 |
}
|
34 |
},
|
35 |
+
"tokenizer_class": "XLNetTokenizer",
|
36 |
"use_cache": false,
|
37 |
+
"vocab_size": 16128
|
38 |
}
|
spiece.model
ADDED
Binary file (491 kB). View file
|
|
tf_model.h5
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:061e87b3336aa05112deda8283b6fc21dd8173990d92798ba31ed0485cc64c62
|
3 |
+
size 391516496
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|