3b647129fcd3325575085a1f640aa33407c0f0a263e44e8f03473ef921824d6e
Browse files- config.json +31 -19
- generation_config.json +2 -2
- model.safetensors +3 -0
- smash_config.json +1 -1
config.json
CHANGED
@@ -1,21 +1,22 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "/covalent/.cache/models/
|
|
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
-
"
|
7 |
-
"bos_token_id":
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"hidden_act": "silu",
|
11 |
-
"hidden_size": 4096,
|
12 |
"initializer_range": 0.02,
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
|
|
|
|
19 |
"quantization_config": {
|
20 |
"_load_in_4bit": false,
|
21 |
"_load_in_8bit": true,
|
@@ -33,13 +34,24 @@
|
|
33 |
"load_in_8bit": true,
|
34 |
"quant_method": "bitsandbytes"
|
35 |
},
|
36 |
-
"
|
37 |
-
"
|
38 |
-
"
|
39 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
"torch_dtype": "float16",
|
41 |
"transformers_version": "4.46.2",
|
42 |
"use_cache": true,
|
43 |
-
"vocab_size":
|
44 |
"api_key": null
|
45 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/covalent/.cache/models/tmpysopg_w8vy94jgc8",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
+
"GPT2LMHeadModel"
|
6 |
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": 50256,
|
9 |
+
"embd_pdrop": 0.1,
|
10 |
+
"eos_token_id": 50256,
|
|
|
|
|
11 |
"initializer_range": 0.02,
|
12 |
+
"layer_norm_epsilon": 1e-05,
|
13 |
+
"model_type": "gpt2",
|
14 |
+
"n_ctx": 1024,
|
15 |
+
"n_embd": 768,
|
16 |
+
"n_head": 12,
|
17 |
+
"n_inner": null,
|
18 |
+
"n_layer": 12,
|
19 |
+
"n_positions": 1024,
|
20 |
"quantization_config": {
|
21 |
"_load_in_4bit": false,
|
22 |
"_load_in_8bit": true,
|
|
|
34 |
"load_in_8bit": true,
|
35 |
"quant_method": "bitsandbytes"
|
36 |
},
|
37 |
+
"reorder_and_upcast_attn": false,
|
38 |
+
"resid_pdrop": 0.1,
|
39 |
+
"scale_attn_by_inverse_layer_idx": false,
|
40 |
+
"scale_attn_weights": true,
|
41 |
+
"summary_activation": null,
|
42 |
+
"summary_first_dropout": 0.1,
|
43 |
+
"summary_proj_to_labels": true,
|
44 |
+
"summary_type": "cls_index",
|
45 |
+
"summary_use_proj": true,
|
46 |
+
"task_specific_params": {
|
47 |
+
"text-generation": {
|
48 |
+
"do_sample": true,
|
49 |
+
"max_length": 50
|
50 |
+
}
|
51 |
+
},
|
52 |
"torch_dtype": "float16",
|
53 |
"transformers_version": "4.46.2",
|
54 |
"use_cache": true,
|
55 |
+
"vocab_size": 50257,
|
56 |
"api_key": null
|
57 |
}
|
generation_config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
-
"bos_token_id":
|
4 |
-
"eos_token_id":
|
5 |
"transformers_version": "4.46.2"
|
6 |
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
+
"bos_token_id": 50256,
|
4 |
+
"eos_token_id": 50256,
|
5 |
"transformers_version": "4.46.2"
|
6 |
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:825fa12a420e39b0dbb728ae43723b4dc9d16060926ab92fc272eb7a88d40f14
|
3 |
+
size 164300824
|
smash_config.json
CHANGED
@@ -28,7 +28,7 @@
|
|
28 |
"quant_llm-int8_weight_bits": 8,
|
29 |
"max_batch_size": 1,
|
30 |
"device": "cuda",
|
31 |
-
"cache_dir": "/covalent/.cache/models/
|
32 |
"task": "",
|
33 |
"save_load_fn": "bitsandbytes",
|
34 |
"save_load_fn_args": {}
|
|
|
28 |
"quant_llm-int8_weight_bits": 8,
|
29 |
"max_batch_size": 1,
|
30 |
"device": "cuda",
|
31 |
+
"cache_dir": "/covalent/.cache/models/tmpysopg_w8",
|
32 |
"task": "",
|
33 |
"save_load_fn": "bitsandbytes",
|
34 |
"save_load_fn_args": {}
|