add model
Browse files- config.json +26 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "openai/imagegpt-small",
|
3 |
+
"activation_function": "quick_gelu",
|
4 |
+
"architectures": [
|
5 |
+
"ImageGPTModel"
|
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": "imagegpt",
|
12 |
+
"n_embd": 512,
|
13 |
+
"n_head": 8,
|
14 |
+
"n_inner": null,
|
15 |
+
"n_layer": 24,
|
16 |
+
"n_positions": 1024,
|
17 |
+
"reorder_and_upcast_attn": false,
|
18 |
+
"resid_pdrop": 0.1,
|
19 |
+
"scale_attn_by_inverse_layer_idx": false,
|
20 |
+
"scale_attn_weights": true,
|
21 |
+
"tie_word_embeddings": false,
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"transformers_version": "4.18.0",
|
24 |
+
"use_cache": true,
|
25 |
+
"vocab_size": 513
|
26 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4a4eace1ac31242c4f3546874e1aceef0cfcbf4b3a4e4cdfb3e6cd06155ac96f
|
3 |
+
size 330931451
|