Upload 3 files
Browse files- config.json +3 -11
- generation_config.json +1 -1
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"GPT2LMHeadModel"
|
@@ -18,14 +18,6 @@
|
|
18 |
"n_layer": 48,
|
19 |
"n_positions": 1024,
|
20 |
"output_past": true,
|
21 |
-
"quantization_config": {
|
22 |
-
"_from_model_config": false,
|
23 |
-
"llm_int8_enable_fp32_cpu_offload": false,
|
24 |
-
"llm_int8_skip_modules": null,
|
25 |
-
"llm_int8_threshold": 6.0,
|
26 |
-
"load_in_8bit": true,
|
27 |
-
"transformers_version": "4.29.0.dev0"
|
28 |
-
},
|
29 |
"reorder_and_upcast_attn": false,
|
30 |
"resid_pdrop": 0.1,
|
31 |
"scale_attn_by_inverse_layer_idx": false,
|
@@ -41,8 +33,8 @@
|
|
41 |
"max_length": 50
|
42 |
}
|
43 |
},
|
44 |
-
"torch_dtype": "
|
45 |
-
"transformers_version": "4.
|
46 |
"use_cache": true,
|
47 |
"vocab_size": 50257
|
48 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "../pretrain_model/gpt2-xl",
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"GPT2LMHeadModel"
|
|
|
18 |
"n_layer": 48,
|
19 |
"n_positions": 1024,
|
20 |
"output_past": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
"reorder_and_upcast_attn": false,
|
22 |
"resid_pdrop": 0.1,
|
23 |
"scale_attn_by_inverse_layer_idx": false,
|
|
|
33 |
"max_length": 50
|
34 |
}
|
35 |
},
|
36 |
+
"torch_dtype": "float32",
|
37 |
+
"transformers_version": "4.26.1",
|
38 |
"use_cache": true,
|
39 |
"vocab_size": 50257
|
40 |
}
|
generation_config.json
CHANGED
@@ -2,5 +2,5 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 50256,
|
4 |
"eos_token_id": 50256,
|
5 |
-
"transformers_version": "4.
|
6 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 50256,
|
4 |
"eos_token_id": 50256,
|
5 |
+
"transformers_version": "4.26.1"
|
6 |
}
|
pytorch_model.bin
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:c7b41d061552de7770c7a4c0e867314f635a6879bdbf3b32b7bed1760d4853a0
|
3 |
+
size 6281000113
|