add model
Browse files- config.json +28 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "codegen-350M-mono-gptj.modeldir",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPTJForCausalLM"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.0,
|
8 |
+
"bos_token_id": 1,
|
9 |
+
"embd_pdrop": 0.0,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"layer_norm_epsilon": 1e-05,
|
13 |
+
"model_type": "gptj",
|
14 |
+
"n_embd": 1024,
|
15 |
+
"n_head": 16,
|
16 |
+
"n_inner": null,
|
17 |
+
"n_layer": 20,
|
18 |
+
"n_positions": 2048,
|
19 |
+
"resid_pdrop": 0.0,
|
20 |
+
"rotary_dim": 32,
|
21 |
+
"scale_attn_weights": true,
|
22 |
+
"tie_word_embeddings": false,
|
23 |
+
"tokenizer_class": "CodeGenTokenizer",
|
24 |
+
"torch_dtype": "float16",
|
25 |
+
"transformers_version": "4.21.0.dev0",
|
26 |
+
"use_cache": true,
|
27 |
+
"vocab_size": 51200
|
28 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b5e2727745aed449eee53adeb68120e446107b67067dc132e5baa9e64dce2eb7
|
3 |
+
size 797387937
|