Run this model with HF Jobs

Run astrodingra/brepline on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/astrodingra/brepline. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/astrodingra/brepline on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
brepline / README.md
astrodingra's picture
Update README.md
dd70166 verified
|
Raw History Blame Contribute Delete
4.85 kB
---
base_model: Qwen/Qwen2.5-Coder-7B
library_name: peft
pipeline_tag: image-to-3d
language:
- en
tags:
- base_model:adapter:Qwen/Qwen2.5-Coder-7B
- lora
- sft
- transformers
- trl
- mechanical-engineering
- computational-engineering
- cad
- text-to-cad
- text-to-3d
- parametric-modeling
- code-generation
- scientific-ml
- multi-agent
---
# BREPLINE v1.0.1
### A Large Mechanical Model (LMM) for Parametric 3D CAD Generation
**Describe a part. Get CAD you can actually machine.**
BREPLINE is a domain-specific artificial intelligence system
designed for mechanical engineering, computational design,
and parametric 3D CAD generation.
It translates natural-language engineering requirements into
executable CAD code for generating mechanical components,
parametric solid geometries, and complex engineering assemblies.
The complete BREPLINE framework has a reported system scale of
10.9B+ parameters.
[Official Website](https://brepline.vercel.app) |
[Base Model](https://huggingface.co/Qwen/Qwen2.5-Coder-7B)
## Key Features
- Natural-language to parametric 3D CAD generation.
- Mechanical component and assembly generation.
- Multi-agent engineering reasoning.
- Semantic retrieval and automated CAD code repair.
- Boundary Representation (B-Rep) solid geometry.
- STEP and STL export with SolidWorks interoperability.
- Material-aware mass and center-of-gravity estimation.
- Experimental structural and automobile crash simulations.
- Interactive 3D visualization and developer API access.
CAD execution, visualization, simulations, and file exports
are provided by the complete BREPLINE framework rather than
the standalone model adapter.
## Model Architecture
BREPLINE employs a multi-agent architecture orchestrated
through LangGraph, integrating engineering intent analysis,
Bill of Materials decomposition, semantic vector retrieval,
parametric modification, atomic CAD code generation,
sandbox execution, and physics-based auditing.
The framework uses an 85% semantic similarity threshold
for design retrieval and supports up to three automated
code repair attempts.
## Training & Evaluation
The model was fine-tuned using Supervised Fine-Tuning (SFT)
and Low-Rank Adaptation (LoRA) on the IUCAA Pegasus
High-Performance Computing Cluster.
| Parameter | Value |
|---|---:|
| Base Model | Qwen2.5-Coder-7B |
| Fine-tuning Method | LoRA / SFT |
| Training Epochs | 2 |
| Training Steps | 1,326 |
| Processed Tokens | 52.28 Million |
| Training Duration | 7h 11m |
| Training Loss | 0.110506 |
| Validation Loss | 0.139666 |
| Mean Token Accuracy | 95.86% |
The reported metrics were recorded during fine-tuning.
Token-level accuracy does not directly represent geometric
correctness or engineering reliability.
## Applications
- Computer-aided design and manufacturing.
- Mechanical engineering and rapid prototyping.
- Computational geometry and parametric modeling.
- Automobile design and preliminary simulations.
- Engineering education and scientific research.
- AI-assisted industrial design automation.
## Authors & Affiliation
BREPLINE was developed by **Jashanpreet Singh Dingra**,
**Tegkirat Kaur**, and **Divleen Kaur**.
The project is associated with Guru Nanak Dev University,
Amritsar, and Thapar Institute of Engineering and Technology,
Patiala, India.
The authors gratefully acknowledge the Inter-University
Centre for Astronomy and Astrophysics (IUCAA), Pune,
for providing access to the Pegasus High-Performance
Computing Cluster under the guidance of Dr. Hum Chand.
## Limitations
BREPLINE is an experimental research model. Generated
engineering designs, dimensions, material properties,
and simulation results require independent verification
before manufacturing or safety-critical applications.
The model is not a substitute for certified engineering
analysis or validated finite element simulations.
## Citation
If you use BREPLINE in your research, engineering experiments,
or downstream applications, please cite the following
software reference.
### BibTeX
```bibtex
@misc{brepline2026,
title = {{BREPLINE}: A Large Mechanical Model for
Parametric 3D CAD Generation},
author = {Dingra, Jashanpreet Singh and Kaur, Tegkirat
and Kaur, Divleen},
year = {2026},
version = {1.0.1},
url = {https://brepline.vercel.app},
note = {Experimental research software, not peer-reviewed}
}
```
### APA
Dingra, J. S., Kaur, T., & Kaur, D. (2026).
*BREPLINE: A Large Mechanical Model for Parametric 3D CAD
Generation* (Version 1.0.1) [Computer software].
https://brepline.vercel.app
## Availability & Contact
- **Website:** https://brepline.vercel.app
- **Email:** astrodingra@gmail.com
- **Computing Infrastructure:** [IUCAA HPC](http://hpc.iucaa.in/?q=node/2)
### Framework Versions
- PEFT 0.17.1
---
**BREPLINE — Engineering through Intelligence.**