sharpenb commited on
Commit
33c137b
·
verified ·
1 Parent(s): a81950d

Upload folder using huggingface_hub (#11)

Browse files

- b39087967277caacf2fd52df0e3f6b8d7094e50943fc558d6b93b04551d545a6 (5b0637d4d4fd214456166548741f14a81681ae0a)

Files changed (4) hide show
  1. config.json +12 -14
  2. generation_config.json +2 -3
  3. model.safetensors +2 -2
  4. smash_config.json +1 -1
config.json CHANGED
@@ -1,30 +1,22 @@
1
  {
2
- "_name_or_path": "/covalent/.cache/models/tmp2bzhzdeygdc1g4no",
3
  "activation_function": "gelu_new",
4
  "architectures": [
5
  "GPT2LMHeadModel"
6
  ],
7
  "attn_pdrop": 0.1,
8
- "bos_token_id": 1,
9
  "embd_pdrop": 0.1,
10
- "eos_token_id": 2,
11
- "gradient_checkpointing": false,
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": 2048,
22
  "n_embd": 768,
23
  "n_head": 12,
24
  "n_inner": null,
25
  "n_layer": 12,
26
- "n_positions": 2048,
27
- "pad_token_id": 0,
28
  "quantization_config": {
29
  "_load_in_4bit": false,
30
  "_load_in_8bit": true,
@@ -51,9 +43,15 @@
51
  "summary_proj_to_labels": true,
52
  "summary_type": "cls_index",
53
  "summary_use_proj": true,
 
 
 
 
 
 
54
  "torch_dtype": "float16",
55
  "transformers_version": "4.46.2",
56
  "use_cache": true,
57
- "vocab_size": 50264,
58
  "api_key": null
59
  }
 
1
  {
2
+ "_name_or_path": "/covalent/.cache/models/tmpn6xfl4p6rr5vasf3",
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": 768,
16
  "n_head": 12,
17
  "n_inner": null,
18
  "n_layer": 12,
19
+ "n_positions": 1024,
 
20
  "quantization_config": {
21
  "_load_in_4bit": false,
22
  "_load_in_8bit": true,
 
43
  "summary_proj_to_labels": true,
44
  "summary_type": "cls_index",
45
  "summary_use_proj": true,
46
+ "task_specific_params": {
47
+ "text-generation": {
48
+ "do_sample": true,
49
+ "max_length": 50
50
+ }
51
+ },
52
  "torch_dtype": "float16",
53
  "transformers_version": "4.46.2",
54
  "use_cache": true,
55
+ "vocab_size": 50257,
56
  "api_key": null
57
  }
generation_config.json CHANGED
@@ -1,7 +1,6 @@
1
  {
2
  "_from_model_config": true,
3
- "bos_token_id": 1,
4
- "eos_token_id": 2,
5
- "pad_token_id": 0,
6
  "transformers_version": "4.46.2"
7
  }
 
1
  {
2
  "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
 
5
  "transformers_version": "4.46.2"
6
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:62dc750aa6e44b6b42e62ac17669a7e2f64bd05f4cc6f03f028ad710f1192e5b
3
- size 165884440
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52d6664e6c842ad768891439d7fb68df99058ad6159633a3f3f2c000b4ba5385
3
+ size 164300824
smash_config.json CHANGED
@@ -28,7 +28,7 @@
28
  "quant_llm-int8_weight_bits": 8,
29
  "max_batch_size": 1,
30
  "device": "cuda",
31
- "cache_dir": "/covalent/.cache/models/tmp2bzhzdey",
32
  "task": "",
33
  "save_load_fn": "bitsandbytes",
34
  "save_load_fn_args": {}
 
28
  "quant_llm-int8_weight_bits": 8,
29
  "max_batch_size": 1,
30
  "device": "cuda",
31
+ "cache_dir": "/covalent/.cache/models/tmpn6xfl4p6",
32
  "task": "",
33
  "save_load_fn": "bitsandbytes",
34
  "save_load_fn_args": {}