You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.md
+27-12Lines changed: 27 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,27 @@
1
+
---
2
+
title: Home
3
+
description: SwarmTorch - 120 Metaheuristic Optimization Algorithms for PyTorch
4
+
---
5
+
1
6
# SwarmTorch 🐝🔥
2
7
3
-
<Callouttype="info">
4
-
SwarmTorch brings 120 metaheuristic optimization algorithms to PyTorch — 60 model-training optimizers and 60 hyperparameter-tuning searchers.
5
-
</Callout>
8
+
<Info>
9
+
SwarmTorch brings 120 metaheuristic optimization algorithms to PyTorch — 60 model-training optimizers and 60 hyperparameter-tuning searchers.
10
+
</Info>
6
11
7
12
SwarmTorch is a high-performance, academic-grade library that enables **gradient-free neural network training** and **intelligent hyperparameter optimization** using nature-inspired metaheuristic algorithms.
8
13
9
14
## Why SwarmTorch?
10
15
11
-
Traditional deep learning relies on gradient-based optimization (Adam, SGD, etc.). SwarmTorch complements these with:
16
+
Traditional deep learning relies on gradient-based optimization (Adam, SGD). SwarmTorch complements these with:
12
17
13
-
-**Gradient-Free Training**: Optimize weights where gradients don't exist or are unreliable
14
-
-**Hyperparameter Optimization**: Replace grid/random search with intelligent exploration
15
-
-**60+ Algorithms**: From PSO and GWO to DE, GA, and hybrid methods
16
-
-**PyTorch Native**: Drop-in replacement for standard optimizers
18
+
| Scenario | Gradient (Adam/SGD) | SwarmTorch |
19
+
|----------|-------------------|------------|
20
+
| Standard classification | ✅ Best choice | Overkill |
21
+
| Non-differentiable loss | ❌ Can't use | ✅ Perfect fit |
22
+
| Discrete optimization | ❌ Can't use | ✅ Perfect fit |
23
+
| Multi-modal landscapes | Gets stuck | Explores well |
0 commit comments