harithushan commited on
Commit
f56e1c9
1 Parent(s): d1b7998

Upload model

Browse files
Files changed (3) hide show
  1. config.json +67 -0
  2. generation_config.json +6 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "gpt2-xl",
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": 1600,
16
+ "n_head": 25,
17
+ "n_inner": null,
18
+ "n_layer": 48,
19
+ "n_positions": 1024,
20
+ "output_past": true,
21
+ "quantization_config": {
22
+ "batch_size": 1,
23
+ "bits": 4,
24
+ "block_name_to_quantize": "transformer.h",
25
+ "cache_block_outputs": true,
26
+ "damp_percent": 0.1,
27
+ "dataset": "wikitext2",
28
+ "desc_act": false,
29
+ "exllama_config": {
30
+ "version": 1
31
+ },
32
+ "group_size": 128,
33
+ "max_input_length": null,
34
+ "model_seqlen": 1024,
35
+ "module_name_preceding_first_block": [
36
+ "transformer.wte",
37
+ "transformer.wpe",
38
+ "transformer.drop"
39
+ ],
40
+ "pad_token_id": null,
41
+ "quant_method": "gptq",
42
+ "sym": true,
43
+ "tokenizer": null,
44
+ "true_sequential": true,
45
+ "use_cuda_fp16": true,
46
+ "use_exllama": true
47
+ },
48
+ "reorder_and_upcast_attn": false,
49
+ "resid_pdrop": 0.1,
50
+ "scale_attn_by_inverse_layer_idx": false,
51
+ "scale_attn_weights": true,
52
+ "summary_activation": null,
53
+ "summary_first_dropout": 0.1,
54
+ "summary_proj_to_labels": true,
55
+ "summary_type": "cls_index",
56
+ "summary_use_proj": true,
57
+ "task_specific_params": {
58
+ "text-generation": {
59
+ "do_sample": true,
60
+ "max_length": 50
61
+ }
62
+ },
63
+ "torch_dtype": "float16",
64
+ "transformers_version": "4.36.0.dev0",
65
+ "use_cache": true,
66
+ "vocab_size": 50257
67
+ }
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.36.0.dev0"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba7a78f326bd63af293a774c5f4d8fb7d4d155608b23add0ee9c8614e618b076
3
+ size 935221760