Upload RobertaForSequenceClassification
Browse files- config.json +54 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "roberta-base",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "depression",
|
15 |
+
"1": "anxiety",
|
16 |
+
"2": "bipolar disorder",
|
17 |
+
"3": "schizophrenia",
|
18 |
+
"4": "PTSD",
|
19 |
+
"5": "OCD",
|
20 |
+
"6": "ADHD",
|
21 |
+
"7": "autism",
|
22 |
+
"8": "eating disorder",
|
23 |
+
"9": "personality disorder",
|
24 |
+
"10": "phobia"
|
25 |
+
},
|
26 |
+
"initializer_range": 0.02,
|
27 |
+
"intermediate_size": 3072,
|
28 |
+
"label2id": {
|
29 |
+
"ADHD": 6,
|
30 |
+
"OCD": 5,
|
31 |
+
"PTSD": 4,
|
32 |
+
"anxiety": 1,
|
33 |
+
"autism": 7,
|
34 |
+
"bipolar disorder": 2,
|
35 |
+
"depression": 0,
|
36 |
+
"eating disorder": 8,
|
37 |
+
"personality disorder": 9,
|
38 |
+
"phobia": 10,
|
39 |
+
"schizophrenia": 3
|
40 |
+
},
|
41 |
+
"layer_norm_eps": 1e-05,
|
42 |
+
"max_position_embeddings": 514,
|
43 |
+
"model_type": "roberta",
|
44 |
+
"num_attention_heads": 12,
|
45 |
+
"num_hidden_layers": 12,
|
46 |
+
"pad_token_id": 1,
|
47 |
+
"position_embedding_type": "absolute",
|
48 |
+
"problem_type": "single_label_classification",
|
49 |
+
"torch_dtype": "float32",
|
50 |
+
"transformers_version": "4.35.2",
|
51 |
+
"type_vocab_size": 1,
|
52 |
+
"use_cache": true,
|
53 |
+
"vocab_size": 50265
|
54 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dc1a386356db7df159da8720854b745b19cd60fef1163c6c0c8c686b51f2e636
|
3 |
+
size 498640508
|