Upload GPT2ForSequenceClassification
Browse files- config.json +46 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "skt/kogpt2-base-v2",
|
3 |
+
"_num_labels": 1,
|
4 |
+
"activation_function": "gelu_new",
|
5 |
+
"architectures": [
|
6 |
+
"GPT2ForSequenceClassification"
|
7 |
+
],
|
8 |
+
"attn_pdrop": 0.1,
|
9 |
+
"author": "Heewon Jeon([email protected])",
|
10 |
+
"bos_token_id": 0,
|
11 |
+
"created_date": "2021-04-28",
|
12 |
+
"embd_pdrop": 0.1,
|
13 |
+
"eos_token_id": 1,
|
14 |
+
"gradient_checkpointing": false,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"layer_norm_epsilon": 1e-05,
|
17 |
+
"license": "CC-BY-NC-SA 4.0",
|
18 |
+
"model_type": "gpt2",
|
19 |
+
"n_ctx": 1024,
|
20 |
+
"n_embd": 768,
|
21 |
+
"n_head": 12,
|
22 |
+
"n_inner": null,
|
23 |
+
"n_layer": 12,
|
24 |
+
"n_positions": 1024,
|
25 |
+
"pad_token_id": 1,
|
26 |
+
"problem_type": "single_label_classification",
|
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.34.0",
|
44 |
+
"use_cache": true,
|
45 |
+
"vocab_size": 51200
|
46 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b9cc24933fd915d5edee8c5deb5686aed746421ba875ad49617dd27a4fcbdc68
|
3 |
+
size 500710497
|