deepnet commited on
Commit
2ea0207
·
1 Parent(s): f3faffd

Upload model

Browse files
Files changed (2) hide show
  1. config.json +18 -4
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,5 +1,6 @@
1
  {
2
- "_name_or_path": "/pretraining/local-models/training/2024-01-04_13-54-42",
 
3
  "activation_function": "gelu_new",
4
  "architectures": [
5
  "GPT2LMHeadModel"
@@ -8,13 +9,20 @@
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_embd": 760,
15
- "n_head": 10,
 
16
  "n_inner": null,
17
- "n_layer": 12,
18
  "n_positions": 1024,
19
  "reorder_and_upcast_attn": false,
20
  "resid_pdrop": 0.1,
@@ -25,6 +33,12 @@
25
  "summary_proj_to_labels": true,
26
  "summary_type": "cls_index",
27
  "summary_use_proj": true,
 
 
 
 
 
 
28
  "torch_dtype": "float32",
29
  "transformers_version": "4.34.1",
30
  "use_cache": true,
 
1
  {
2
+ "_name_or_path": "/pretraining/Local-Distill",
3
+ "_num_labels": 1,
4
  "activation_function": "gelu_new",
5
  "architectures": [
6
  "GPT2LMHeadModel"
 
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,
 
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.34.1",
44
  "use_cache": true,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:534a8e0449e127d207d3472546eba38f804cc60e51875dea906a0c80e47aa5a9
3
- size 489087136
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:721fa38acb2ba5d1ebdeed4bad3dcb32c0beeb2b924ecf544fffaa3b0bb65a66
3
+ size 327657928