ssale2 commited on
Commit
6b52946
·
verified ·
1 Parent(s): da5eb55

trained_nsfw_detectionv1

Browse files
Files changed (4) hide show
  1. README.md +6 -15
  2. config.json +7 -3
  3. model.safetensors +2 -2
  4. training_args.bin +1 -1
README.md CHANGED
@@ -14,9 +14,7 @@ should probably proofread and complete it, then remove this comment. -->
14
 
15
  # results
16
 
17
- This model is a fine-tuned version of [aretolabs/nsfw_detection](https://huggingface.co/aretolabs/nsfw_detection) on an unknown dataset.
18
- It achieves the following results on the evaluation set:
19
- - Loss: 0.0662
20
 
21
  ## Model description
22
 
@@ -35,28 +33,21 @@ More information needed
35
  ### Training hyperparameters
36
 
37
  The following hyperparameters were used during training:
38
- - learning_rate: 3e-05
39
  - train_batch_size: 16
40
- - eval_batch_size: 16
41
  - seed: 42
42
  - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
43
  - lr_scheduler_type: linear
44
- - num_epochs: 5
45
- - mixed_precision_training: Native AMP
46
 
47
  ### Training results
48
 
49
- | Training Loss | Epoch | Step | Validation Loss |
50
- |:-------------:|:-----:|:----:|:---------------:|
51
- | No log | 1.0 | 8 | 0.1408 |
52
- | No log | 2.0 | 16 | 0.0801 |
53
- | No log | 3.0 | 24 | 0.0726 |
54
- | No log | 4.0 | 32 | 0.0757 |
55
- | No log | 5.0 | 40 | 0.0662 |
56
 
57
 
58
  ### Framework versions
59
 
60
  - Transformers 4.47.1
61
- - Pytorch 2.5.1+cu121
 
62
  - Tokenizers 0.21.0
 
14
 
15
  # results
16
 
17
+ This model is a fine-tuned version of [aretolabs/nsfw_detection](https://huggingface.co/aretolabs/nsfw_detection) on the None dataset.
 
 
18
 
19
  ## Model description
20
 
 
33
  ### Training hyperparameters
34
 
35
  The following hyperparameters were used during training:
36
+ - learning_rate: 2e-05
37
  - train_batch_size: 16
38
+ - eval_batch_size: 8
39
  - seed: 42
40
  - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
41
  - lr_scheduler_type: linear
42
+ - num_epochs: 3
 
43
 
44
  ### Training results
45
 
 
 
 
 
 
 
 
46
 
47
 
48
  ### Framework versions
49
 
50
  - Transformers 4.47.1
51
+ - Pytorch 2.5.1+cu124
52
+ - Datasets 3.2.0
53
  - Tokenizers 0.21.0
config.json CHANGED
@@ -9,13 +9,17 @@
9
  "hidden_dropout_prob": 0.0,
10
  "hidden_size": 768,
11
  "id2label": {
12
- "0": "LABEL_0"
 
 
13
  },
14
  "image_size": 384,
15
  "initializer_range": 0.02,
16
  "intermediate_size": 3072,
17
  "label2id": {
18
- "LABEL_0": 0
 
 
19
  },
20
  "layer_norm_eps": 1e-12,
21
  "model_type": "vit",
@@ -23,7 +27,7 @@
23
  "num_channels": 3,
24
  "num_hidden_layers": 12,
25
  "patch_size": 16,
26
- "problem_type": "regression",
27
  "qkv_bias": true,
28
  "torch_dtype": "float32",
29
  "transformers_version": "4.47.1"
 
9
  "hidden_dropout_prob": 0.0,
10
  "hidden_size": 768,
11
  "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2"
15
  },
16
  "image_size": 384,
17
  "initializer_range": 0.02,
18
  "intermediate_size": 3072,
19
  "label2id": {
20
+ "LABEL_0": 0,
21
+ "LABEL_1": 1,
22
+ "LABEL_2": 2
23
  },
24
  "layer_norm_eps": 1e-12,
25
  "model_type": "vit",
 
27
  "num_channels": 3,
28
  "num_hidden_layers": 12,
29
  "patch_size": 16,
30
+ "problem_type": "single_label_classification",
31
  "qkv_bias": true,
32
  "torch_dtype": "float32",
33
  "transformers_version": "4.47.1"
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d19da0acc6cd86b01c7a2d00fb935ff8d59336dfebb52763f2c9529b32c51260
3
- size 344388252
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:960b617da74dd7f093c8b503717d345844ba7de92fcbab94928b95da2065c9ed
3
+ size 344394412
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b4a2e327d743ed2daedf3691fd37a29845c15200f3fd98837a79df90e3393144
3
  size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6aa26332a4fe8ce0512ab8591acc75521007f9577a7da8b3ded984e29e5a7c24
3
  size 5304