Upload model
Browse files- config.json +44 -0
- generation_config.json +6 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "cerebras/Cerebras-GPT-1.3B",
|
3 |
+
"activation_function": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"GPT2LMHeadModel"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.0,
|
8 |
+
"bos_token_id": 50256,
|
9 |
+
"embd_pdrop": 0.0,
|
10 |
+
"eos_token_id": 50256,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"layer_norm_epsilon": 1e-05,
|
13 |
+
"model_type": "gpt2",
|
14 |
+
"n_embd": 2048,
|
15 |
+
"n_head": 16,
|
16 |
+
"n_inner": 8192,
|
17 |
+
"n_layer": 24,
|
18 |
+
"n_positions": 2048,
|
19 |
+
"quantization_config": {
|
20 |
+
"bnb_4bit_compute_dtype": "float32",
|
21 |
+
"bnb_4bit_quant_type": "nf4",
|
22 |
+
"bnb_4bit_use_double_quant": true,
|
23 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
24 |
+
"llm_int8_has_fp16_weight": false,
|
25 |
+
"llm_int8_skip_modules": null,
|
26 |
+
"llm_int8_threshold": 6.0,
|
27 |
+
"load_in_4bit": true,
|
28 |
+
"load_in_8bit": false,
|
29 |
+
"quant_method": "bitsandbytes"
|
30 |
+
},
|
31 |
+
"reorder_and_upcast_attn": false,
|
32 |
+
"resid_pdrop": 0.0,
|
33 |
+
"scale_attn_by_inverse_layer_idx": false,
|
34 |
+
"scale_attn_weights": true,
|
35 |
+
"summary_activation": null,
|
36 |
+
"summary_first_dropout": 0.1,
|
37 |
+
"summary_proj_to_labels": true,
|
38 |
+
"summary_type": "cls_index",
|
39 |
+
"summary_use_proj": true,
|
40 |
+
"torch_dtype": "float32",
|
41 |
+
"transformers_version": "4.37.0.dev0",
|
42 |
+
"use_cache": true,
|
43 |
+
"vocab_size": 50259
|
44 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 50256,
|
4 |
+
"eos_token_id": 50256,
|
5 |
+
"transformers_version": "4.37.0.dev0"
|
6 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cfa9926f0c995ef28612a89732e80b9f797c4325edc92eda64e18d87f080966f
|
3 |
+
size 1255762554
|