Sujan42024
commited on
Commit
•
9b203ff
1
Parent(s):
a862370
Upload model
Browse files- config.json +75 -0
- generation_config.json +7 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "aisquared/dlite-v2-355m",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPT2LMHeadModel"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": 50256,
|
9 |
+
"custom_pipelines": {
|
10 |
+
"text-generation": {
|
11 |
+
"impl": "instruct_pipeline.InstructionTextGenerationPipeline",
|
12 |
+
"pt": "AutoModelForCausalLM",
|
13 |
+
"tf": "TFAutoModelForCausalLM"
|
14 |
+
}
|
15 |
+
},
|
16 |
+
"embd_pdrop": 0.1,
|
17 |
+
"eos_token_id": 50256,
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"layer_norm_epsilon": 1e-05,
|
20 |
+
"model_type": "gpt2",
|
21 |
+
"n_ctx": 1024,
|
22 |
+
"n_embd": 1024,
|
23 |
+
"n_head": 16,
|
24 |
+
"n_inner": null,
|
25 |
+
"n_layer": 24,
|
26 |
+
"n_positions": 1024,
|
27 |
+
"n_special": 0,
|
28 |
+
"predict_special_tokens": true,
|
29 |
+
"quantization_config": {
|
30 |
+
"batch_size": 1,
|
31 |
+
"bits": 4,
|
32 |
+
"block_name_to_quantize": "transformer.h",
|
33 |
+
"cache_block_outputs": true,
|
34 |
+
"damp_percent": 0.1,
|
35 |
+
"dataset": "c4",
|
36 |
+
"desc_act": false,
|
37 |
+
"exllama_config": {
|
38 |
+
"version": 1
|
39 |
+
},
|
40 |
+
"group_size": 128,
|
41 |
+
"max_input_length": null,
|
42 |
+
"model_seqlen": 1024,
|
43 |
+
"module_name_preceding_first_block": [
|
44 |
+
"transformer.wte",
|
45 |
+
"transformer.wpe",
|
46 |
+
"transformer.drop"
|
47 |
+
],
|
48 |
+
"pad_token_id": null,
|
49 |
+
"quant_method": "gptq",
|
50 |
+
"sym": true,
|
51 |
+
"tokenizer": null,
|
52 |
+
"true_sequential": true,
|
53 |
+
"use_cuda_fp16": true,
|
54 |
+
"use_exllama": true
|
55 |
+
},
|
56 |
+
"reorder_and_upcast_attn": false,
|
57 |
+
"resid_pdrop": 0.1,
|
58 |
+
"scale_attn_by_inverse_layer_idx": false,
|
59 |
+
"scale_attn_weights": true,
|
60 |
+
"summary_activation": null,
|
61 |
+
"summary_first_dropout": 0.1,
|
62 |
+
"summary_proj_to_labels": true,
|
63 |
+
"summary_type": "cls_index",
|
64 |
+
"summary_use_proj": true,
|
65 |
+
"task_specific_params": {
|
66 |
+
"text-generation": {
|
67 |
+
"do_sample": true,
|
68 |
+
"max_length": 50
|
69 |
+
}
|
70 |
+
},
|
71 |
+
"torch_dtype": "float16",
|
72 |
+
"transformers_version": "4.35.2",
|
73 |
+
"use_cache": false,
|
74 |
+
"vocab_size": 50260
|
75 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 50256,
|
4 |
+
"eos_token_id": 50256,
|
5 |
+
"transformers_version": "4.35.2",
|
6 |
+
"use_cache": false
|
7 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3cd03879d7eb90b40e5e54b4a1d32b4e82d2ba6ae37756cf2a0eee3523974a0b
|
3 |
+
size 263314104
|