algorythmtechnologies commited on
Commit
230c24c
Β·
verified Β·
1 Parent(s): 98c0fff

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +106 -0
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