Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# AlgoRythm Prandtl Aero
|
| 2 |
+
## Computational Engineering Model (CEM) - Mission Critical
|
| 3 |
+
|
| 4 |
+
**A deterministic AI system for rocket engine design, built on Qwen2.5-Coder-7B-Instruct**
|
| 5 |
+
|
| 6 |
+
```
|
| 7 |
+
βββββββ βββββββββββββββ βββββββ βββββββ ββββββββββ βββ
|
| 8 |
+
ββββββββββββββββββββββββ ββββββββββββββββββββββββββββ ββββ
|
| 9 |
+
ββββββββββββββ βββ βββ βββββββββββ ββββββ βββββββ
|
| 10 |
+
ββββββββββββββ βββ βββ βββββββββββ ββββββ βββββββ
|
| 11 |
+
βββ βββββββββββββββββββ βββ βββββββββββββββββββββββ βββ
|
| 12 |
+
βββ ββββββββββββββββββ βββ βββ βββββββ ββββββββββ βββ
|
| 13 |
+
AlgoRythm Prandtl Aero Engineering
|
| 14 |
+
MISSION CRITICAL EDITION (7B)
|
| 15 |
+
```
|
| 16 |
+
|
| 17 |
+
## Overview
|
| 18 |
+
|
| 19 |
+
AlgoRythm Prandtl Aero transforms a high-reasoning LLM into a **deterministic physics-based design engine**.
|
| 20 |
+
|
| 21 |
+
- **Base Model**: Qwen2.5-Coder-7B-Instruct (High reasoning capacity)
|
| 22 |
+
- **Capability**: >50% of Noyron
|
| 23 |
+
- **Logic**: System Architecture & Component Design
|
| 24 |
+
- **Safety**: Physics-validated, deterministic output
|
| 25 |
+
|
| 26 |
+
- **Calculates** using real physics equations
|
| 27 |
+
- **Validates** against physical constraints
|
| 28 |
+
- **Generates** executable PicoGK C# code
|
| 29 |
+
- **Never guesses** - always derives
|
| 30 |
+
|
| 31 |
+
## Project Structure
|
| 32 |
+
|
| 33 |
+
```
|
| 34 |
+
AlgoRythm_PrandtlAero/
|
| 35 |
+
βββ datasets/ # Training data
|
| 36 |
+
β βββ rocket_propulsion_dataset.json
|
| 37 |
+
β βββ thermal_fluid_dataset.json
|
| 38 |
+
β βββ advanced_structures_dataset.json
|
| 39 |
+
β βββ generate_dataset.py
|
| 40 |
+
βββ training/ # Fine-tuning scripts
|
| 41 |
+
β βββ train_full.py
|
| 42 |
+
βββ inference/ # Run the model
|
| 43 |
+
β βββ run_inference.py
|
| 44 |
+
βββ physics_engine/ # Validation
|
| 45 |
+
β βββ validator.py
|
| 46 |
+
βββ model/ # Saved models
|
| 47 |
+
βββ ARCHITECTURE.md # System diagrams
|
| 48 |
+
βββ model_config.json # Configuration
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
## Quick Start
|
| 52 |
+
|
| 53 |
+
### 1. Generate Training Dataset
|
| 54 |
+
```bash
|
| 55 |
+
cd AlgoRythm_PrandtlAero/datasets
|
| 56 |
+
python generate_dataset.py # Creates 500 examples
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
### 2. Train on H100/A100 (1.5-2 hours)
|
| 60 |
+
```bash
|
| 61 |
+
cd AlgoRythm_PrandtlAero/training
|
| 62 |
+
python train_full.py
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
### 3. Run Inference
|
| 66 |
+
```bash
|
| 67 |
+
cd AlgoRythm_PrandtlAero/inference
|
| 68 |
+
python run_inference.py
|
| 69 |
+
```
|
| 70 |
+
|
| 71 |
+
## Training Configuration
|
| 72 |
+
|
| 73 |
+
| Parameter | Value | Rationale |
|
| 74 |
+
|-----------|-------|-----------|
|
| 75 |
+
| Epochs | 4 | Small model needs repetition |
|
| 76 |
+
| Learning Rate | 2e-5 | Preserve coding knowledge |
|
| 77 |
+
| Batch Size | 4 | Fits H100 memory |
|
| 78 |
+
| Context Length | 8192 | Long engineering problems |
|
| 79 |
+
| LoRA Rank | 64 | Strong adaptation |
|
| 80 |
+
| Temperature | 0.0 | Deterministic output |
|
| 81 |
+
|
| 82 |
+
## Dataset Format
|
| 83 |
+
|
| 84 |
+
Each training example follows **Chain-of-Logic** structure:
|
| 85 |
+
|
| 86 |
+
```json
|
| 87 |
+
{
|
| 88 |
+
"input": "Design 5kN LOX/LH2 nozzle at 100 bar",
|
| 89 |
+
"reasoning": "[PHYSICS_DERIVATION]...",
|
| 90 |
+
"output": "using PicoGK; ..."
|
| 91 |
+
}
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
## Comparison with Noyron
|
| 95 |
+
|
| 96 |
+
| Feature | Noyron | Prandtl Aero |
|
| 97 |
+
|---------|--------|----------|
|
| 98 |
+
| Architecture | Proprietary | Open (Fine-tuned LLM) |
|
| 99 |
+
| Physics | Encoded rules | Learned + validated |
|
| 100 |
+
| Output | PicoGK code | PicoGK code |
|
| 101 |
+
| Deterministic | Yes | Yes (temp=0) |
|
| 102 |
+
| Training | N/A | 2 hrs on H100 |
|
| 103 |
+
|
| 104 |
+
## License
|
| 105 |
+
|
| 106 |
+
Apache 2.0 - Built by AlgoRythm Prandtl Aero Engineering from AlgoRythm Group
|