Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- config.json +43 -0
- fingerprint.pb +3 -0
- requirements.txt +9 -0
- saved_model.pb +3 -0
- variables/variables.data-00000-of-00001 +3 -0
- variables/variables.index +0 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* 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
|
|
|
|
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
|
36 |
+
variables/variables.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model_type": "keras",
|
3 |
+
"keras_version": "3.7.0",
|
4 |
+
"tensorflow_version": "2.19.0",
|
5 |
+
"max_sequence_length": 150,
|
6 |
+
"vocab_size": 10000,
|
7 |
+
"num_labels": 9,
|
8 |
+
"label2id": {
|
9 |
+
"Child Sexual Exploitation": 0,
|
10 |
+
"Elections": 1,
|
11 |
+
"Non-Violent Crimes": 2,
|
12 |
+
"Safe": 3,
|
13 |
+
"Sex-Related Crimes": 4,
|
14 |
+
"Suicide & Self-Harm": 5,
|
15 |
+
"Unknown S-Type": 6,
|
16 |
+
"Violent Crimes": 7,
|
17 |
+
"Unsafe": 8
|
18 |
+
},
|
19 |
+
"id2label": {
|
20 |
+
"0": "Child Sexual Exploitation",
|
21 |
+
"1": "Elections",
|
22 |
+
"2": "Non-Violent Crimes",
|
23 |
+
"3": "Safe",
|
24 |
+
"4": "Sex-Related Crimes",
|
25 |
+
"5": "Suicide & Self-Harm",
|
26 |
+
"6": "Unknown S-Type",
|
27 |
+
"7": "Violent Crimes",
|
28 |
+
"8": "Unsafe"
|
29 |
+
},
|
30 |
+
"tokenizer_file": "tokenizer.json",
|
31 |
+
"task": "text-classification",
|
32 |
+
"language": "multilingual",
|
33 |
+
"input_format": "concatenated_text_and_image_description",
|
34 |
+
"pipeline_tag": "text-classification",
|
35 |
+
"tags": [
|
36 |
+
"toxic-detection",
|
37 |
+
"text-classification",
|
38 |
+
"keras",
|
39 |
+
"tensorflow",
|
40 |
+
"multiclass",
|
41 |
+
"safety"
|
42 |
+
]
|
43 |
+
}
|
fingerprint.pb
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76b9e7fee3263ceb740832c0f9f2306c4129b80fa90f38029cea73af4a976468
|
3 |
+
size 80
|
requirements.txt
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
tensorflow==2.19.0
|
2 |
+
keras==3.7.0
|
3 |
+
numpy
|
4 |
+
pandas
|
5 |
+
scikit-learn
|
6 |
+
matplotlib
|
7 |
+
huggingface_hub
|
8 |
+
gradio
|
9 |
+
|
saved_model.pb
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1b5baa62ab78bb352b85c4406e2b493d97a3e2b80b1a83935f2a4db0a02e2f1b
|
3 |
+
size 155762
|
variables/variables.data-00000-of-00001
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5eb80fb71d17067f3f907a8c2782bd5674085db2254a87802630ccc60145a4c1
|
3 |
+
size 11104724
|
variables/variables.index
ADDED
Binary file (1.62 kB). View file
|
|