gyr66
commited on
Commit
Β·
ab17667
0
Parent(s):
Initial commit
Browse files- .gitattributes +35 -0
- .gitignore +1 -0
- config.json +96 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +14 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
.gitattributes
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
config.json
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "gyr66/RoBERTa-finetuned-privacy-detection",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"directionality": "bidi",
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 1024,
|
14 |
+
"id2label": {
|
15 |
+
"0": "O",
|
16 |
+
"1": "B-position",
|
17 |
+
"10": "I-company",
|
18 |
+
"11": "B-book",
|
19 |
+
"12": "I-book",
|
20 |
+
"13": "B-address",
|
21 |
+
"14": "I-address",
|
22 |
+
"15": "B-scene",
|
23 |
+
"16": "I-scene",
|
24 |
+
"17": "B-mobile",
|
25 |
+
"18": "I-mobile",
|
26 |
+
"19": "B-email",
|
27 |
+
"2": "I-position",
|
28 |
+
"20": "I-email",
|
29 |
+
"21": "B-game",
|
30 |
+
"22": "I-game",
|
31 |
+
"23": "B-government",
|
32 |
+
"24": "I-government",
|
33 |
+
"25": "B-QQ",
|
34 |
+
"26": "I-QQ",
|
35 |
+
"27": "B-vx",
|
36 |
+
"28": "I-vx",
|
37 |
+
"3": "B-name",
|
38 |
+
"4": "I-name",
|
39 |
+
"5": "B-movie",
|
40 |
+
"6": "I-movie",
|
41 |
+
"7": "B-organization",
|
42 |
+
"8": "I-organization",
|
43 |
+
"9": "B-company"
|
44 |
+
},
|
45 |
+
"initializer_range": 0.02,
|
46 |
+
"intermediate_size": 4096,
|
47 |
+
"label2id": {
|
48 |
+
"B-QQ": "25",
|
49 |
+
"B-address": "13",
|
50 |
+
"B-book": "11",
|
51 |
+
"B-company": "9",
|
52 |
+
"B-email": "19",
|
53 |
+
"B-game": "21",
|
54 |
+
"B-government": "23",
|
55 |
+
"B-mobile": "17",
|
56 |
+
"B-movie": "5",
|
57 |
+
"B-name": "3",
|
58 |
+
"B-organization": "7",
|
59 |
+
"B-position": "1",
|
60 |
+
"B-scene": "15",
|
61 |
+
"B-vx": "27",
|
62 |
+
"I-QQ": "26",
|
63 |
+
"I-address": "14",
|
64 |
+
"I-book": "12",
|
65 |
+
"I-company": "10",
|
66 |
+
"I-email": "20",
|
67 |
+
"I-game": "22",
|
68 |
+
"I-government": "24",
|
69 |
+
"I-mobile": "18",
|
70 |
+
"I-movie": "6",
|
71 |
+
"I-name": "4",
|
72 |
+
"I-organization": "8",
|
73 |
+
"I-position": "2",
|
74 |
+
"I-scene": "16",
|
75 |
+
"I-vx": "28",
|
76 |
+
"O": "0"
|
77 |
+
},
|
78 |
+
"layer_norm_eps": 1e-12,
|
79 |
+
"max_position_embeddings": 512,
|
80 |
+
"model_type": "bert",
|
81 |
+
"num_attention_heads": 16,
|
82 |
+
"num_hidden_layers": 24,
|
83 |
+
"output_past": true,
|
84 |
+
"pad_token_id": 0,
|
85 |
+
"pooler_fc_size": 768,
|
86 |
+
"pooler_num_attention_heads": 12,
|
87 |
+
"pooler_num_fc_layers": 3,
|
88 |
+
"pooler_size_per_head": 128,
|
89 |
+
"pooler_type": "first_token_transform",
|
90 |
+
"position_embedding_type": "absolute",
|
91 |
+
"torch_dtype": "float32",
|
92 |
+
"transformers_version": "4.27.3",
|
93 |
+
"type_vocab_size": 2,
|
94 |
+
"use_cache": true,
|
95 |
+
"vocab_size": 21128
|
96 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:58e2844d5f4e4ed3fa30fcaff82b7a49118ddbe41933b03ba992823f59a8b8c4
|
3 |
+
size 1298148397
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"do_lower_case": true,
|
4 |
+
"ignore_mismatched_sizes": true,
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"model_max_length": 1000000000000000019884624838656,
|
7 |
+
"pad_token": "[PAD]",
|
8 |
+
"sep_token": "[SEP]",
|
9 |
+
"special_tokens_map_file": "/home/yirguo/.cache/huggingface/hub/models--hfl--chinese-roberta-wwm-ext/snapshots/5c58d0b8ec1d9014354d691c538661bf00bfdb44/special_tokens_map.json",
|
10 |
+
"strip_accents": null,
|
11 |
+
"tokenize_chinese_chars": true,
|
12 |
+
"tokenizer_class": "BertTokenizer",
|
13 |
+
"unk_token": "[UNK]"
|
14 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0190d9426dfad7a92cf4aea30897b9fbfcd1f9e5879f6008898b474bbe85f9ac
|
3 |
+
size 3579
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|