Label mappings are inverted in the HF pipeline

#2
by JahMyst - opened

Hi,
https://github.com/PRITHIVSAKTHIUR/deepfake-detector-model-v1/blob/main/labels.txt
https://huggingface.co/prithivMLmods/Deep-Fake-Detector-v2-Model/blob/main/config.json

It seems the mapping is inverted in the HF config; which makes results inverse of what they are supposed to be when using the HF pipeline.

@JahMyst
I think that was indexing from the previous checkpoints, which I haven't changed. Anyway, thanks for the pinpoint. I'll update that.

prithivMLmods changed discussion status to closed

Sign up or log in to comment