Forge intelligent models from raw data.
Project description
CrineForge
Forge intelligent text-trained models from raw documents.
What is CrineForge?
CrineForge is a lightweight, offline-first LLM fine-tuning toolkit that automatically structures raw text data using a DeepSeek-based structurer and fine-tunes HuggingFace models using LoRA.
It is designed to be safe, modular, and GPU-aware.
Who is it for?
- ML engineers
- AI developers
- Local model fine-tuning users
- Developers who want structured training without heavy setup
Key Features
- DeepSeek-based structured data preparation
- LoRA fine-tuning support
- Automatic 4-bit fallback for low VRAM GPUs
- Gradient checkpointing
- VRAM usage logging
- CLI + Python API
- Offline-first design
Quickstart
pip install crineforge
from crineforge import Trainer
trainer = Trainer()
trainer.connect_model("sshleifer/tiny-gpt2")
trainer.load_data("data.txt")
trainer.auto_config()
trainer.train()
trainer.save("output_model")
Performance & Optimization
- Lazy-loaded structurer exclusively deployed at generation time.
- Structurer unloads natively before fine-tuning prevents VRAM spikes.
- Explicit
gradient_checkpointingautomatically supported. - Automatic 4-bit quantization fallback detecting VRAM
< 16GB. - Comprehensive VRAM Logging tracking Allocated & Reserved metrics.
- Default
max_seq_length = 512enforcing scalable SFT executions.
🔥 Important Disclaimer
Note:
CrineForge does not redistribute DeepSeek weights.
Models are downloaded from their official sources and are subject to their respective licenses.
📄 License
Crineforge is licensed under the MIT License. Copyright (c) 2025 Abhishek.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crineforge-0.1.1.tar.gz.
File metadata
- Download URL: crineforge-0.1.1.tar.gz
- Upload date:
- Size: 14.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5500094359afebc4d64e221e4cbf060fdef8efc05af24c2fe314da241fa235c4
|
|
| MD5 |
fdedc5be26c9351c84f97c62884e91de
|
|
| BLAKE2b-256 |
44473994e500faafa1c83a4005291ad4717cc6712e10f2233a8f9388dcafd122
|
File details
Details for the file crineforge-0.1.1-py3-none-any.whl.
File metadata
- Download URL: crineforge-0.1.1-py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73f8a4a5f37fe654a327509770f7a365a2db97931680364ed707e55999119ca0
|
|
| MD5 |
17b5750cbbdf1ef77caaf213d51369a6
|
|
| BLAKE2b-256 |
fb3d21c80dcce69475ee777a047677f56d6c55796adffa5900cab2c085cd71ca
|