Datasets:
|
Download README.md from ricemonster/Text-to-CadQuery: direct link, hf CLI and curl.
- Browser
- Download file 2.04 kB
-
https://huggingface.co/datasets/ricemonster/Text-to-CadQuery/resolve/main/README.md
- Command line
-
hf download hf://datasets/ricemonster/Text-to-CadQuery/README.md
-
curl -L -o README.md https://huggingface.co/datasets/ricemonster/Text-to-CadQuery/resolve/main/README.md
2.04 kB
| configs: | |
| - config_name: default | |
| data_files: | |
| - split: train | |
| path: data/data_train.jsonl | |
| - split: validation | |
| path: data/data_val.jsonl | |
| - split: test | |
| path: data/data_test.jsonl | |
| task_categories: | |
| - text-generation | |
| language: | |
| - en | |
| tags: | |
| - cad | |
| - cadquery | |
| - 3d | |
| - code-generation | |
| # Text-to-CadQuery Dataset | |
| Deterministic CadQuery program dataset paired with natural language CAD descriptions from Text2CAD. | |
| - **Collection**: [Text-to-CadQuery](https://huggingface.co/collections/ricemonster/text-to-cadquery-6b0a2cabae152d0d6f0fc823) | |
| ## Dataset Splits | |
| | Split | File | Count | | |
| |---|---|---:| | |
| | Train | `data/data_train.jsonl` | 158,276 | | |
| | Validation | `data/data_val.jsonl` | 8,744 | | |
| | Test | `data/data_test.jsonl` | 8,744 | | |
| | **Total** | | **175,764** | | |
| ## Pretrained Models | |
| | Size | Model | Base Model | | |
| |---|---|---| | |
| | Qwen2.5-0.5B | [`ricemonster/Text-to-CadQuery-Qwen2.5-0.5B`](https://huggingface.co/ricemonster/Text-to-CadQuery-Qwen2.5-0.5B) | `Qwen/Qwen2.5-0.5B-Instruct` | | |
| | Qwen2.5-1.5B | [`ricemonster/Text-to-CadQuery-Qwen2.5-1.5B`](https://huggingface.co/ricemonster/Text-to-CadQuery-Qwen2.5-1.5B) | `Qwen/Qwen2.5-1.5B-Instruct` | | |
| | Qwen2.5-3B | [`ricemonster/Text-to-CadQuery-Qwen2.5-3B`](https://huggingface.co/ricemonster/Text-to-CadQuery-Qwen2.5-3B) | `Qwen/Qwen2.5-3B-Instruct` | | |
| | Qwen2.5-7B | [`ricemonster/Text-to-CadQuery-Qwen2.5-7B`](https://huggingface.co/ricemonster/Text-to-CadQuery-Qwen2.5-7B) | `Qwen/Qwen2.5-7B-Instruct` | | |
| ## Repository Structure | |
| ```text | |
| . | |
| ├── README.md | |
| ├── CadQuery.zip # 175,764 CadQuery Python scripts (CQ/{shard}/{id}.py) | |
| └── data/ | |
| ├── data_train.jsonl # 158,276 samples | |
| ├── data_val.jsonl # 8,744 samples | |
| └── data_test.jsonl # 8,744 samples | |
| ``` | |
| ## Data Format | |
| Each line in `data/data_{train,val,test}.jsonl` is a JSON object with two fields: | |
| ```json | |
| { | |
| "input": "<natural language CAD description>", | |
| "output": "<executable CadQuery Python script>" | |
| } | |
| ``` | |