2026-11-25
manage.py four_way_search head_religion,Mac,commit d50cf1f)prompt_tasks.py 的 HEAD_RELIGION:沒遮、宗教文化類(放行)、非宗教文化類(拿掉)samples/exclude.json 的 head_religion(頭紗 2 張)與 head_other(沒遮 16 張)samples/relabel.json 改算修女頭巾的 11 張算宗教文化類sentence_categories id 15、16,句子用 manage.py shell 的 get_or_create 登記(沒遮新增 4 句、另外兩類各 10 句)embed_texts 算新的 24 句;embed_samples_and_test_set 算 500 張新樣本,也算了 2 個投票不一致的 test set(head_disagree、lower_face_disagree 各 200 張,之前沒算過)experiment_runs id 56| 模型 | 每一折自己選 | 最高的一套(看完才挑,偏高) | 最高那套的句子(沒遮/宗教文化類/非宗教文化類) |
|---|---|---|---|
| siglip2-base-384 | 89.2% | 90.3% | a photo of a person with bare, unadorned hair/a photo of a person wearing traditional religious headwear such as a hijab or a turban/a photo of a person wearing a hat, a helmet, a headband or a wedding veil |
| siglip2-base | 90.0% | 90.0% | a photo of a person with bare, unadorned hair/a photo of a person wearing traditional religious headwear such as a hijab or a turban/a photo of a person wearing a hat or a hair accessory |
| mobileclip-b | 89.3% | 89.3% | a photo of a person with bare, unadorned hair/a photo of a person wearing a religious head covering/a photo of a person wearing a hat, a helmet, a headband or a wedding veil |
| mobileclip-s1 | 85.1% | 86.9% | a photo of a person/a photo of a person wearing a religious head covering/a photo of a person wearing a cap, hat, helmet, hood, headband or hair clip |
| 平均 | 88.4% | 89.1% |
| 類 | 種類 | 張數 | siglip2-base-384 | siglip2-base | mobileclip-b | mobileclip-s1 | 判錯的大多變成 |
|---|---|---|---|---|---|---|---|
| 沒遮 | 頭巾題目答沒戴 | 92 | 93% | 95% | 97% | 91% | 非宗教文化類 |
| 帽子題目答沒戴 | 100 | 90% | 93% | 93% | 87% | 非宗教文化類 | |
| 沒戴頭紗的女性 | 92 | 90% | 93% | 95% | 83% | 非宗教文化類 | |
| 宗教文化類 | hijab | 100 | 98% | 95% | 97% | 88% | 沒遮、非宗教文化類 |
| hijab(臉露出來) | 100 | 98% | 97% | 97% | 92% | 沒遮、非宗教文化類 | |
| hijab(戴 niqab) | 100 | 100% | 100% | 95% | 96% | 非宗教文化類 | |
| turban | 100 | 93% | 91% | 80% | 79% | 非宗教文化類 | |
| 阿拉伯男性頭巾 | 100 | 100% | 100% | 99% | 99% | 非宗教文化類 | |
| 猶太小帽 | 100 | 85% | 73% | 86% | 64% | 沒遮 | |
| 修女頭巾 | 100 | 92% | 84% | 93% | 91% | 非宗教文化類 | |
| 修女頭巾(頭紗改算) | 11 | 100% | 100% | 82% | 100% | 非宗教文化類 | |
| 非宗教文化類 | 帽子 | 100 | 99% | 99% | 88% | 95% | 沒遮、宗教文化類 |
| 安全帽 | 25 | 88% | 92% | 100% | 96% | 沒遮 | |
| 頭紗 | 87 | 77% | 82% | 98% | 66% | 宗教文化類、沒遮 | |
| 髮帶 | 25 | 76% | 80% | 56% | 92% | 沒遮 | |
| 髮飾 | 25 | 68% | 84% | 60% | 80% | 沒遮 | |
| 兜帽 | 25 | 36% | 36% | 20% | 56% | 沒遮、宗教文化類各約一半 |
| 模型 | 沒遮(284) | 宗教文化類(711) | 非宗教文化類(287) | 平衡正確率 |
|---|---|---|---|---|
| siglip2-base-384 | 91.2% | 95.2% | 81.2% | 89.2% |
| siglip2-base | 93.7% | 91.6% | 84.7% | 90.0% |
| mobileclip-b | 94.7% | 92.3% | 80.8% | 89.3% |
| mobileclip-s1 | 87.0% | 87.2% | 81.2% | 85.1% |
| 平均 | 91.7% | 91.6% | 82.0% | 88.4% |
experiment_runs id 57,2026-11-25c)的平均:沒遮 94.6%、宗教文化類 90.5%、非宗教文化類 76.0%