Upload GPT2ForSequenceClassification
Browse files- config.json +47 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "polish-gpt2-small",
|
3 |
+
"activation_function": "gelu_fast",
|
4 |
+
"architectures": [
|
5 |
+
"GPT2ForSequenceClassification"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": 0,
|
9 |
+
"embd_pdrop": 0.1,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"id2label": {
|
12 |
+
"0": "NEUTRAL",
|
13 |
+
"1": "NEGATIVE",
|
14 |
+
"2": "POSITIVE",
|
15 |
+
"3": "AMBIGUOUS"
|
16 |
+
},
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"label2id": {
|
19 |
+
"AMBIGUOUS": 3,
|
20 |
+
"NEGATIVE": 1,
|
21 |
+
"NEUTRAL": 0,
|
22 |
+
"POSITIVE": 2
|
23 |
+
},
|
24 |
+
"layer_norm_epsilon": 1e-05,
|
25 |
+
"model_type": "gpt2",
|
26 |
+
"n_embd": 768,
|
27 |
+
"n_head": 12,
|
28 |
+
"n_inner": 3072,
|
29 |
+
"n_layer": 12,
|
30 |
+
"n_positions": 2048,
|
31 |
+
"pad_token_id": 2,
|
32 |
+
"problem_type": "single_label_classification",
|
33 |
+
"reorder_and_upcast_attn": false,
|
34 |
+
"resid_pdrop": 0.1,
|
35 |
+
"scale_attn_by_inverse_layer_idx": false,
|
36 |
+
"scale_attn_weights": true,
|
37 |
+
"summary_activation": null,
|
38 |
+
"summary_first_dropout": 0.1,
|
39 |
+
"summary_proj_to_labels": true,
|
40 |
+
"summary_type": "cls_index",
|
41 |
+
"summary_use_proj": true,
|
42 |
+
"tokenizer_class": "GPT2TokenizerFast",
|
43 |
+
"torch_dtype": "float32",
|
44 |
+
"transformers_version": "4.36.2",
|
45 |
+
"use_cache": true,
|
46 |
+
"vocab_size": 51200
|
47 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:955e48244ce6d93fb2bbf2c54c1189cfae3c905acdca1a5135c6eea76c794aa3
|
3 |
+
size 503829200
|