Spaces:
Sleeping
Sleeping
Upload 4 files
Browse files- model/config(2).json +46 -0
- model/model(2).safetensors +3 -0
- model/preprocessor_config.json +24 -0
- model/training_args.bin +3 -0
model/config(2).json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"SiglipForImageClassification"
|
4 |
+
],
|
5 |
+
"id2label": {
|
6 |
+
"0": "not_hateful",
|
7 |
+
"1": "hateful"
|
8 |
+
},
|
9 |
+
"initializer_factor": 1.0,
|
10 |
+
"label2id": {
|
11 |
+
"hateful": 1,
|
12 |
+
"not_hateful": 0
|
13 |
+
},
|
14 |
+
"model_type": "siglip",
|
15 |
+
"problem_type": "single_label_classification",
|
16 |
+
"text_config": {
|
17 |
+
"attention_dropout": 0.0,
|
18 |
+
"hidden_act": "gelu_pytorch_tanh",
|
19 |
+
"hidden_size": 768,
|
20 |
+
"intermediate_size": 3072,
|
21 |
+
"layer_norm_eps": 1e-06,
|
22 |
+
"max_position_embeddings": 64,
|
23 |
+
"model_type": "siglip_text_model",
|
24 |
+
"num_attention_heads": 12,
|
25 |
+
"num_hidden_layers": 12,
|
26 |
+
"projection_size": 768,
|
27 |
+
"torch_dtype": "float32",
|
28 |
+
"vocab_size": 32000
|
29 |
+
},
|
30 |
+
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.52.2",
|
32 |
+
"vision_config": {
|
33 |
+
"attention_dropout": 0.0,
|
34 |
+
"hidden_act": "gelu_pytorch_tanh",
|
35 |
+
"hidden_size": 768,
|
36 |
+
"image_size": 224,
|
37 |
+
"intermediate_size": 3072,
|
38 |
+
"layer_norm_eps": 1e-06,
|
39 |
+
"model_type": "siglip_vision_model",
|
40 |
+
"num_attention_heads": 12,
|
41 |
+
"num_channels": 3,
|
42 |
+
"num_hidden_layers": 12,
|
43 |
+
"patch_size": 16,
|
44 |
+
"torch_dtype": "float32"
|
45 |
+
}
|
46 |
+
}
|
model/model(2).safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f2abd4215ba0af612abc602d104fa936b9ac64d337bd0e9a1faa5530f9bd2fd5
|
3 |
+
size 371567992
|
model/preprocessor_config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_convert_rgb": null,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"image_mean": [
|
7 |
+
0.5,
|
8 |
+
0.5,
|
9 |
+
0.5
|
10 |
+
],
|
11 |
+
"image_processor_type": "SiglipImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.5,
|
14 |
+
0.5,
|
15 |
+
0.5
|
16 |
+
],
|
17 |
+
"processor_class": "SiglipProcessor",
|
18 |
+
"resample": 3,
|
19 |
+
"rescale_factor": 0.00392156862745098,
|
20 |
+
"size": {
|
21 |
+
"height": 224,
|
22 |
+
"width": 224
|
23 |
+
}
|
24 |
+
}
|
model/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5def96b6f9b2ed275b59b42f79d9799d097ed59839e39af6a5fba15c4800d47a
|
3 |
+
size 5240
|