Commit
•
a8f743e
1
Parent(s):
9c44e49
gpt3-clone
Browse files- .gitignore +1 -0
- config.json +34 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "openai-gpt",
|
3 |
+
"afn": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"OpenAIGPTModel"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"embd_pdrop": 0.1,
|
9 |
+
"initializer_range": 0.02,
|
10 |
+
"layer_norm_epsilon": 1e-05,
|
11 |
+
"model_type": "openai-gpt",
|
12 |
+
"n_ctx": 512,
|
13 |
+
"n_embd": 768,
|
14 |
+
"n_head": 12,
|
15 |
+
"n_layer": 12,
|
16 |
+
"n_positions": 512,
|
17 |
+
"n_special": 0,
|
18 |
+
"predict_special_tokens": true,
|
19 |
+
"resid_pdrop": 0.1,
|
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 |
+
"task_specific_params": {
|
26 |
+
"text-generation": {
|
27 |
+
"do_sample": true,
|
28 |
+
"max_length": 50
|
29 |
+
}
|
30 |
+
},
|
31 |
+
"torch_dtype": "float32",
|
32 |
+
"transformers_version": "4.29.2",
|
33 |
+
"vocab_size": 40478
|
34 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7897b029d88e62e696b4bbb3af9e1a8703d9eefe77a6333502962dcd82b07f86
|
3 |
+
size 478773769
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c9c03069e155c27d6d758ca63c81752ca1c0f803edcb84ed277be4cd6419f524
|
3 |
+
size 3899
|