Datasets:
|
Download docs/SALESFORCE_MIGRATION.md from Salesforce/BehaviorBench: direct link, hf CLI and curl.
- Browser
- Download file 2.2 kB
-
https://huggingface.co/datasets/Salesforce/BehaviorBench/resolve/main/docs/SALESFORCE_MIGRATION.md
- Command line
-
hf download hf://datasets/Salesforce/BehaviorBench/docs/SALESFORCE_MIGRATION.md
-
curl -L -o SALESFORCE_MIGRATION.md https://huggingface.co/datasets/Salesforce/BehaviorBench/resolve/main/docs/SALESFORCE_MIGRATION.md
2.2 kB
| # Migration to Salesforce/BehaviorBench | |
| The canonical release destination is: | |
| ```text | |
| https://huggingface.co/datasets/Salesforce/BehaviorBench | |
| ``` | |
| Use the provided export script rather than copying the repository manually. It exports only the Polymarket BehaviorBench artifact and excludes `manifold/`, Git internals, caches, and unrelated local files. | |
| ## 1. Download the temporary repository with LFS objects | |
| ```bash | |
| git lfs install | |
| git clone https://huggingface.co/datasets/lyang84/BehaviorBench-camera-ready | |
| cd BehaviorBench-camera-ready | |
| git lfs pull | |
| git lfs fsck | |
| ``` | |
| Do not use a source-code ZIP: large Parquet files are stored with Git LFS. | |
| ## 2. Build the clean Salesforce release directory | |
| From the downloaded repository: | |
| ```bash | |
| python scripts/prepare_salesforce_release.py --output ../BehaviorBench-release | |
| cd ../BehaviorBench-release | |
| python scripts/validate_artifact.py | |
| ``` | |
| The exporter uses `croissant.json` as the authoritative data-file manifest and also copies release documentation, compressed JSONL benchmark files, metadata, wallet lists, evaluation files, and scripts. | |
| ## 3. Upload without changing paths | |
| Create the destination dataset repo, then: | |
| ```bash | |
| cd BehaviorBench-release | |
| git init | |
| git lfs install | |
| git lfs track "*.parquet" "*.jsonl.gz" | |
| git add . | |
| git commit -m "Release BehaviorBench artifact" | |
| git branch -M main | |
| git remote add origin https://huggingface.co/datasets/Salesforce/BehaviorBench | |
| git push -u origin main | |
| ``` | |
| Do not rename `dataset/`, `benchmark/`, or files listed in `croissant.json`. | |
| ## 4. Validate the final hosted artifact | |
| After the upload completes: | |
| ```bash | |
| python scripts/check_hosted_artifact.py | |
| ``` | |
| This checks the final Salesforce dataset URL and every Croissant `contentUrl`. Then run the NeurIPS online Croissant validator and upload the validated `croissant.json` to OpenReview. | |
| ## Failure prevention | |
| - Ensure Git LFS is installed before download and upload. | |
| - Confirm Parquet files are real binaries, not small LFS pointer files. | |
| - Preserve case-sensitive paths and the `main` branch. | |
| - Do not include `manifold/` in the Salesforce repo. | |
| - Do not edit `croissant.json` URLs unless the final organization/repository name changes. | |