Skip to content

Official Codebase of 3DCodeVerse

Python

Point Hugging Face links to the 3dcodeverse org (3dcodeverse/3dcodeverse-2m) and YipengGao/3DCodeBench

gaoypeng2aab24df3cba
diff --git a/README.md b/README.md
index 803dbc27..9d341f3c 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@
<a href="https://arxiv.org/pdf/2610.22341"><img src="https://img.shields.io/badge/arXiv-2610.22341-B31B1B?logo=arxiv&logoColor=white" alt="arXiv"></a>
<a href="https://3dcodeverse.com"><img src="assets/badges/project_page.svg" alt="Project Page"></a>
-<a href="https://huggingface.co/datasets/ilabai/3dcodeverse"><img src="assets/badges/hugging_face.svg" alt="Hugging Face"></a>
+<a href="https://huggingface.co/datasets/3dcodeverse/3dcodeverse-2m"><img src="assets/badges/hugging_face.svg" alt="Hugging Face"></a>
<a href="LICENSE"><img src="https://img.shields.io/badge/Code%20License-Apache%202.0-4C9A2A" alt="Code License: Apache 2.0"></a>
</div>
diff --git a/eval/llm/README.md b/eval/llm/README.md
index 0c8cb9f5..42f481d9 100644
--- a/eval/llm/README.md
+++ b/eval/llm/README.md
@@ -9,7 +9,7 @@ path resolved from the environment (`config.py`) instead of `/wekafs/...`.
```
llm/
config.py paths + tool discovery (C3D_EVAL_DATA, C3D_TOOLS, C3D_BLENDER, …); `python -m llm.config` = doctor
- download.py pull the assets from the Hub (needs a token with access to ilabai/*)
+ download.py pull the assets from the Hub (needs a token with access to 3dcodeverse/*)
build_prompts.py Hub assets → data/prompts/<suite>.jsonl (one schema for every suite)
build_refs.py execute the reference programs → $C3D_EVAL_DATA/refs/<suite>/<id>/ref.{glb,stl}
suites.py suite registry: dialect, decoding defaults, which metrics apply, tags
@@ -58,7 +58,7 @@ bash llm/setup.sh
export C3D_EVAL_DATA=~/3dcodeverse_data/3dcodeverse_eval C3D_TOOLS=~/3dcodeverse_data/tools # defaults
python -m llm.config # doctor: every tool and asset it can / cannot find
-# 1. assets (token with access to ilabai/*: `hf auth login`)
+# 1. assets (token with access to 3dcodeverse/*: `hf auth login`)
python -m llm.download --core --views --logs # ~1 GB; --gt-tar adds the canonical GLBs (2.1 GB)
python -m llm.build_prompts
SEED=0 python -m llm.build_refs # executes every reference program (~20 min)
@@ -98,7 +98,7 @@ exec_results.jsonl, metrics.jsonl, summary.json}` and `$C3D_EVAL_OUT/report.md`.
"messages": [{"role": "system", "content": "…"}, {"role": "user", "content": "…"}],
"images": ["hub/3DCode/3DCodeBench_ModelLogs/inputs/AgaveMonocot_seed0/images/Image_005.png", …], // VLM suites
"reference": {"code": "…", "mesh": "refs/3dcodebench/AgaveMonocot_seed0/ref.glb", "renders": ["…Image_005.png", …]},
- "meta": {"factory": "AgaveMonocot", "caption_type": "instruction", "source": "YipengGao/3DCode/3DCodeBench"}}
+ "meta": {"factory": "AgaveMonocot", "caption_type": "instruction", "source": "YipengGao/3DCodeBench/3DCodeBench"}}
```
Paths are relative to `$C3D_EVAL_DATA`. Adding a suite = adding a JSONL in this schema (+ one line in
`suites.SUITES` for decoding defaults / metrics).
diff --git a/eval/llm/build_prompts.py b/eval/llm/build_prompts.py
index addd3f86..21659e24 100644
--- a/eval/llm/build_prompts.py
+++ b/eval/llm/build_prompts.py
@@ -18,7 +18,7 @@ Suites built here (sizes are what the assets give):
3dcodebench_img1/img4 212 Blender 1 / 4 GT reference views (image→code, VLM)
3dcodebench_img4text 212 Blender 4 views + description
heldout_blender 103, heldout_cadquery 200, heldout_openscad 50, heldout_glsl 200, heldout_threejs 40
- (ilabai/3dcodeverse-llamafactory/test/*.parquet, never trained on)
+ (3dcodeverse/3dcodeverse-llamafactory/test/*.parquet, never trained on)
harness_<battery> rubric-judged batteries copied from harness/bench/prompts (no GT; scored by
execution + optional VLM judge), one suite per YAML
@@ -106,7 +106,7 @@ def build_3dcodebench() -> None:
ref_mesh = config.REFS_DIR / "3dcodebench" / task / "ref.glb"
imgs = bench_images(task)
ref = {"code": code, "mesh": rel(ref_mesh) if ref_mesh.exists() else None, "renders": [rel(p) for p in imgs]}
- meta = {"factory": task.replace("_seed0", ""), "source": "YipengGao/3DCode/3DCodeBench"}
+ meta = {"factory": task.replace("_seed0", ""), "source": "YipengGao/3DCodeBench/3DCodeBench"}
ref_nocode = {**ref, "code": None} # the code is stored once, in 3dcodebench_text (see meta.code_from)
text.append({"id": task, "suite": "3dcodebench_text", "dialect": "blender",
"messages": [{"role": "system", "content": SYSTEM_BENCH}, {"role": "user", "content": instr}],
@@ -179,7 +179,7 @@ def build_heldout() -> None:
rows.append({"id": tid, "suite": f"heldout_{dialect}", "dialect": dialect,
"messages": [{"role": "system", "content": r["system"]}, {"role": "user", "content": r["prompt"]}],
"reference": {"code": code, "mesh": rel(ref_mesh) if ref_mesh and ref_mesh.exists() else None, "renders": []},
- "meta": {"source_id": r["id"], "source": "ilabai/3dcodeverse-llamafactory/test"}})
+ "meta": {"source_id": r["id"], "source": "3dcodeverse/3dcodeverse-llamafactory/test"}})
write_jsonl(rows, f"heldout_{dialect}")
diff --git a/eval/llm/build_refs.py b/eval/llm/build_refs.py
index 67701909..f83b0b8d 100644
--- a/eval/llm/build_refs.py
+++ b/eval/llm/build_refs.py
@@ -5,7 +5,7 @@ build_prompts so the prompt rows point at the meshes. Executing the reference t
as the model outputs is also the executor's self-test: the report's sanity figure for 3DCodeBench is
Chamfer ≈ 0.016 / [email protected] ≈ 1.0 between a re-executed reference and the shipped GT.
-For 3DCodeBench the canonical GT is `renders/object.glb` inside `ilabai/3dcodeverse/3dcodebench/factories_geo/
+For 3DCodeBench the canonical GT is `renders/object.glb` inside `3dcodeverse/3dcodeverse-2m/3dcodebench/factories_geo/
samples-000.tar`; when that tar is present (`download.py --gt-tar`) the canonical mesh is stored as
`ref_canonical.glb` and `ref.glb` is the re-executed one — `score.py --ref canonical` switches between them.
"""
diff --git a/eval/llm/config.py b/eval/llm/config.py
index 072e584d..ccff8896 100644
--- a/eval/llm/config.py
+++ b/eval/llm/config.py
@@ -32,15 +32,15 @@ HARNESS_BATTERIES = ("articulated_v2", "compare_v4", "complexity_v3", "fancy_v1_
"fancy_v1_threejs", "graphics_v2", "static_objects_v1", "static_objects_v2", "teaser_v1_static")
DATA_DIR = Path(os.environ.get("C3D_EVAL_DATA", "~/3dcodeverse_data/3dcodeverse_eval")).expanduser()
-HUB_DIR = DATA_DIR / "hub" # snapshot_download targets (ilabai/*, YipengGao/3DCode)
+HUB_DIR = DATA_DIR / "hub" # snapshot_download targets (3dcodeverse/*, YipengGao/3DCodeBench)
REFS_DIR = DATA_DIR / "refs" # reference meshes / renders per suite
OUT_DIR = Path(os.environ.get("C3D_EVAL_OUT", DATA_DIR / "out")).expanduser()
TOOLS_DIR = Path(os.environ.get("C3D_TOOLS", "~/3dcodeverse_data/tools")).expanduser()
XLIBS = Path(os.environ.get("C3D_XLIBS", "~/.local/xlibs/usr/lib/x86_64-linux-gnu")).expanduser()
BENCH_TASKS_DIR = HUB_DIR / "3DCode" / "3DCodeBench" # 212 <task>/{<task>.py, prompt_*.txt}
-C3D_HUB = HUB_DIR / "3dcodeverse" # ilabai/3dcodeverse partial snapshot
-LF_HUB = HUB_DIR / "3dcodeverse-llamafactory" # ilabai/3dcodeverse-llamafactory (test/*.parquet)
+C3D_HUB = HUB_DIR / "3dcodeverse" # 3dcodeverse/3dcodeverse-2m partial snapshot
+LF_HUB = HUB_DIR / "3dcodeverse-llamafactory" # 3dcodeverse/3dcodeverse-llamafactory (test/*.parquet)
def _first_existing(*cands: str | Path | None) -> Path | None:
diff --git a/eval/llm/docs/inventory_finetune_eval.md b/eval/llm/docs/inventory_finetune_eval.md
index 00b9054c..f4ca447a 100644
--- a/eval/llm/docs/inventory_finetune_eval.md
+++ b/eval/llm/docs/inventory_finetune_eval.md
@@ -11,7 +11,7 @@ Read-only audit of `finetune/` (2026-09-08). This is the reference for what
- Task id for held-out sets: `r["id"].replace("/", "__")`, messages truncated to `[:2]` (system + user; the assistant reference is dropped) — `eval/eval_all.sh:47-50`, `eval/run_dialect_eval.sh:11-13`, `scripts/threejs_check.sh:19-21`.
- Every held-out set row in `data/multidialect/<dialect>/test.jsonl` is `{"messages":[system,user,assistant("```<fence>\n<code>\n```")], "dialect", "subset", "id"}` (`scripts/build_multidialect.py:66-70`).
- Reference code is recovered from the assistant turn with the **legacy** longest-fenced-block rule (`eval/dialect_eval.py:13-14`, `eval/blender_dialect_eval.py:9-10`).
-- `scripts/build_hf_dataset.py:119-129` exports every `test.jsonl` to `test/<dialect>.parquet` with columns `id, system, prompt, reference_code` — 593 rows total (103+200+50+200+40). This is the cleanest portable source of the five held-out sets (now on the Hub: `ilabai/3dcodeverse-llamafactory/test/*.parquet`).
+- `scripts/build_hf_dataset.py:119-129` exports every `test.jsonl` to `test/<dialect>.parquet` with columns `id, system, prompt, reference_code` — 593 rows total (103+200+50+200+40). This is the cleanest portable source of the five held-out sets (now on the Hub: `3dcodeverse/3dcodeverse-llamafactory/test/*.parquet`).
### 1.2 3DCodeBench (212 tasks, text → Blender-Python)
diff --git a/eval/llm/docs/protocol.md b/eval/llm/docs/protocol.md
index e1c61bf4..de59b128 100644
--- a/eval/llm/docs/protocol.md
+++ b/eval/llm/docs/protocol.md
@@ -60,7 +60,7 @@ the largest single confound in the paper.
that fail often (survivor bias, survey §2a). The `*_all` / penalized numbers are the headline.
- Contamination: the 212 test factories and all their seed instances are excluded from every 3DCodeVerse
training mix (`build_multidialect.py`, `build_md_max.py` rules); the held-out parquets were built with
- `random.seed(7)` splits before training. A model trained on the open `ilabai/3dcodeverse` corpus **has
+ `random.seed(7)` splits before training. A model trained on the open `3dcodeverse/3dcodeverse-2m` corpus **has
seen** DeepCAD / Shadertoy / Thingiverse neighbours of the held-out prompts (same sources, different items) —
say so when reporting.
diff --git a/eval/llm/docs/survey_records.md b/eval/llm/docs/survey_records.md
index 2419567f..5919657f 100644
--- a/eval/llm/docs/survey_records.md
+++ b/eval/llm/docs/survey_records.md
@@ -6,7 +6,7 @@
# 2026-era / cross-cutting entries (collected by lead agent)
## 3DCodeBench (Gao et al., arXiv 2606.01057, May 31 2026)
-- Paper https://arxiv.org/abs/2606.01057 ; HTML https://arxiv.org/html/2606.01057 ; site https://www.3dcodebench.com/ ; code https://github.com/gaoypeng/3dcodebench ; data HF `YipengGao/3DCode`
+- Paper https://arxiv.org/abs/2606.01057 ; HTML https://arxiv.org/html/2606.01057 ; site https://www.3dcodebench.com/ ; code https://github.com/gaoypeng/3dcodebench ; data HF `YipengGao/3DCodeBench`
- Task: text (object description / procedural instruction / factory-level spec) or 4 canonical multi-view reference images (45/135/225/315 deg azimuth) -> standalone Blender 5.0 Python script
- Data: 212 Infinigen-derived object categories; 26K prompt/code/mesh triplets; 12,963 fine-tune instances (site says 12,720 factory instances); 212-instance eval set; median script 387 lines, mean 531. GT = Infinigen factories migrated by a VLM agent into standalone bpy + baked GLB. Dedup via "Class Deduplication" in Experience Library. No explicit difficulty tiers.
- Env: Blender 5.0, 240 s wall-clock timeout, fresh subprocess per run, Cycles renders from 4 canonical views.
@@ -537,7 +537,7 @@ Compiled 2026-09-08 from primary sources (arXiv HTML/abs, GitHub, HF). Every num
- **Role**: fully procedural Blender generator (plants, animals, terrain, indoor objects) whose factory scripts are the ground truth for 3DCodeBench, MeshCoder (Infinigen Indoors), Code2Worlds and 3D-GPT. License BSD-3-Clause (https://arxiv.org/abs/2306.09310 search summary; repo). No LLM eval numbers itself.
### A8. 3DCodeBench / 3DCodeData / 3DCodeArena — May/Jun 2026, arXiv
-- **URLs**: https://arxiv.org/abs/2606.01057 (HTML https://arxiv.org/html/2606.01057v1); code https://github.com/gaoypeng/3dcodebench; data https://huggingface.co/datasets/YipengGao/3DCode; site 3dcodebench.com (per paper).
+- **URLs**: https://arxiv.org/abs/2606.01057 (HTML https://arxiv.org/html/2606.01057v1); code https://github.com/gaoypeng/3dcodebench; data https://huggingface.co/datasets/YipengGao/3DCodeBench; site 3dcodebench.com (per paper).
- **Task**: text (three caption styles: object description / procedural instruction / factory-level spec) or 1–4 reference renders → standalone Blender 5.0 Python that procedurally builds one object; settings: single-shot, multi-turn error feedback, coding-agent harness (Claude Code / Codex CLI / Gemini CLI, 600–900 s budget).
- **Dataset**: 212 Infinigen categories (one eval instance each, seed-addressable); ground-truth factory scripts median 387 / mean 531 lines; 3DCodeData corpus 212×60 seeds = 12,720 instances (paper says 12,963 for fine-tuning; README says 12,720) with 2 captions, 4 renders, textured + white GLB; captions validated by Gemini 3.1 Pro and humans. Released logs: 81,605 generated scripts / 82,042 trials + 2,767 agent transcripts.
- **Execution env**: Blender 5.0 Cycles, sandboxed headless subprocess, 240 s timeout, 4 canonical views (azimuth 45/135/225/315°). Multi-turn: up to two stateless retries, each a fresh call with truncated stderr (head-70%/tail-30%, 33K-char cap per HTML; the paper's summary elsewhere says 3K).
diff --git a/eval/llm/docs/survey_synthesis.md b/eval/llm/docs/survey_synthesis.md
index 7edaf5a2..8fb64bff 100644
--- a/eval/llm/docs/survey_synthesis.md
+++ b/eval/llm/docs/survey_synthesis.md
@@ -9,7 +9,7 @@ Scope: public benchmarks, datasets and metrics where the model output is a *prog
| [BlenderGym](https://arxiv.org/abs/2504.01786) (CVPR'25) | start `.blend`+script + goal render → edited bpy | 245 instances, 5 task types, hand-crafted from BlenderAlchemy/Infinigen/BlenderKit; human baseline on ~20% | Blender (version n/f), ≥3 views, 8-min limit | Photometric loss, N-CLIP = 1−CLIP, Chamfer (blend-shape) | VLM verifier for best-of-k; human–VLM agreement 0.66 vs inter-human 0.79 | [HF data](https://huggingface.co/datasets/richard-guyunqi/BG_bench_data), no license field |
| [BlenderLLM / CADBench](https://arxiv.org/abs/2412.14203) (2024) | text → bpy | 500 sim + 200 "wild" test; BlendNet 50k Self-Instruct, 2k human-verified | Blender, 4 renders/script | E_syntax (render without error) | GPT-4o on 12–15 binary checkpoints/sample (8 sub-dims); κ 0.791 vs human | Apache-2.0, [HF](https://huggingface.co/FreedomIntelligence/BlenderLLM) |
| [3D-PreMise](https://arxiv.org/abs/2401.06437) (2024) | fully-specified text → bpy | 57 objects | Blender | pass/fail by point-cloud match within δ; CD | — | code n/f |
-| [3DCodeBench](https://arxiv.org/abs/2606.01057) (2026) | text (3 caption styles) or 4 views → Blender 5.0 bpy | 212 Infinigen categories (eval) / 12.7k seed instances; GT = migrated Infinigen factories, median 387 lines | Blender 5.0 Cycles, sandbox, 240 s, 4 canonical views | Exec = runs ∧ ≥1 mesh; SigLIP-2 & DINOv3 view-paired; CD; Uni3D; "conditional" vs "penalized" | 3DCodeArena BT-Elo (~3,100 votes, bootstrap CI); SigLIP-2 r=0.964, DINOv3 ρ=0.972 vs Elo | CC BY 4.0, [HF](https://huggingface.co/datasets/YipengGao/3DCode), [code](https://github.com/gaoypeng/3dcodebench) |
+| [3DCodeBench](https://arxiv.org/abs/2606.01057) (2026) | text (3 caption styles) or 4 views → Blender 5.0 bpy | 212 Infinigen categories (eval) / 12.7k seed instances; GT = migrated Infinigen factories, median 387 lines | Blender 5.0 Cycles, sandbox, 240 s, 4 canonical views | Exec = runs ∧ ≥1 mesh; SigLIP-2 & DINOv3 view-paired; CD; Uni3D; "conditional" vs "penalized" | 3DCodeArena BT-Elo (~3,100 votes, bootstrap CI); SigLIP-2 r=0.964, DINOv3 ρ=0.972 vs Elo | CC BY 4.0, [HF](https://huggingface.co/datasets/YipengGao/3DCodeBench), [code](https://github.com/gaoypeng/3dcodebench) |
| [BlenderRAG](https://arxiv.org/abs/2605.00632) (2026) | text → bpy | 500 expert-validated triplets (Claude-drafted); eval on 30 OOD prompts | Blender | compile %, normalized CLIP | — | CC BY 4.0, [repo](https://github.com/MaxRondelli/BlenderRAG) |
| [CodeGen-3D](https://scholarworks.sjsu.edu/faculty_rsca/6835/) (IEEE Access 2026) | text → Blender script | 100 Objaverse/Cap3D prompts | Blender | error rate, multi-view CLIP | GPT-4o pairwise | code n/f |
| [VIGA / BlenderBench](https://arxiv.org/abs/2601.11109) (2026) | target image → iterative Blender edits | 27–30 episodes, 3 tracks | Blender, ≤10 rounds | PL, N-CLIP, success rate | GPT-4o 0–5 | MIT, [HF](https://huggingface.co/datasets/DietCoke4671/blenderbench) |
diff --git a/eval/llm/download.py b/eval/llm/download.py
index 00eea61f..c4b7678a 100644
--- a/eval/llm/download.py
+++ b/eval/llm/download.py
@@ -1,8 +1,8 @@
"""Download the evaluation assets from the Hub into $C3D_EVAL_DATA/hub (needs a token with access to
-`ilabai/*`; `hf auth login` or HF_TOKEN).
+`3dcodeverse/*`; `hf auth login` or HF_TOKEN).
- --core 212 3DCodeBench tasks (YipengGao/3DCode/3DCodeBench), the five held-out test parquets and
- mixes.json (ilabai/3dcodeverse-llamafactory), the 3dcodeverse dataset card + _reports/ +
+ --core 212 3DCodeBench tasks (YipengGao/3DCodeBench/3DCodeBench), the five held-out test parquets and
+ mixes.json (3dcodeverse/3dcodeverse-llamafactory), the 3dcodeverse dataset card + _reports/ +
factories metadata (~30 MB)
--views the official 4 GT reference views per bench task (3DCodeBench_ModelLogs/inputs) (~930 MB)
--logs frontier-model generation logs of the official benchmark (text_to_3D / image_to_3D parquets),
@@ -33,16 +33,16 @@ def main() -> None:
if not any(vars(a).values()):
a.core = True
if a.core:
- dl("YipengGao/3DCode", ["3DCodeBench/*", "3DCodeBench_ModelLogs/README.md", "README.md"], "3DCode")
- dl("ilabai/3dcodeverse-llamafactory", ["test/*", "*.json", "README.md"], "3dcodeverse-llamafactory")
- dl("ilabai/3dcodeverse", ["_reports/*", "dataset_info*.json", "README.md", "3dcodebench/factories_geo/metadata.parquet",
+ dl("YipengGao/3DCodeBench", ["3DCodeBench/*", "3DCodeBench_ModelLogs/README.md", "README.md"], "3DCode")
+ dl("3dcodeverse/3dcodeverse-llamafactory", ["test/*", "*.json", "README.md"], "3dcodeverse-llamafactory")
+ dl("3dcodeverse/3dcodeverse-2m", ["_reports/*", "dataset_info*.json", "README.md", "3dcodebench/factories_geo/metadata.parquet",
"3dcodebench/factories_tex/metadata.parquet", "data/build_report_text.json"], "3dcodeverse")
if a.views:
- dl("YipengGao/3DCode", ["3DCodeBench_ModelLogs/inputs/*"], "3DCode")
+ dl("YipengGao/3DCodeBench", ["3DCodeBench_ModelLogs/inputs/*"], "3DCode")
if a.logs:
- dl("YipengGao/3DCode", ["3DCodeBench_ModelLogs/data/text_to_3D.parquet", "3DCodeBench_ModelLogs/data/image_to_3D.parquet"], "3DCode")
+ dl("YipengGao/3DCodeBench", ["3DCodeBench_ModelLogs/data/text_to_3D.parquet", "3DCodeBench_ModelLogs/data/image_to_3D.parquet"], "3DCode")
if a.gt_tar:
- dl("ilabai/3dcodeverse", ["3dcodebench/factories_geo/samples-000.tar"], "3dcodeverse", workers=4)
+ dl("3dcodeverse/3dcodeverse-2m", ["3dcodebench/factories_geo/samples-000.tar"], "3dcodeverse", workers=4)
if __name__ == "__main__":
diff --git a/eval/llm/rescore_logs.py b/eval/llm/rescore_logs.py
index d1c4ee9c..cb0f4c49 100644
--- a/eval/llm/rescore_logs.py
+++ b/eval/llm/rescore_logs.py
@@ -1,6 +1,6 @@
"""Re-score the official 3DCodeBench frontier-model logs with this package's executor and metrics.
-`YipengGao/3DCode/3DCodeBench_ModelLogs/data/{text_to_3D,image_to_3D}.parquet` hold every generated script of
+`YipengGao/3DCodeBench/3DCodeBench_ModelLogs/data/{text_to_3D,image_to_3D}.parquet` hold every generated script of
the paper's 12 models (one row per trial, `code` column). Writing them into the gen-dir layout lets
`run_eval --stages exec render score` produce exec / Chamfer / SigLIP-2 / DINOv3 numbers for the frontier
models on *this* machine — the calibration that tells whether a local 8B number is comparable to the paper.
diff --git a/eval/llm/setup.sh b/eval/llm/setup.sh
index 8b734d83..704c497d 100644
--- a/eval/llm/setup.sh
+++ b/eval/llm/setup.sh
@@ -75,5 +75,5 @@ if [ ! -x "$TOOLS/glslang/bin/glslang" ]; then
fi
"$TOOLS/glslang/bin/glslang" --version | head -1
-log "done. Next: hf auth login (token with ilabai/* access), then"
+log "done. Next: hf auth login (token with 3dcodeverse/* access), then"
echo " $PY -m llm.config && $PY -m llm.download --core --views --logs && $PY -m llm.build_prompts && SEED=0 $PY -m llm.build_refs"
diff --git a/finetune/README.md b/finetune/README.md
index 74a8cb4b..3d1f72dc 100644
--- a/finetune/README.md
+++ b/finetune/README.md
@@ -35,7 +35,7 @@ python llamafactory/sample_mix.py --src /path/to/md_max --out /path/to/mix \
```
The study's ShareGPT data is published as
-**[`ilabai/3dcodeverse-llamafactory`](https://huggingface.co/datasets/ilabai/3dcodeverse-llamafactory)**
+**[`3dcodeverse/3dcodeverse-llamafactory`](https://huggingface.co/datasets/3dcodeverse/3dcodeverse-llamafactory)**
(private; see the dataset card for its non-commercial terms). `llamafactory/build_hf_dataset.py`
packages the corpus, historical preference sets, held-out tests, and mix descriptions from prepared
local inputs. The published pair datasets are also used by the Hub recipe in `configs/lf/`.
@@ -79,9 +79,9 @@ is separate work; the folder reorganization does not make that historical pipeli
## Released weights
LoRA adapters for Qwen3.6-27B and Qwen3.8-27B are public on the Hub:
-[`ilabai/3dcodeverse-qwen3.6-27b-lora`](https://huggingface.co/ilabai/3dcodeverse-qwen3.6-27b-lora) and
-[`ilabai/3dcodeverse-qwen3.8-27b-lora`](https://huggingface.co/ilabai/3dcodeverse-qwen3.8-27b-lora), collected with the
-paper and dataset in the [3DCodeVerse collection](https://huggingface.co/collections/ilabai/3dcodeverse-6ae554e2cf043729e3074b94).
+[`3dcodeverse/3dcodeverse-qwen3.6-27b-lora`](https://huggingface.co/3dcodeverse/3dcodeverse-qwen3.6-27b-lora) and
+[`3dcodeverse/3dcodeverse-qwen3.8-27b-lora`](https://huggingface.co/3dcodeverse/3dcodeverse-qwen3.8-27b-lora), collected with the
+paper and dataset in the [3DCodeVerse collection](https://huggingface.co/collections/3dcodeverse/3dcodeverse).
[`docs/RELEASE.md`](docs/RELEASE.md) records which runs were chosen and why, and how to load, merge, and evaluate them.
## Experiment records
diff --git a/finetune/configs/lf/README.md b/finetune/configs/lf/README.md
index cc227779..fe4cbbe6 100644
--- a/finetune/configs/lf/README.md
+++ b/finetune/configs/lf/README.md
@@ -10,7 +10,7 @@ Everything else (batch 1, bf16, cosine schedule, 1 epoch for SFT) is the same ac
| `sft_9b_lora64_lr1e-4_len8k_full9b.yaml` | the full corpus |
| `sft_9b_lora64_lr1e-4_len8k_pubimg.yaml` | the published image pairs (169k rows), local `media_dir` |
| `sft_9b_lora64_lr1e-4_len8k_pairsmix.yaml` | published image+text and text pairs |
-| `sft_9b_lora64_lr1e-4_len8k_hub-remote.yaml` | text-only, streamed with `dataset_dir: REMOTE:ilabai/3dcodeverse` |
+| `sft_9b_lora64_lr1e-4_len8k_hub-remote.yaml` | text-only, streamed with `dataset_dir: REMOTE:3dcodeverse/3dcodeverse-2m` |
| `dpo_9b_lora16_lr5e-6_len2k_stop-r1.yaml` | stop-DPO round 1 (also the template `stop_dpo_round.sh` seds) |
| `dpo_9b_lora16_lr5e-6_len2k_stop-r2.yaml` | round 2, from the round-1 model |
diff --git a/finetune/configs/lf/sft_9b_lora64_lr1e-4_len8k_hub-remote.yaml b/finetune/configs/lf/sft_9b_lora64_lr1e-4_len8k_hub-remote.yaml
index c84cc200..feeeee41 100644
--- a/finetune/configs/lf/sft_9b_lora64_lr1e-4_len8k_hub-remote.yaml
+++ b/finetune/configs/lf/sft_9b_lora64_lr1e-4_len8k_hub-remote.yaml
@@ -13,7 +13,7 @@ lora_dropout: 0.05
lora_target: all
freeze_vision_tower: true
freeze_multi_modal_projector: true
-dataset_dir: REMOTE:ilabai/3dcodeverse
+dataset_dir: REMOTE:3dcodeverse/3dcodeverse-2m
dataset: 3dcv_3dcodebench__factories_geo_imgtext,3dcv_3dcodebench__factories_tex_imgtext,3dcv_3dcodebench__instances_geo_full_imgtext,3dcv_3dcodebench__instances_geo_imgtext,3dcv_3dcodebench__instances_tex_full_imgtext,3dcv_3dcodebench__instances_tex_imgtext,3dcv_bioinspired3d__bpy_structures_geo_imgtext,3dcv_bioinspired3d__bpy_structures_tex_imgtext
media_dir: /wekafs/ict/hx_624/data/pair_media_root
template: qwen3_5
diff --git a/finetune/docs/RELEASE.md b/finetune/docs/RELEASE.md
index 06e41f25..dd088493 100644
--- a/finetune/docs/RELEASE.md
+++ b/finetune/docs/RELEASE.md
@@ -1,12 +1,12 @@
# Released weights
Two LoRA adapters trained with this component are public on the Hugging Face Hub, grouped with the paper and
-dataset in the [3DCodeVerse collection](https://huggingface.co/collections/ilabai/3dcodeverse-6ae554e2cf043729e3074b94).
+dataset in the [3DCodeVerse collection](https://huggingface.co/collections/3dcodeverse/3dcodeverse).
| repo | base model | training run | size |
|---|---|---|---|
-| [`ilabai/3dcodeverse-qwen3.6-27b-lora`](https://huggingface.co/ilabai/3dcodeverse-qwen3.6-27b-lora) | [Qwen/Qwen3.6-27B](https://huggingface.co/Qwen/Qwen3.6-27B) | `qwen3.6-27b_lora_3dcv_text_A`: `3dcv_text_all` mix, 5,515 steps, global batch 48, eval loss 0.252 | 467 MB |
-| [`ilabai/3dcodeverse-qwen3.8-27b-lora`](https://huggingface.co/ilabai/3dcodeverse-qwen3.8-27b-lora) | [Qwen/Qwen3.8-27B](https://huggingface.co/Qwen/Qwen3.8-27B) | `qwen3.8-27b_lora_3dcv_text_A`: 4,322 steps, final train loss ≈ 0.25 | 467 MB |
+| [`3dcodeverse/3dcodeverse-qwen3.6-27b-lora`](https://huggingface.co/3dcodeverse/3dcodeverse-qwen3.6-27b-lora) | [Qwen/Qwen3.6-27B](https://huggingface.co/Qwen/Qwen3.6-27B) | `qwen3.6-27b_lora_3dcv_text_A`: `3dcv_text_all` mix, 5,515 steps, global batch 48, eval loss 0.252 | 467 MB |
+| [`3dcodeverse/3dcodeverse-qwen3.8-27b-lora`](https://huggingface.co/3dcodeverse/3dcodeverse-qwen3.8-27b-lora) | [Qwen/Qwen3.8-27B](https://huggingface.co/Qwen/Qwen3.8-27B) | `qwen3.8-27b_lora_3dcv_text_A`: 4,322 steps, final train loss ≈ 0.25 | 467 MB |
Both adapters use LoRA rank 16, alpha 32, dropout 0, on every attention, linear-attention
(`in_proj_qkv`, `in_proj_a/b/z`, `out_proj`), and MLP projection; peak LR 1e-4, cosine schedule, 3% warmup,
@@ -14,7 +14,7 @@ Both adapters use LoRA rank 16, alpha 32, dropout 0, on every attention, linear-
from Qwen's repositories.
The weights are released under CC BY-NC-SA 4.0, matching the
-[`ilabai/3dcodeverse`](https://huggingface.co/datasets/ilabai/3dcodeverse) data license. The base models are
+[`3dcodeverse/3dcodeverse-2m`](https://huggingface.co/datasets/3dcodeverse/3dcodeverse-2m) data license. The base models are
Apache 2.0.
## Which runs were released
@@ -44,11 +44,11 @@ Load with PEFT on top of the base checkpoint (`Qwen3_5ForConditionalGeneration`;
from transformers import AutoModelForImageTextToText
from peft import PeftModel
base = AutoModelForImageTextToText.from_pretrained("Qwen/Qwen3.6-27B", torch_dtype="bfloat16", device_map="auto")
-model = PeftModel.from_pretrained(base, "ilabai/3dcodeverse-qwen3.6-27b-lora")
+model = PeftModel.from_pretrained(base, "3dcodeverse/3dcodeverse-qwen3.6-27b-lora")
```
For evaluation or serving, merge first. `configs/lf/export_lora_template.yaml` works with Hub ids in place of
-local paths (`model_name_or_path: Qwen/Qwen3.6-27B`, `adapter_name_or_path: ilabai/3dcodeverse-qwen3.6-27b-lora`);
+local paths (`model_name_or_path: Qwen/Qwen3.6-27B`, `adapter_name_or_path: 3dcodeverse/3dcodeverse-qwen3.6-27b-lora`);
then evaluate the merged directory with `python -m llm.run_eval --backend vllm --model <merged>` from `eval/`.
Lower vLLM `max_num_seqs` if the engine fails to allocate Mamba cache blocks (see REPORT.md §6).
diff --git a/finetune/docs/REPORT.md b/finetune/docs/REPORT.md
index f21e4a37..d5753018 100644
--- a/finetune/docs/REPORT.md
+++ b/finetune/docs/REPORT.md
@@ -152,11 +152,11 @@ OpenSCAD 和 three.js 的问题不是训练方法,是**语料里只有一千
---
-## 7. 数据集:`ilabai/3dcodeverse`
+## 7. 数据集:`3dcodeverse/3dcodeverse-2m`
九个来源、**290,480 段不同的可执行代码**、**1,932,722 条训练配对**(文本→代码 / 图像→代码 / 图像+文本→代码 × 全部 caption 变体)、545,397 张训练分辨率渲染图。
-根目录的 `dataset_info.json` 注册了 **609 个子集**,配合 `dataset_dir: REMOTE:ilabai/3dcodeverse` 可直接按名训练,无需预先下载或转换。格式经 LLaMA-Factory 实跑训练验证。
+根目录的 `dataset_info.json` 注册了 **609 个子集**,配合 `dataset_dir: REMOTE:3dcodeverse/3dcodeverse-2m` 可直接按名训练,无需预先下载或转换。格式经 LLaMA-Factory 实跑训练验证。
### 构建过程中修掉的五个"静默失败"
@@ -179,7 +179,7 @@ OpenSCAD 和 three.js 的问题不是训练方法,是**语料里只有一千
**纯文本可以直接从 Hub 训**,什么都不用下载:
```yaml
-dataset_dir: REMOTE:ilabai/3dcodeverse
+dataset_dir: REMOTE:3dcodeverse/3dcodeverse-2m
dataset: 3dcv_shadertoy__33_text
```
diff --git a/finetune/docs/REPORT_FULL.md b/finetune/docs/REPORT_FULL.md
index 61cd505e..91a456d7 100644
--- a/finetune/docs/REPORT_FULL.md
+++ b/finetune/docs/REPORT_FULL.md
@@ -1,7 +1,7 @@
# 3D-code LLM finetune 调研报告(dgx03 / 4×H100,2026-08-21 → 08-22)
> 目标:在前 4 张 H100 上跑通「文本 → Blender Python 3D 代码」的 LLM 微调流程,评估 3DCodeVerse 数据是否适合训练,为后续 large-scale finetune 给出配置与结论。
-> 工程目录:`/wekafs/ict/hx_624/llm-ft`(README 有命令)。**所有数字见第 5 / 7 / 8 节;最近更新 2026-08-28 12:00(新增 §12:全量数据清洗与编译/渲染验证、URDF 恢复、泄漏探针、图像条件生成);上一版 2026-08-25 20:30(§11 完成:评估方法论、md_max 审计、27B 零样本/v1/v2/v3/DPO、scipy 修正、caption 增强对照;**27B v2 = 3DCodeBench 93.4% + 最佳几何**,9B+执行反馈 DPO = 96.2%;完整实验清单见 `llm_finetune_exps.md`,数据已发布到 HF `ilabai/3dcodeverse-llamafactory`)。**
+> 工程目录:`/wekafs/ict/hx_624/llm-ft`(README 有命令)。**所有数字见第 5 / 7 / 8 节;最近更新 2026-08-28 12:00(新增 §12:全量数据清洗与编译/渲染验证、URDF 恢复、泄漏探针、图像条件生成);上一版 2026-08-25 20:30(§11 完成:评估方法论、md_max 审计、27B 零样本/v1/v2/v3/DPO、scipy 修正、caption 增强对照;**27B v2 = 3DCodeBench 93.4% + 最佳几何**,9B+执行反馈 DPO = 96.2%;完整实验清单见 `llm_finetune_exps.md`,数据已发布到 HF `3dcodeverse/3dcodeverse-llamafactory`)。**
## 1. 环境(已 setup,可直接复用)
| 项 | 内容 |
@@ -35,10 +35,10 @@
## 3. 数据:3DCodeVerse 及相关数据集
### 3.1 格式结论
-* `ilabai/3dcodeverse` 每个子集都是 **`metadata.parquet`(含 `code`、`captions{detailed,instruction,factory}`、`meta_json`)+ `samples-*.tar`(渲染图/GLB)**。**做 LLM 文本训练只需要 parquet(全部 173 个文件 <1 GB)**,无需下载 285 GB 的 tar。→ `data/3dcodeverse_meta/`
+* `3dcodeverse/3dcodeverse-2m` 每个子集都是 **`metadata.parquet`(含 `code`、`captions{detailed,instruction,factory}`、`meta_json`)+ `samples-*.tar`(渲染图/GLB)**。**做 LLM 文本训练只需要 parquet(全部 173 个文件 <1 GB)**,无需下载 285 GB 的 tar。→ `data/3dcodeverse_meta/`
* captions 三种字段全都齐(≥99.8%):`instruction`(任务式指令,最适合做 user prompt)、`detailed`(外观描述)、`factory`(代码做了什么的描述)。
* 例外:`articraft/urdf_*` 的 `code` 列为空(多文件 URDF 工程,需从 tar 取);`shadertoy` 是多文件(`shader_json` 列 + `code.glsl`)。
-* `ilabai/thingiverse-openscad-blender-5-0`(1193)与 `...-5-1-2-parametric`(6919)是**按样本目录存放**(code.py / prompt.txt / captions.json / openscad/*.scad)→ 需要自己抓小文件拼 pair。parametric 版的 `code.py` 每个 ~3000 行,其中 ~2500 行是 OpenSCAD→bpy 的 shim 样板,**不适合直接当 SFT 目标**;它的 `prompt.txt → *.scad` 倒是干净的 OpenSCAD 指令对。5-0 版里 166 个是 `reference_mesh.json` 回退(读 json 重建 mesh),要过滤掉。
+* `3dcodeverse/thingiverse-openscad-blender-5-0`(1193)与 `...-5-1-2-parametric`(6919)是**按样本目录存放**(code.py / prompt.txt / captions.json / openscad/*.scad)→ 需要自己抓小文件拼 pair。parametric 版的 `code.py` 每个 ~3000 行,其中 ~2500 行是 OpenSCAD→bpy 的 shim 样板,**不适合直接当 SFT 目标**;它的 `prompt.txt → *.scad` 倒是干净的 OpenSCAD 指令对。5-0 版里 166 个是 `reference_mesh.json` 回退(读 json 重建 mesh),要过滤掉。
* `3dcodebench/3dcodebench`(212 任务)= 3dcodeverse `3dcodebench/factories_*` 的子集(243 个 factory 里 212 个同名)→ **训练里必须剔除这 212 个 factory,否则测试集泄漏**。
### 3.2 规模(代码 token 用 Qwen3.5 tokenizer 抽样估计)
diff --git a/finetune/docs/SETUP.md b/finetune/docs/SETUP.md
index 1a0f6380..36c8658b 100644
--- a/finetune/docs/SETUP.md
+++ b/finetune/docs/SETUP.md
@@ -56,7 +56,7 @@ pip uninstall -y torchaudio # a mismatched torchaudio bre
| glslangValidator | conda-forge `glslang` (in `llmft`) | `GLSLANG` in `eval/dialect_runners.py` |
| Chromium (Playwright) | see `llmft` above | `PLAYWRIGHT_BROWSERS_PATH` |
| Models | `hf download Qwen/Qwen3.5-9B --local-dir $WORKSPACE/models/Qwen3.5-9B` (also used: Qwen3.5-4B, Qwen3-8B, Qwen2.5-Coder-7B-Instruct) | `model_name_or_path` in `configs/lf/*.yaml` |
-| Data | only `metadata.parquet` of each 3DCodeVerse subset (`ilabai/3dcodeverse` on the HF Hub) + the 3DCodeBench tarball; `scripts/fetch_hf_files.py` is more robust than `hf download` for many small files on a network FS | `scripts/prep_data.py`, `scripts/build_multidialect.py` |
+| Data | only `metadata.parquet` of each 3DCodeVerse subset (`3dcodeverse/3dcodeverse-2m` on the HF Hub) + the 3DCodeBench tarball; `scripts/fetch_hf_files.py` is more robust than `hf download` for many small files on a network FS | `scripts/prep_data.py`, `scripts/build_multidialect.py` |
Secrets: `env.sh` sources `$WORKSPACE/.secrets/hf.env` (`export HF_TOKEN=...`, chmod 600). Never put tokens in configs or scripts.
diff --git a/finetune/llamafactory/build_hf_dataset.py b/finetune/llamafactory/build_hf_dataset.py
index ba656b62..42688bed 100644
--- a/finetune/llamafactory/build_hf_dataset.py
+++ b/finetune/llamafactory/build_hf_dataset.py
@@ -12,7 +12,7 @@ regenerates any of them from a one-line budget spec).
mixes.json the exact budget spec of every mix used in the report
README.md dataset card
-usage: python llamafactory/build_hf_dataset.py [--out /wekafs/ict/hx_624/hf_ds] [--push ilabai/3dcodeverse-llamafactory] [--private]
+usage: python llamafactory/build_hf_dataset.py [--out /wekafs/ict/hx_624/hf_ds] [--push 3dcodeverse/3dcodeverse-llamafactory] [--private]
"""
import argparse
import collections
@@ -66,7 +66,7 @@ def write_parquet(rows, path_prefix, cols=None):
def main():
ap = argparse.ArgumentParser()
ap.add_argument("--out", default="/wekafs/ict/hx_624/hf_ds")
- ap.add_argument("--push", default=None, help="repo id, e.g. ilabai/3dcodeverse-llamafactory")
+ ap.add_argument("--push", default=None, help="repo id, e.g. 3dcodeverse/3dcodeverse-llamafactory")
ap.add_argument("--private", action="store_true")
a = ap.parse_args()
os.makedirs(a.out, exist_ok=True)
@@ -156,7 +156,7 @@ size_categories:
# 3DCodeVerse — LLaMA-Factory edition
Text→3D-code training data in **LLaMA-Factory ShareGPT format**, derived from
-[`ilabai/3dcodeverse`](https://huggingface.co/datasets/ilabai/3dcodeverse). Same license and non-commercial
+[`3dcodeverse/3dcodeverse-2m`](https://huggingface.co/datasets/3dcodeverse/3dcodeverse-2m). Same license and non-commercial
research terms as the parent dataset; the per-source licenses (Infinigen/BSD-3, Bioinspired3D/MIT, Shadertoy/CC BY-NC-SA,
Thingiverse, DeepCAD/MIT) still apply.
@@ -183,7 +183,7 @@ Total SFT pairs: **{total:,}** (one row per prompt variant; each source sample h
## How to use with LLaMA-Factory
```bash
-huggingface-cli download ilabai/3dcodeverse-llamafactory --repo-type dataset --local-dir data/3dcv
+huggingface-cli download 3dcodeverse/3dcodeverse-llamafactory --repo-type dataset --local-dir data/3dcv
cp data/3dcv/dataset_info.json data/3dcv/ # already there; point dataset_dir at data/3dcv
llamafactory-cli train your_config.yaml # with: dataset_dir: data/3dcv, dataset: 3dcv_blender,3dcv_cadquery,...
```
diff --git a/finetune/llamafactory/build_pairs_3dcodebench.py b/finetune/llamafactory/build_pairs_3dcodebench.py
index 359c3eed..2baee35d 100644
--- a/finetune/llamafactory/build_pairs_3dcodebench.py
+++ b/finetune/llamafactory/build_pairs_3dcodebench.py
@@ -24,7 +24,7 @@ import pyarrow.parquet as pq
import requests
META = "/wekafs/ict/hx_624/data/3dcodeverse_meta"
-REPO = "ilabai/3dcodeverse"
+REPO = "3dcodeverse/3dcodeverse-2m"
SYS = {
"web": "You are an expert creative web developer. Write a complete, standalone HTML page (inline CSS/JS, no local assets) that reproduces the requested animation. Output ONLY the code in one ```html block.",
"threejs": "You are an expert three.js developer. Write a complete, standalone HTML page that renders the requested scene with three.js. Output ONLY the code in one ```html block.",
diff --git a/finetune/llamafactory/drop_old_pair_trees.py b/finetune/llamafactory/drop_old_pair_trees.py
index 3e92b10d..7eb104d9 100644
--- a/finetune/llamafactory/drop_old_pair_trees.py
+++ b/finetune/llamafactory/drop_old_pair_trees.py
@@ -6,7 +6,7 @@ a source of its own. They now live at <source>/<subdir>_llamafactory_{text,img,i
"""
import os, json
from huggingface_hub import HfApi, hf_hub_download, CommitOperationDelete
-tok = os.environ["HF_TOKEN"]; REPO = "ilabai/3dcodeverse"; api = HfApi(token=tok)
+tok = os.environ["HF_TOKEN"]; REPO = "3dcodeverse/3dcodeverse-2m"; api = HfApi(token=tok)
agg = json.load(open(hf_hub_download(REPO, "dataset_info.json", repo_type="dataset", token=tok)))
still = [k for k, v in agg.items() if str(v.get("folder", "")).startswith(("pairs/", "pair_images/"))]
if still:
diff --git a/finetune/llamafactory/runners/run_3dcb_pairs.sh b/finetune/llamafactory/runners/run_3dcb_pairs.sh
index 53727e01..526d9966 100755
--- a/finetune/llamafactory/runners/run_3dcb_pairs.sh
+++ b/finetune/llamafactory/runners/run_3dcb_pairs.sh
@@ -25,7 +25,7 @@ for SUB in instances_tex instances_geo_full instances_tex_full; do
import os, sys, shutil
from huggingface_hub import hf_hub_download
sub = sys.argv[1]
-p = hf_hub_download("ilabai/3dcodeverse", f"3dcodebench/{sub}/metadata.parquet", repo_type="dataset", token=os.environ["HF_TOKEN"])
+p = hf_hub_download("3dcodeverse/3dcodeverse-2m", f"3dcodebench/{sub}/metadata.parquet", repo_type="dataset", token=os.environ["HF_TOKEN"])
d = f"/wekafs/ict/hx_624/data/3dcodeverse_meta/3dcodebench/{sub}"
os.makedirs(d, exist_ok=True); shutil.copy(p, f"{d}/metadata.parquet")
PY
diff --git a/finetune/llamafactory/upload_pairs.py b/finetune/llamafactory/upload_pairs.py
index c7101918..a18e0d39 100644
--- a/finetune/llamafactory/upload_pairs.py
+++ b/finetune/llamafactory/upload_pairs.py
@@ -14,7 +14,7 @@ import os
from huggingface_hub import HfApi, CommitOperationAdd, CommitOperationDelete, hf_hub_download
-REPO = "ilabai/3dcodeverse"
+REPO = "3dcodeverse/3dcodeverse-2m"
ROOTS = ("/wekafs/ict/hx_624/hf_pairs_shadertoy", "/wekafs/ict/hx_624/hf_pairs", "/wekafs/ict/hx_624/hf_pairs_other")
# the two sources the user renamed after these were built
RENAME = {"blender_distill": "blender_coding_agent", "threejs_distill": "threejs_coding_agent"}
diff --git a/toolkits/curation/articraft/README.md b/toolkits/curation/articraft/README.md
index 27e7a129..e74b4611 100644
--- a/toolkits/curation/articraft/README.md
+++ b/toolkits/curation/articraft/README.md
@@ -1,6 +1,6 @@
# Articraft → CadQuery curation tools
-Tools used to curate the **Articraft** subset of [`ilabai/3dcodeverse`](https://huggingface.co/datasets/ilabai/3dcodeverse).
+Tools used to curate the **Articraft** subset of [`3dcodeverse/3dcodeverse-2m`](https://huggingface.co/datasets/3dcodeverse/3dcodeverse-2m).
[Articraft](https://github.com/mattzh72/articraft) (Apache-2.0) is a **mesh-based**
SDK: its models build triangle meshes. We convert each model into a
diff --git a/toolkits/curation/articraft/upload_articraft.py b/toolkits/curation/articraft/upload_articraft.py
index 56556cc3..427c40af 100644
--- a/toolkits/curation/articraft/upload_articraft.py
+++ b/toolkits/curation/articraft/upload_articraft.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
-"""Upload the finished folders to HF ilabai/3dcodeverse under articraft/.
+"""Upload the finished folders to HF 3dcodeverse/3dcodeverse-2m under articraft/.
data/articraft_urdf_geo_only -> articraft/urdf_geo_only
data/articraft_urdf_tex -> articraft/urdf_tex
data/articraft_with_mesh -> articraft/with_mesh (verifier_pass samples only)
@@ -13,7 +13,7 @@ import os, sys, math, time, json
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "0"
from huggingface_hub import HfApi, CommitOperationAdd
-REPO = "ilabai/3dcodeverse"
+REPO = "3dcodeverse/3dcodeverse-2m"
_HERE = os.path.dirname(os.path.abspath(__file__))
ROOT = os.environ.get("ARTICRAFT_ROOT", os.path.dirname(os.path.dirname(os.path.dirname(_HERE))))
TOK = open(os.path.expanduser("~/.hf_token")).read().strip()
diff --git a/toolkits/curation/deepcad/README.md b/toolkits/curation/deepcad/README.md
index 1862d1a4..0264b4da 100644
--- a/toolkits/curation/deepcad/README.md
+++ b/toolkits/curation/deepcad/README.md
@@ -1,6 +1,6 @@
# DeepCAD → CadQuery curation tools
-Tools used to curate the **DeepCAD** subset of [`ilabai/3dcodeverse`](https://huggingface.co/datasets/ilabai/3dcodeverse) (under `deepcad/v1/`).
+Tools used to curate the **DeepCAD** subset of [`3dcodeverse/3dcodeverse-2m`](https://huggingface.co/datasets/3dcodeverse/3dcodeverse-2m) (under `deepcad/v1/`).
[DeepCAD](https://github.com/ChrisWu1997/DeepCAD) (MIT) is a dataset of ~178k CAD
construction sequences (sketch + extrude, stored as quantized command vectors). We
@@ -105,7 +105,7 @@ python assemble_corpus.py ... | python mark_dedup.py ... | python finalize.py ..
python dedup_vec.py --vec_dir cad_vec --ids ids.txt --out dups.json
python to_3dcodeverse.py --jsonl final.jsonl --canonical_only --out_root corpus
python pack_tar_parquet.py --corpus corpus/deepcad --out packed --subfolder v1
-python upload_to_hf.py --folder packed --repo ilabai/3dcodeverse --token_file ~/.hf_token
+python upload_to_hf.py --folder packed --repo 3dcodeverse/3dcodeverse-2m --token_file ~/.hf_token
```
## Gotchas learned (baked into the tools)
diff --git a/toolkits/curation/deepcad/pack_tar_parquet.py b/toolkits/curation/deepcad/pack_tar_parquet.py
index 08acd5cf..7ff770c7 100644
--- a/toolkits/curation/deepcad/pack_tar_parquet.py
+++ b/toolkits/curation/deepcad/pack_tar_parquet.py
@@ -1,5 +1,5 @@
"""
-pack_tar_parquet.py (v2 — spec-conformant, matches ilabai/3dcodeverse Storage Rules)
+pack_tar_parquet.py (v2 — spec-conformant, matches 3dcodeverse/3dcodeverse-2m Storage Rules)
Emits the official chunked tar+parquet layout:
diff --git a/toolkits/curation/deepcad/to_3dcodeverse.py b/toolkits/curation/deepcad/to_3dcodeverse.py
index c20c790a..d2b58ffb 100644
--- a/toolkits/curation/deepcad/to_3dcodeverse.py
+++ b/toolkits/curation/deepcad/to_3dcodeverse.py
@@ -1,7 +1,7 @@
"""
to_3dcodeverse.py
Emit the official 3DCodeVerse directory layout, aligned to the REAL reference
-dataset ilabai/3dcodeverse (3dcodebench/factories_geo/<sample>/):
+dataset 3dcodeverse/3dcodeverse-2m (3dcodebench/factories_geo/<sample>/):
deepcad/<sub>/<name>/
code.py
diff --git a/toolkits/curation/deepcad/upload_to_hf.py b/toolkits/curation/deepcad/upload_to_hf.py
index 016929ed..e374579a 100644
--- a/toolkits/curation/deepcad/upload_to_hf.py
+++ b/toolkits/curation/deepcad/upload_to_hf.py
@@ -6,7 +6,7 @@ Uses upload_large_folder (resumable, multi-threaded) -- required for the
Usage:
python upload_to_hf.py --folder /data/.../corpus_3dcv \
- --repo ilabai/3dcodeverse --token_file /data/.../.hf_token_write
+ --repo 3dcodeverse/3dcodeverse-2m --token_file /data/.../.hf_token_write
"""
import argparse
from pathlib import Path
@@ -16,7 +16,7 @@ from huggingface_hub import HfApi
def main():
ap = argparse.ArgumentParser()
ap.add_argument("--folder", required=True, help="local folder whose contents map to repo root (contains deepcad/)")
- ap.add_argument("--repo", required=True, help="e.g. ilabai/3dcodeverse or adonis126/deepcad-3dcodeverse")
+ ap.add_argument("--repo", required=True, help="e.g. 3dcodeverse/3dcodeverse-2m or adonis126/deepcad-3dcodeverse")
ap.add_argument("--token_file", required=True)
ap.add_argument("--repo_type", default="dataset")
ap.add_argument("--create", action="store_true", help="create the repo if it doesn't exist")