socsys commited on
Commit
202be10
·
verified ·
1 Parent(s): e542b9a

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,3 +1,4 @@
1
- ---
2
- license: mit
3
- ---
 
 
1
+ # gbv-model-final
2
+
3
+ Stage the remote GBV-classifier assets here before uploading to Hugging Face.
4
+ Expected runtime repo id: `dhdc/gbv-model-final`.
SHA256SUMS ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ 6464bcf2c6288c8a3e372055d8f1400cf840b8d04906105bc07ba968da827c8e ./config.json
2
+ 357e5c1ef3d412782ee04f9bc8fe6694fc5b54de460b8a815744f16fc14dad67 ./deployment_metadata.json
3
+ ab4fb989611420d568ab6f5d88d3953f407ad4f6e235afbb9649b3714f8b8145 ./extension_compat.json
4
+ 1ce1664773c50f3e0cc8842619a93edc4624525b728b188a9e0be33b7726adc5 ./merges.txt
5
+ e4c7c6bfa1c98f65281c432563c68da83943e73b0c5cfb8bcdaf8c7a20101271 ./onnx/model_quantized.onnx
6
+ d73ac9381063c6613a7892877f6a28ef9a565ac73fc1547a7d54f099e25d0e26 ./README.md
7
+ 8c785abebea9ae3257b61681b4e6fd8365ceafde980c21970d001e834cf10835 ./special_tokens_map.json
8
+ 12db6332c864c02f3f77e2ccc1c7d9833e3bee9f412787aa307bc20df77f80ae ./tokenizer_config.json
9
+ e6db90488bf6f7a908a547b6bef378639f81e1b0476504d599b3f74b1c7bcaa2 ./tokenizer.json
10
+ ed19656ea1707df69134c4af35c8ceda2cc9860bf2c3495026153a133670ab5e ./vocab.json
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "RobertaForSequenceClassification"
4
+ ],
5
+ "dtype": "float32",
6
+ "hidden_size": 1024,
7
+ "id2label": {
8
+ "0": "-",
9
+ "1": "IDEOLOGICAL-INEQUALITY",
10
+ "2": "STEREOTYPING-DOMINANCE",
11
+ "3": "OBJECTIFICATION",
12
+ "4": "SEXUAL-VIOLENCE",
13
+ "5": "MISOGYNY-NON-SEXUAL-VIOLENCE"
14
+ },
15
+ "label2id": {
16
+ "-": 0,
17
+ "IDEOLOGICAL-INEQUALITY": 1,
18
+ "MISOGYNY-NON-SEXUAL-VIOLENCE": 5,
19
+ "OBJECTIFICATION": 3,
20
+ "SEXUAL-VIOLENCE": 4,
21
+ "STEREOTYPING-DOMINANCE": 2
22
+ },
23
+ "max_position_embeddings": 514,
24
+ "model_name": "gbv-detector",
25
+ "model_type": "roberta",
26
+ "num_labels": 6,
27
+ "problem_type": "multi_label_classification"
28
+ }
deployment_metadata.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "modelId": "dhdc/gbv-model-final",
3
+ "sourceModel": "dhdc/gbv-model-final",
4
+ "runtime": "transformers.js-onnxruntime-web-wasm-cpu",
5
+ "task": "text-classification",
6
+ "quantized": true,
7
+ "threshold": 0.5,
8
+ "maxLength": 60,
9
+ "artifacts": {
10
+ "config": "config.json",
11
+ "tokenizer": "tokenizer.json",
12
+ "tokenizerConfig": "tokenizer_config.json",
13
+ "specialTokens": "special_tokens_map.json",
14
+ "merges": "merges.txt",
15
+ "vocab": "vocab.json",
16
+ "onnx": "onnx/model_quantized.onnx"
17
+ },
18
+ "releaseState": "staged-for-upload"
19
+ }
extension_compat.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "modelId": "dhdc/gbv-model-final",
3
+ "format": "transformers.js",
4
+ "runtime": {
5
+ "transformers": "2.17.2",
6
+ "onnxruntimeWeb": "1.14.x"
7
+ },
8
+ "extension": {
9
+ "minimumVersion": "5.0.0",
10
+ "supportedModes": ["gbv"]
11
+ },
12
+ "files": [
13
+ "config.json",
14
+ "deployment_metadata.json",
15
+ "extension_compat.json",
16
+ "merges.txt",
17
+ "onnx/model_quantized.onnx",
18
+ "special_tokens_map.json",
19
+ "tokenizer.json",
20
+ "tokenizer_config.json",
21
+ "vocab.json"
22
+ ]
23
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4c7c6bfa1c98f65281c432563c68da83943e73b0c5cfb8bcdaf8c7a20101271
3
+ size 358362489
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "50264": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "bos_token": "<s>",
46
+ "clean_up_tokenization_spaces": false,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "errors": "replace",
50
+ "extra_special_tokens": {},
51
+ "mask_token": "<mask>",
52
+ "max_length": 60,
53
+ "model_max_length": 1000000000000000019884624838656,
54
+ "pad_to_multiple_of": null,
55
+ "pad_token": "<pad>",
56
+ "pad_token_type_id": 0,
57
+ "padding_side": "right",
58
+ "sep_token": "</s>",
59
+ "stride": 0,
60
+ "tokenizer_class": "RobertaTokenizer",
61
+ "trim_offsets": true,
62
+ "truncation_side": "right",
63
+ "truncation_strategy": "longest_first",
64
+ "unk_token": "<unk>"
65
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff