8-bit copy of the WD ViT Tagger v3, used on phones and tablets by the taggers of https://imgtagger.com Original model: SmilingWolf/wd-vit-tagger-v3 (https://huggingface.co/SmilingWolf/wd-vit-tagger-v3), commit 7f6b584d0bd3f55c4531f14ba3d4761b2bccdc0f, file model.onnx (378,536,310 bytes). License: Apache License 2.0 (see LICENSE-Apache-2.0.txt in this folder). Trained by SmilingWolf on Danbooru pictures up to post 7,220,105 (February 2024); its tag list is selected_tags.csv in the same repository (10,861 tags). Changes made by ImgTagger (the only ones): 1. The weights of the matrix multiplications (MatMul and Gemm) were quantized to 8-bit integers with onnxruntime's dynamic quantization (onnxruntime.quantization: quant_pre_process, then quantize_dynamic with weight_type QInt8, per tensor, op_types_to_quantize MatMul and Gemm). The other operations, including the convolution that cuts the picture into patches, stay in 32-bit floats. The model reads and writes the same tensors as the original (448 x 448 BGR input, one score per tag). 2. The result (98,826,857 bytes) was cut into parts of at most 20 MiB (model.onnx.part0 to part4) because the static host takes at most 25 MiB a file. Joined in order they are the quantized model.onnx. Checksums: manifest.json. Measured against the original on 169 Danbooru pictures posted after its training data: the same character answer for every picture at the 0.85 threshold, general-tag F1 0.668 against 0.672. How it was measured: DECISIONS.md in the site's source ("8-bit tagger on phones").