Tasfiya025 commited on
Commit
05c982c
·
verified ·
1 Parent(s): 296f14f

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +47 -0
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "roberta-base",
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 3072,
13
+ "layer_norm_eps": 1e-05,
14
+ "max_position_embeddings": 514,
15
+ "model_type": "roberta",
16
+ "num_attention_heads": 12,
17
+ "num_hidden_layers": 12,
18
+ "pad_token_id": 1,
19
+ "position_embedding_type": "absolute",
20
+ "problem_type": "single_label_classification",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.35.2",
23
+ "type_vocab_size": 1,
24
+ "use_cache": true,
25
+ "vocab_size": 50265,
26
+ "id2label": {
27
+ "0": "Physics",
28
+ "1": "Chemistry",
29
+ "2": "Medicine",
30
+ "3": "Computer Science",
31
+ "4": "Biology",
32
+ "5": "Geoscience",
33
+ "6": "Materials Science",
34
+ "7": "Engineering"
35
+ },
36
+ "label2id": {
37
+ "Physics": 0,
38
+ "Chemistry": 1,
39
+ "Medicine": 2,
40
+ "Computer Science": 3,
41
+ "Biology": 4,
42
+ "Geoscience": 5,
43
+ "Materials Science": 6,
44
+ "Engineering": 7
45
+ },
46
+ "num_labels": 8
47
+ }