SmilingWolf commited on
Commit
7c4015e
1 Parent(s): 76f1f3e

Update model files

Browse files
Files changed (5) hide show
  1. README.md +15 -2
  2. model.msgpack +1 -1
  3. model.onnx +1 -1
  4. model.safetensors +1 -1
  5. sw_jax_cv_config.json +1 -1
README.md CHANGED
@@ -17,11 +17,16 @@ Images with less than 10 general tags were filtered out.
17
  Tags with less than 600 images were filtered out.
18
 
19
  ## Validation results
20
- `P=R: threshold = 0.2570, F1 = 0.4282`
 
21
 
22
  ## What's new
 
 
 
 
23
  Model v1.1/Dataset v3:
24
- Amended the JAX model config file: add image size.
25
  No change to the trained weights.
26
 
27
  Model v1.0/Dataset v3:
@@ -31,6 +36,14 @@ ONNX model is compatible with code developed for the v2 series of models.
31
  The batch dimension of the ONNX model is not fixed to 1 anymore. Now you can go crazy with batch inference.
32
  Switched to Macro-F1 to measure model performance since it gives me a better gauge of overall training progress.
33
 
 
 
 
 
 
 
 
 
34
  ## Final words
35
  Subject to change and updates.
36
  Downstream users are encouraged to use tagged releases rather than relying on the head of the repo.
 
17
  Tags with less than 600 images were filtered out.
18
 
19
  ## Validation results
20
+ `v2.0: P=R: threshold = 0.2682, F1 = 0.4419`
21
+ `v1.0: P=R: threshold = 0.2570, F1 = 0.4282`
22
 
23
  ## What's new
24
+ Model v2.0/Dataset v3:
25
+ Trained for a few more epochs.
26
+ Used tag frequency-based loss scaling to combat class imbalance.
27
+
28
  Model v1.1/Dataset v3:
29
+ Amended the JAX model config file: add image size.
30
  No change to the trained weights.
31
 
32
  Model v1.0/Dataset v3:
 
36
  The batch dimension of the ONNX model is not fixed to 1 anymore. Now you can go crazy with batch inference.
37
  Switched to Macro-F1 to measure model performance since it gives me a better gauge of overall training progress.
38
 
39
+ # Runtime deps
40
+ ONNX model requires `onnxruntime >= 1.17.0`
41
+
42
+ # Inference code examples
43
+ For timm: https://github.com/neggles/wdv3-timm
44
+ For ONNX: https://huggingface.co/spaces/SmilingWolf/wd-tagger
45
+ For JAX: https://github.com/SmilingWolf/wdv3-jax
46
+
47
  ## Final words
48
  Subject to change and updates.
49
  Downstream users are encouraged to use tagged releases rather than relying on the head of the repo.
model.msgpack CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c5e639920c05e5cc100dc0dd7e5002c9eb39367a227aa3dbd1f942068c76aeee
3
  size 394808412
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4294aaa66dad2bb01e4552487c7f1402e9a7409744c1fc1f90e70b5ac8f3b5cf
3
  size 394808412
model.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:02f30d4de9bada756981a11464d13aa206f5e2d4ff6da384511beb812d58b2ca
3
  size 394990732
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b8a7abf13d9b8368267df47501d523789c4aeae66b2296ad98483239dfa32eb
3
  size 394990732
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7f99a11a43a459eca201e7e4dbc0d02d980c9e0f5d8250ed4d07f69927e3b30a
3
  size 394830604
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77ad172eb1f7a697dc629bef7da7d50402e93ef0b1c86d7f69a865d31be64022
3
  size 394830604
sw_jax_cv_config.json CHANGED
@@ -10,4 +10,4 @@
10
  "use_conv_bias": true,
11
  "layer_norm_eps": 1e-06
12
  }
13
- }
 
10
  "use_conv_bias": true,
11
  "layer_norm_eps": 1e-06
12
  }
13
+ }