comx commited on
Commit
de06080
·
verified ·
1 Parent(s): 7182c9d

Upload GPT2ForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +1 -7
  2. model.safetensors +1 -1
config.json CHANGED
@@ -17,7 +17,7 @@
17
  "n_inner": null,
18
  "n_layer": 12,
19
  "n_positions": 1024,
20
- "pad_token_id": 50256,
21
  "problem_type": "single_label_classification",
22
  "reorder_and_upcast_attn": false,
23
  "resid_pdrop": 0.1,
@@ -28,12 +28,6 @@
28
  "summary_proj_to_labels": true,
29
  "summary_type": "cls_index",
30
  "summary_use_proj": true,
31
- "task_specific_params": {
32
- "text-generation": {
33
- "do_sample": true,
34
- "max_length": 50
35
- }
36
- },
37
  "torch_dtype": "float32",
38
  "transformers_version": "4.44.2",
39
  "use_cache": true,
 
17
  "n_inner": null,
18
  "n_layer": 12,
19
  "n_positions": 1024,
20
+ "pad_token_id": 0,
21
  "problem_type": "single_label_classification",
22
  "reorder_and_upcast_attn": false,
23
  "resid_pdrop": 0.1,
 
28
  "summary_proj_to_labels": true,
29
  "summary_type": "cls_index",
30
  "summary_use_proj": true,
 
 
 
 
 
 
31
  "torch_dtype": "float32",
32
  "transformers_version": "4.44.2",
33
  "use_cache": true,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0095c415434fcf074e0b99a8e5bbb2ae7acf0e1046fd6def0d3a6051698bab2a
3
  size 497780432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0556e5f58054ce15da627aafebbf1f9770b81e81923188743acf4e2187afd6a3
3
  size 497780432