Upload RobertaForSequenceClassification
Browse files- config.json +58 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "FacebookAI/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": "[Should Not Do] Legal Compliance/Illegal",
|
15 |
+
"1": "[Should Not Do] Information Hazards",
|
16 |
+
"2": "[Should Not Do] Intellectual Property Rights",
|
17 |
+
"3": "[Should Not Do] Privacy",
|
18 |
+
"4": "[Should Not Do] NSFW Content",
|
19 |
+
"5": "[Cannot Do] Modalities",
|
20 |
+
"6": "[Cannot Do] Skills",
|
21 |
+
"7": "[Cannot Do] Missing Information \u2013 Knowledge Cutoff",
|
22 |
+
"8": "[Cannot Do] Missing Information \u2013 Unknown Unknown Information",
|
23 |
+
"9": "[Cannot Do] Training Data Limits",
|
24 |
+
"10": "[Cannot Do] Missing Information \u2013 Missing Context",
|
25 |
+
"11": "[Cannot Do] Missing Identity",
|
26 |
+
"12": "[Cannot Do] Invalid Premise"
|
27 |
+
},
|
28 |
+
"initializer_range": 0.02,
|
29 |
+
"intermediate_size": 3072,
|
30 |
+
"label2id": {
|
31 |
+
"[Cannot Do] Invalid Premise": 12,
|
32 |
+
"[Cannot Do] Missing Identity": 11,
|
33 |
+
"[Cannot Do] Missing Information \u2013 Knowledge Cutoff": 7,
|
34 |
+
"[Cannot Do] Missing Information \u2013 Missing Context": 10,
|
35 |
+
"[Cannot Do] Missing Information \u2013 Unknown Unknown Information": 8,
|
36 |
+
"[Cannot Do] Modalities": 5,
|
37 |
+
"[Cannot Do] Skills": 6,
|
38 |
+
"[Cannot Do] Training Data Limits": 9,
|
39 |
+
"[Should Not Do] Information Hazards": 1,
|
40 |
+
"[Should Not Do] Intellectual Property Rights": 2,
|
41 |
+
"[Should Not Do] Legal Compliance/Illegal": 0,
|
42 |
+
"[Should Not Do] NSFW Content": 4,
|
43 |
+
"[Should Not Do] Privacy": 3
|
44 |
+
},
|
45 |
+
"layer_norm_eps": 1e-05,
|
46 |
+
"max_position_embeddings": 514,
|
47 |
+
"model_type": "roberta",
|
48 |
+
"num_attention_heads": 12,
|
49 |
+
"num_hidden_layers": 12,
|
50 |
+
"pad_token_id": 1,
|
51 |
+
"position_embedding_type": "absolute",
|
52 |
+
"problem_type": "single_label_classification",
|
53 |
+
"torch_dtype": "float32",
|
54 |
+
"transformers_version": "4.46.3",
|
55 |
+
"type_vocab_size": 1,
|
56 |
+
"use_cache": true,
|
57 |
+
"vocab_size": 50265
|
58 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:21149dae91a24dcf43d08900a165f079d668ecb8f1ea030597d94d7fd8c5c454
|
3 |
+
size 498646660
|