SidharthanRajendran commited on
Commit
22312c3
·
1 Parent(s): 961835b

Upload model

Browse files
Files changed (3) hide show
  1. config.json +64 -0
  2. generation_config.json +8 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "gpt2",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "do_sample": true,
10
+ "embd_pdrop": 0.1,
11
+ "eos_token_id": 50256,
12
+ "initializer_range": 0.02,
13
+ "layer_norm_epsilon": 1e-05,
14
+ "max_length": 50,
15
+ "model_type": "gpt2",
16
+ "n_ctx": 1024,
17
+ "n_embd": 768,
18
+ "n_head": 12,
19
+ "n_inner": null,
20
+ "n_layer": 12,
21
+ "n_positions": 1024,
22
+ "quantization_config": {
23
+ "batch_size": 1,
24
+ "bits": 4,
25
+ "block_name_to_quantize": "transformer.h",
26
+ "damp_percent": 0.1,
27
+ "dataset": "c4",
28
+ "desc_act": false,
29
+ "disable_exllama": true,
30
+ "group_size": 128,
31
+ "max_input_length": null,
32
+ "model_seqlen": 1024,
33
+ "module_name_preceding_first_block": [
34
+ "transformer.wte",
35
+ "transformer.wpe",
36
+ "transformer.drop"
37
+ ],
38
+ "pad_token_id": null,
39
+ "quant_method": "gptq",
40
+ "sym": true,
41
+ "tokenizer": null,
42
+ "true_sequential": true,
43
+ "use_cuda_fp16": true
44
+ },
45
+ "reorder_and_upcast_attn": false,
46
+ "resid_pdrop": 0.1,
47
+ "scale_attn_by_inverse_layer_idx": false,
48
+ "scale_attn_weights": true,
49
+ "summary_activation": null,
50
+ "summary_first_dropout": 0.1,
51
+ "summary_proj_to_labels": true,
52
+ "summary_type": "cls_index",
53
+ "summary_use_proj": true,
54
+ "task_specific_params": {
55
+ "text-generation": {
56
+ "do_sample": true,
57
+ "max_length": 50
58
+ }
59
+ },
60
+ "torch_dtype": "float16",
61
+ "transformers_version": "4.34.0.dev0",
62
+ "use_cache": true,
63
+ "vocab_size": 50257
64
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "do_sample": true,
5
+ "eos_token_id": 50256,
6
+ "max_length": 50,
7
+ "transformers_version": "4.34.0.dev0"
8
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef12e89e1cb1001eb56aa5c8c596c0d5e9adaf1a2782bb4981d0b78446a9a224
3
+ size 123485981