Gaurav2k commited on
Commit
12921e2
·
verified ·
1 Parent(s): 0dbab46

added config file

Browse files
Files changed (1) hide show
  1. config.json +29 -0
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "bert",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "hidden_size": 768,
7
+ "num_attention_heads": 12,
8
+ "num_hidden_layers": 12,
9
+ "vocab_size": 30522,
10
+ "hidden_act": "gelu",
11
+ "intermediate_size": 3072,
12
+ "hidden_dropout_prob": 0.1,
13
+ "attention_probs_dropout_prob": 0.1,
14
+ "max_position_embeddings": 512,
15
+ "type_vocab_size": 2,
16
+ "initializer_range": 0.02,
17
+ "layer_norm_eps": 1e-12,
18
+ "pad_token_id": 0,
19
+ "gradient_checkpointing": false,
20
+ "num_labels": 2, // Adjust based on your model's labels
21
+ "id2label": {
22
+ "0": "LABEL_0",
23
+ "1": "LABEL_1"
24
+ },
25
+ "label2id": {
26
+ "LABEL_0": 0,
27
+ "LABEL_1": 1
28
+ }
29
+ }