ZainAli60 commited on
Commit
5338cd1
·
verified ·
1 Parent(s): bfee4e4

Upload model

Browse files
Files changed (2) hide show
  1. config.json +29 -38
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,55 +1,46 @@
1
  {
2
- "_name_or_path": "/root/pretraining/local-models/training/2024-03-10_20-51-41",
 
3
  "activation_function": "gelu_new",
4
  "architectures": [
5
- "GPTNeoForCausalLM"
6
- ],
7
- "attention_dropout": 0,
8
- "attention_layers": [
9
- "global",
10
- "local",
11
- "global",
12
- "local",
13
- "global",
14
- "local",
15
- "global",
16
- "local",
17
- "global",
18
- "local",
19
- "global",
20
- "local"
21
- ],
22
- "attention_types": [
23
- [
24
- [
25
- "global",
26
- "local"
27
- ],
28
- 6
29
- ]
30
  ],
 
31
  "bos_token_id": 50256,
32
- "classifier_dropout": 0.1,
33
- "embed_dropout": 0,
34
  "eos_token_id": 50256,
35
- "gradient_checkpointing": false,
36
- "hidden_size": 768,
 
37
  "initializer_range": 0.02,
38
- "intermediate_size": null,
 
 
39
  "layer_norm_epsilon": 1e-05,
40
- "max_position_embeddings": 2048,
41
- "model_type": "gpt_neo",
42
- "num_heads": 12,
43
- "num_layers": 12,
44
- "resid_dropout": 0,
 
 
 
 
 
 
45
  "summary_activation": null,
46
  "summary_first_dropout": 0.1,
47
  "summary_proj_to_labels": true,
48
  "summary_type": "cls_index",
49
  "summary_use_proj": true,
 
 
 
 
 
 
50
  "torch_dtype": "float32",
51
  "transformers_version": "4.38.0",
52
  "use_cache": true,
53
- "vocab_size": 50257,
54
- "window_size": 256
55
  }
 
1
  {
2
+ "_name_or_path": "/root/pretraining/local-models/training/2024-03-10_21-26-32",
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
+ "reorder_and_upcast_attn": false,
28
+ "resid_pdrop": 0.1,
29
+ "scale_attn_by_inverse_layer_idx": false,
30
+ "scale_attn_weights": true,
31
  "summary_activation": null,
32
  "summary_first_dropout": 0.1,
33
  "summary_proj_to_labels": true,
34
  "summary_type": "cls_index",
35
  "summary_use_proj": true,
36
+ "task_specific_params": {
37
+ "text-generation": {
38
+ "do_sample": true,
39
+ "max_length": 50
40
+ }
41
+ },
42
  "torch_dtype": "float32",
43
  "transformers_version": "4.38.0",
44
  "use_cache": true,
45
+ "vocab_size": 50257
 
46
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:76e450816d4249c08556c96f06a5d66b7fe8d9d088e3d530ab514f377ed1a35d
3
- size 500811336
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:549e25b609e0b52677f5dd577e859f30ee7b586b140ff87e7825ea11a73d1673
3
+ size 327657928