atorsvn commited on
Commit
8e5caa0
·
1 Parent(s): bb5d973

Upload model

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