Commit
·
68778e9
1
Parent(s):
b8e9e7c
Upload GPTJForCausalLM
Browse files- config.json +25 -0
- generation_config.json +6 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_function": "gelu_new",
|
3 |
+
"architectures": [
|
4 |
+
"GPTJForCausalLM"
|
5 |
+
],
|
6 |
+
"attn_pdrop": 0.0,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"embd_pdrop": 0.0,
|
9 |
+
"eos_token_id": 1,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"layer_norm_epsilon": 1e-05,
|
12 |
+
"model_type": "gptj",
|
13 |
+
"n_embd": 32,
|
14 |
+
"n_head": 2,
|
15 |
+
"n_inner": null,
|
16 |
+
"n_layer": 2,
|
17 |
+
"n_positions": 512,
|
18 |
+
"resid_pdrop": 0.0,
|
19 |
+
"rotary_dim": 8,
|
20 |
+
"tie_word_embeddings": false,
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.33.2",
|
23 |
+
"use_cache": true,
|
24 |
+
"vocab_size": 2048
|
25 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"transformers_version": "4.33.2"
|
6 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1b35715e958bf58dc3d33a3c88c5b3cbaa3929523ed227183cd35e6793a8641d
|
3 |
+
size 640444
|