natankatz commited on
Commit
b44984f
1 Parent(s): 8b98a98

Upload GPT2ForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +43 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "chan_model_class_3",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2ForSequenceClassification"
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
+ "output_attentions": true,
21
+ "output_hidden_states": true,
22
+ "pad_token_id": 50256,
23
+ "problem_type": "single_label_classification",
24
+ "reorder_and_upcast_attn": true,
25
+ "resid_pdrop": 0.1,
26
+ "scale_attn_by_inverse_layer_idx": true,
27
+ "scale_attn_weights": true,
28
+ "summary_activation": null,
29
+ "summary_first_dropout": 0.1,
30
+ "summary_proj_to_labels": true,
31
+ "summary_type": "cls_index",
32
+ "summary_use_proj": true,
33
+ "task_specific_params": {
34
+ "text-generation": {
35
+ "do_sample": true,
36
+ "max_length": 50
37
+ }
38
+ },
39
+ "torch_dtype": "float32",
40
+ "transformers_version": "4.33.1",
41
+ "use_cache": false,
42
+ "vocab_size": 32768
43
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15b2eb5ded777a68c0747ca8365bc6d83153c96521e323f29c09b12a9acb2e5e
3
+ size 444085281