paulavilla
commited on
Commit
•
ece3d38
1
Parent(s):
b24f9ea
Upload BertForSequenceClassification
Browse files- config.json +41 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/mount/studenten-temp1/users/villavpa/train_bert/bert_model",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 1024,
|
12 |
+
"id2label": {
|
13 |
+
"0": "0",
|
14 |
+
"1": "1",
|
15 |
+
"2": "2",
|
16 |
+
"3": "3",
|
17 |
+
"4": "4"
|
18 |
+
},
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 4096,
|
21 |
+
"label2id": {
|
22 |
+
"0": 0,
|
23 |
+
"1": 1,
|
24 |
+
"2": 2,
|
25 |
+
"3": 3,
|
26 |
+
"4": 4
|
27 |
+
},
|
28 |
+
"layer_norm_eps": 1e-12,
|
29 |
+
"max_position_embeddings": 512,
|
30 |
+
"model_type": "bert",
|
31 |
+
"num_attention_heads": 16,
|
32 |
+
"num_hidden_layers": 24,
|
33 |
+
"pad_token_id": 0,
|
34 |
+
"position_embedding_type": "absolute",
|
35 |
+
"problem_type": "single_label_classification",
|
36 |
+
"torch_dtype": "float32",
|
37 |
+
"transformers_version": "4.28.1",
|
38 |
+
"type_vocab_size": 2,
|
39 |
+
"use_cache": true,
|
40 |
+
"vocab_size": 30522
|
41 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:37902f6c034fb67acfdf8f8183ba5ec7c16bcb856ed8136e70382af124ba03e0
|
3 |
+
size 1340721397
|