Update CyberForge ML models and deployment artifacts
Browse files
README.md
CHANGED
|
@@ -1,67 +1,62 @@
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
tags:
|
| 4 |
-
- cybersecurity
|
| 5 |
-
- threat-detection
|
| 6 |
-
-
|
| 7 |
-
-
|
| 8 |
-
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
---
|
| 12 |
|
| 13 |
-
# CyberForge AI
|
| 14 |
|
| 15 |
-
Production-ready machine learning models for
|
| 16 |
|
| 17 |
## Models Included
|
| 18 |
|
| 19 |
-
| Model | Task | Accuracy | F1 Score | Inference |
|
| 20 |
-
|-------|------|----------|----------|-----------|
|
| 21 |
-
| phishing_detection | Detect phishing URLs | 98.9% | 0.989 | 0.02ms |
|
| 22 |
-
| malware_detection | Identify malware | 99.8% | 0.998 | 0.001ms |
|
| 23 |
-
| anomaly_detection | Network anomalies | 99.9% | 0.999 | 0.007ms |
|
| 24 |
-
| web_attack_detection | Web attacks | 100% | 1.000 | 0.03ms |
|
| 25 |
|
| 26 |
-
## Quick Start
|
| 27 |
|
| 28 |
-
|
| 29 |
-
|
|
|
|
| 30 |
|
| 31 |
-
|
| 32 |
-
|
| 33 |
|
| 34 |
-
|
| 35 |
-
result =
|
| 36 |
-
print(f"Threat: {result['prediction']}, Confidence: {result['confidence']}")
|
| 37 |
```
|
| 38 |
|
| 39 |
-
## API
|
| 40 |
|
| 41 |
```python
|
| 42 |
import requests
|
| 43 |
|
| 44 |
response = requests.post(
|
| 45 |
-
|
| 46 |
-
json={
|
| 47 |
-
"model": "phishing_detection",
|
| 48 |
-
"features": {...}
|
| 49 |
-
}
|
| 50 |
)
|
| 51 |
```
|
| 52 |
|
| 53 |
-
##
|
| 54 |
-
|
| 55 |
-
- **Real-time inference** < 1ms per prediction
|
| 56 |
-
- **Multiple threat types**: Phishing, Malware, Anomalies, Web Attacks
|
| 57 |
-
- **Production-ready**: Optimized for high-throughput
|
| 58 |
-
- **Backend integration**: Compatible with Node.js/Python backends
|
| 59 |
|
| 60 |
-
|
|
|
|
|
|
|
| 61 |
|
| 62 |
-
|
| 63 |
-
- [CyberForge Datasets](https://huggingface.co/datasets/Che237/cyberforge-datasets)
|
| 64 |
|
| 65 |
-
|
| 66 |
|
| 67 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
---
|
| 3 |
license: mit
|
| 4 |
tags:
|
| 5 |
+
- cybersecurity
|
| 6 |
+
- threat-detection
|
| 7 |
+
- phishing
|
| 8 |
+
- malware
|
| 9 |
+
- security
|
| 10 |
+
language:
|
| 11 |
+
- en
|
| 12 |
---
|
| 13 |
|
| 14 |
+
# CyberForge AI Models
|
| 15 |
|
| 16 |
+
Production-ready machine learning models for cybersecurity threat detection.
|
| 17 |
|
| 18 |
## Models Included
|
| 19 |
|
| 20 |
+
| Model | Task | Accuracy | F1 Score | Inference Time |
|
| 21 |
+
|-------|------|----------|----------|----------------|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
|
|
|
| 23 |
|
| 24 |
+
## Usage
|
| 25 |
+
|
| 26 |
+
### Python
|
| 27 |
|
| 28 |
+
```python
|
| 29 |
+
from inference import CyberForgeInference
|
| 30 |
|
| 31 |
+
inference = CyberForgeInference('./models')
|
| 32 |
+
result = inference.predict('phishing_detection', features)
|
|
|
|
| 33 |
```
|
| 34 |
|
| 35 |
+
### API
|
| 36 |
|
| 37 |
```python
|
| 38 |
import requests
|
| 39 |
|
| 40 |
response = requests.post(
|
| 41 |
+
'https://huggingface.co/spaces/Che237/cyberforge/predict',
|
| 42 |
+
json={'model_name': 'phishing_detection', 'features': features}
|
|
|
|
|
|
|
|
|
|
| 43 |
)
|
| 44 |
```
|
| 45 |
|
| 46 |
+
## Model Details
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
+
- **Framework**: scikit-learn
|
| 49 |
+
- **Python Version**: 3.11+
|
| 50 |
+
- **License**: MIT
|
| 51 |
|
| 52 |
+
## Citation
|
|
|
|
| 53 |
|
| 54 |
+
If you use these models, please cite:
|
| 55 |
|
| 56 |
+
```bibtex
|
| 57 |
+
@software{cyberforge2024,
|
| 58 |
+
title = {CyberForge AI Security Models},
|
| 59 |
+
year = {2024},
|
| 60 |
+
url = {https://huggingface.co/Che237/cyberforge-models}
|
| 61 |
+
}
|
| 62 |
+
```
|