pursuitofds
commited on
Commit
•
a2e787b
1
Parent(s):
18f29ec
Upload folder using huggingface_hub
Browse files- config.json +49 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/project/rcc/youzhi/toxic-models/FacebookAI/roberta-large",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForTokenClassification"
|
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": 1024,
|
13 |
+
"id2label": {
|
14 |
+
"0": "O",
|
15 |
+
"1": "B-PER",
|
16 |
+
"2": "I-PER",
|
17 |
+
"3": "B-ORG",
|
18 |
+
"4": "I-ORG",
|
19 |
+
"5": "B-LOC",
|
20 |
+
"6": "I-LOC",
|
21 |
+
"7": "B-MISC",
|
22 |
+
"8": "I-MISC"
|
23 |
+
},
|
24 |
+
"initializer_range": 0.02,
|
25 |
+
"intermediate_size": 4096,
|
26 |
+
"label2id": {
|
27 |
+
"B-LOC": 5,
|
28 |
+
"B-MISC": 7,
|
29 |
+
"B-ORG": 3,
|
30 |
+
"B-PER": 1,
|
31 |
+
"I-LOC": 6,
|
32 |
+
"I-MISC": 8,
|
33 |
+
"I-ORG": 4,
|
34 |
+
"I-PER": 2,
|
35 |
+
"O": 0
|
36 |
+
},
|
37 |
+
"layer_norm_eps": 1e-05,
|
38 |
+
"max_position_embeddings": 514,
|
39 |
+
"model_type": "roberta",
|
40 |
+
"num_attention_heads": 16,
|
41 |
+
"num_hidden_layers": 24,
|
42 |
+
"pad_token_id": 1,
|
43 |
+
"position_embedding_type": "absolute",
|
44 |
+
"torch_dtype": "float32",
|
45 |
+
"transformers_version": "4.41.1",
|
46 |
+
"type_vocab_size": 1,
|
47 |
+
"use_cache": true,
|
48 |
+
"vocab_size": 50265
|
49 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6ca14a3aae2e6de8fddbd7eb29dea3f2d2a02e69ebce1e3636cf5e06d1424005
|
3 |
+
size 1417325484
|