Downloads · 30 days
12
16% of all-time downloads
nileshsarkar-ai/erdos-forge-7b-qlora
erdos-forge-7b-qlora is a machine learning model from nileshsarkar-ai. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
QLoRA adapters and intermediate checkpoints for FORGE — a constraint-graph–driven engineering system that turns natural-language intent into manufacturable CAD parts (source on GitHub).
Downloads · 30 days
12
16% of all-time downloads
All-time downloads
76
Public
Repo size
26.6 GB
Likes
0
Public
Click a slice to open those files.
.safetensors28 GB · 89%
From the Hugging Face model README
QLoRA adapters and intermediate checkpoints for FORGE — a constraint-graph–driven engineering system that turns natural-language intent into manufacturable CAD parts (source on GitHub).
Traditional CAD stores geometry. FORGE stores engineering intent as a live constraint graph, with every dimension traceable to the constraint that produced it. Change the manufacturing process and the part re-derives.
| Base model | Qwen/Qwen2.5-Coder-7B-Instruct |
| Method | QLoRA (4-bit base + LoRA adapters) |
LoRA rank r | 64 |
LoRA alpha | 128 |
| LoRA dropout | 0.05 |
| PEFT version | 0.18.1 |
| Tokenizer | included (tokenizer.json, vocab.json, merges.txt, etc.) |
.
├── adapter_config.json # final adapter config
├── adapter_model.safetensors # final LoRA weights
├── tokenizer.json # tokenizer artifacts
├── tokenizer_config.json
├── added_tokens.json
├── special_tokens_map.json
├── vocab.json
├── merges.txt
├── chat_template.jinja
├── training_args.bin # HF TrainingArguments at final
├── checkpoint-500/ # intermediate checkpoints from training
├── checkpoint-1000/
├── checkpoint-1500/
├── checkpoint-2000/
└── checkpoint-2184/ # latest step (effectively final)
Each checkpoint-{step}/ mirrors the top-level adapter layout for resuming.
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base = AutoModelForCausalLM.from_pretrained(
"Qwen/Qwen2.5-Coder-7B-Instruct",
torch_dtype="auto",
device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained("nileshsarkar-ai/erdos-forge-7b-qlora")
model = PeftModel.from_pretrained(base, "nileshsarkar-ai/erdos-forge-7b-qlora")
prompt = "Design a mounting bracket for an M8 bolt, injection molded in ABS."
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(out[0], skip_special_tokens=True))
To load an intermediate checkpoint instead of the final one:
model = PeftModel.from_pretrained(
base,
"nileshsarkar-ai/erdos-forge-7b-qlora",
subfolder="checkpoint-2000",
)
Training pipeline (data generation → training → eval → serving) is at
ERDOS/forge-training/ on GitHub.
Axolotl config: 03_training/axolotl_config.yaml.
cd ERDOS/forge-training
bash 06_scripts/run_full_pipeline.sh
ERDOS/forge-training/README.mdERDOS/forge-core/COLM_BACKUP_RESTORE.md