flat/batch_1 and flat/batch_2 are identical. Is this an upload error?
#1
by bcsp - opened
Summary
In the DIGIT force-estimation dataset on Hugging Face (facebook/digit-force-estimation), flat/batch_1 and flat/batch_2 contain identical files. The default T1 DIGIT config trains on flat/batch_2 and tests on flat/batch_1, so the test set is also in the training set.
Where the split is defined
config/data/digit_force.yaml:
list_datasets: [
"sphere/batch_1",
"sharp/batch_1",
"flat/batch_2",
]
list_datasets_test: [
"flat/batch_1",
]
config/task/t1_force_estimation.yaml also sets test.data.dataset_name: ["flat/batch_1"].
Evidence
I downloaded both folders and hashed them locally with shasum -a 256. Every file is identical, and the hashes match the LFS object IDs that Hugging Face reports:
| File | Size (bytes) | sha256 (flat/batch_1 = flat/batch_2) |
|---|---|---|
dataset_digit_00.pkl |
212383294 | 8911c87bc20aeb309615b3814aced49840410ff958cfb6291109da5e2f1e3443 |
dataset_digit_01.pkl |
212060366 | 218508d34015b8b9268173db0b61ead1d46efb6ac7489e9eb5c4b5fbfada13b3 |
dataset_digit_02.pkl |
213089656 | 5cf268ce9e0bbecc3e8a720a3ff38dfe0518167a7645bab40187116752d5c482 |
dataset_digit_03.pkl |
182732417 | 9a70f11f5401cd9dc494357a0c9f04507ad7456eb2d17934a3b1969dae419c19 |
dataset_slip_forces.pkl |
8057014 | 8469dd3f3b71638d4e2cf9aef8fcb9ff4756dc393118bb2531547f3f52db1799 |
flat/batch_3 and flat/batch_4 are also duplicates of each other: all five files have identical LFS hashes.
To reproduce without downloading anything:
for b in batch_1 batch_2; do
curl -s "https://huggingface.co/api/datasets/facebook/digit-force-estimation/tree/main/flat/$b" \
| python3 -c "import json,sys; [print(f['path'], f['lfs']['oid']) for f in json.load(sys.stdin)]"
done
Impact
- The T1 DIGIT flat test results come from data the probe also trained on, so they are likely optimistic.
- The paper (Appendix D.3) says sharp and sphere are used for training and flat for testing. The released config also trains on a flat batch, so it doesn't match that description.
Questions
- Were different flat batches meant to be uploaded to
flat/batch_1andflat/batch_2, or is this an upload error? - Were the TacBench T1 DIGIT numbers in the paper produced with this config, or with a split that keeps flat out of training?