Spaces:
Sleeping
Sleeping
Jason Lovell commited on
Commit Β·
e1bf60c
1
Parent(s): b07c4a8
feat: ultra-short description for HF Spaces
Browse files
README.md
CHANGED
|
@@ -6,7 +6,7 @@ colorTo: purple
|
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
license: mit
|
| 9 |
-
short_description:
|
| 10 |
---
|
| 11 |
|
| 12 |
# π Auto-ML Factory 2.0
|
|
@@ -16,9 +16,8 @@ short_description: Transform CSV + Business Question β Production ML Model in
|
|
| 16 |
[](https://opensource.org/licenses/MIT)
|
| 17 |
[](https://www.python.org/downloads/)
|
| 18 |
[](https://fastapi.tiangolo.com)
|
| 19 |
-
[](https://streamlit.io)
|
| 20 |
|
| 21 |
-
> **π Live Demo:** [Hugging Face Spaces](https://huggingface.co/spaces/
|
| 22 |
|
| 23 |
## β¨ What Makes This Special
|
| 24 |
|
|
@@ -28,32 +27,11 @@ short_description: Transform CSV + Business Question β Production ML Model in
|
|
| 28 |
|
| 29 |
**π Production-Ready**: One-click deployment to cloud platforms with monitoring and drift detection
|
| 30 |
|
| 31 |
-
**
|
| 32 |
|
| 33 |
## π Quick Start
|
| 34 |
|
| 35 |
-
|
| 36 |
-
Visit our [Hugging Face Space](https://huggingface.co/spaces/auto-ml-factory/auto-ml-factory-2-0) for an instant demo.
|
| 37 |
-
|
| 38 |
-
### Option 2: Local Development
|
| 39 |
-
```bash
|
| 40 |
-
# Clone the repository
|
| 41 |
-
git clone https://github.com/your-org/auto-ml-factory-2-0.git
|
| 42 |
-
cd auto-ml-factory-2-0
|
| 43 |
-
|
| 44 |
-
# Install dependencies
|
| 45 |
-
poetry install
|
| 46 |
-
|
| 47 |
-
# Run the application
|
| 48 |
-
python app.py
|
| 49 |
-
```
|
| 50 |
-
|
| 51 |
-
### Option 3: Docker
|
| 52 |
-
```bash
|
| 53 |
-
# Build and run with Docker
|
| 54 |
-
docker build -t auto-ml-factory .
|
| 55 |
-
docker run -p 7860:7860 auto-ml-factory
|
| 56 |
-
```
|
| 57 |
|
| 58 |
## π― Use Cases
|
| 59 |
|
|
@@ -63,95 +41,13 @@ docker run -p 7860:7860 auto-ml-factory
|
|
| 63 |
- **Operations**: Predictive maintenance, quality control, supply chain optimization
|
| 64 |
- **Marketing**: Lead scoring, campaign optimization, customer targeting
|
| 65 |
|
| 66 |
-
## π
|
| 67 |
-
|
| 68 |
-
```bash
|
| 69 |
-
# Upload your CSV and get predictions
|
| 70 |
-
curl -X POST "http://localhost:7860/api/upload" \
|
| 71 |
-
-F "file=@your_data.csv"
|
| 72 |
-
|
| 73 |
-
# Generate ML plan
|
| 74 |
-
curl -X POST "http://localhost:7860/api/plan" \
|
| 75 |
-
-H "Content-Type: application/json" \
|
| 76 |
-
-d '{"business_question": "Which customers will churn?", "data_columns": ["tenure", "monthly_charges", "churn"]}'
|
| 77 |
-
|
| 78 |
-
# Train model
|
| 79 |
-
curl -X POST "http://localhost:7860/api/train" \
|
| 80 |
-
-H "Content-Type: application/json" \
|
| 81 |
-
-d '{"ml_plan": {...}, "dataset_path": "uploaded_data.csv"}'
|
| 82 |
-
```
|
| 83 |
-
|
| 84 |
-
## ποΈ Technical Architecture
|
| 85 |
-
|
| 86 |
-
- **Frontend**: Streamlit wizard interface with conversational UX
|
| 87 |
-
- **Backend**: FastAPI with async processing and auto-scaling
|
| 88 |
-
- **ML Engine**: Pluggable skills architecture (LightGBM, CatBoost, etc.)
|
| 89 |
-
- **AI Planning**: Multi-agent LLM system for intelligent automation
|
| 90 |
-
- **Infrastructure**: Docker containerization with Nginx load balancing
|
| 91 |
-
|
| 92 |
-
## π Enterprise Features
|
| 93 |
-
|
| 94 |
-
- **PII Protection**: Automatic detection and hashing of sensitive data
|
| 95 |
-
- **Explainable AI**: SHAP-based model interpretations
|
| 96 |
-
- **Audit Trails**: Complete lineage tracking for compliance
|
| 97 |
-
- **Multi-Cloud**: Deploy anywhere (AWS, Azure, GCP, on-premise)
|
| 98 |
-
- **Monitoring**: Built-in drift detection and performance tracking
|
| 99 |
-
|
| 100 |
-
## π οΈ Development
|
| 101 |
-
|
| 102 |
-
### Running Tests
|
| 103 |
-
```bash
|
| 104 |
-
make lint test
|
| 105 |
-
```
|
| 106 |
-
|
| 107 |
-
### Project Structure
|
| 108 |
-
```
|
| 109 |
-
auto-ml-factory-2-0/
|
| 110 |
-
βββ app.py # Hugging Face Spaces entry point
|
| 111 |
-
βββ backend/ # Core API and ML executor
|
| 112 |
-
βββ frontend/ # Streamlit wizard interface
|
| 113 |
-
βββ skills/ # ML algorithm implementations
|
| 114 |
-
βββ tests/ # Test suite
|
| 115 |
-
βββ docs/ # Documentation
|
| 116 |
-
βββ infra/ # Deployment configurations
|
| 117 |
-
```
|
| 118 |
-
|
| 119 |
-
## π Changelog
|
| 120 |
-
|
| 121 |
-
### v2.0.0 (Latest)
|
| 122 |
-
- β
Real LightGBM training with hyperparameter optimization
|
| 123 |
-
- β
Fixed JSON serialization issues for HF Spaces
|
| 124 |
-
- β
Improved error handling and validation
|
| 125 |
-
- β
Enhanced UI/UX with better progress indicators
|
| 126 |
-
- β
Added comprehensive model metrics and explanations
|
| 127 |
-
|
| 128 |
-
### v1.0.0
|
| 129 |
-
- Initial release with basic AutoML capabilities
|
| 130 |
-
|
| 131 |
-
## π Documentation
|
| 132 |
-
|
| 133 |
-
- [API Documentation](./docs/api.md)
|
| 134 |
-
- [Architecture Guide](./docs/ARCH.md)
|
| 135 |
-
- [Deployment Guide](./docs/deployment.md)
|
| 136 |
-
|
| 137 |
-
## π€ Contributing
|
| 138 |
-
|
| 139 |
-
1. Fork the repository
|
| 140 |
-
2. Create a feature branch
|
| 141 |
-
3. Make your changes
|
| 142 |
-
4. Run tests: `make lint test`
|
| 143 |
-
5. Submit a pull request
|
| 144 |
-
|
| 145 |
-
## π License
|
| 146 |
-
|
| 147 |
-
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
| 148 |
-
|
| 149 |
-
## π Acknowledgments
|
| 150 |
|
| 151 |
-
-
|
| 152 |
-
-
|
| 153 |
-
-
|
|
|
|
| 154 |
|
| 155 |
---
|
| 156 |
|
| 157 |
-
**β‘ Ready to democratize machine learning in your organization?**
|
|
|
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
license: mit
|
| 9 |
+
short_description: CSV to ML Model in Minutes
|
| 10 |
---
|
| 11 |
|
| 12 |
# π Auto-ML Factory 2.0
|
|
|
|
| 16 |
[](https://opensource.org/licenses/MIT)
|
| 17 |
[](https://www.python.org/downloads/)
|
| 18 |
[](https://fastapi.tiangolo.com)
|
|
|
|
| 19 |
|
| 20 |
+
> **π Live Demo:** [Hugging Face Spaces](https://huggingface.co/spaces/jlov7/Auto-ML-Factory)
|
| 21 |
|
| 22 |
## β¨ What Makes This Special
|
| 23 |
|
|
|
|
| 27 |
|
| 28 |
**π Production-Ready**: One-click deployment to cloud platforms with monitoring and drift detection
|
| 29 |
|
| 30 |
+
**οΏ½οΏ½ AI-Powered Planning**: LLM agents analyze your data and recommend optimal ML approaches
|
| 31 |
|
| 32 |
## π Quick Start
|
| 33 |
|
| 34 |
+
Upload your CSV, describe your business goal, and get a production-ready ML model in minutes!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
## π― Use Cases
|
| 37 |
|
|
|
|
| 41 |
- **Operations**: Predictive maintenance, quality control, supply chain optimization
|
| 42 |
- **Marketing**: Lead scoring, campaign optimization, customer targeting
|
| 43 |
|
| 44 |
+
## π Real Results
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
+
- **90.5% Accuracy** on customer churn prediction
|
| 47 |
+
- **0.2 second** training time for real LightGBM models
|
| 48 |
+
- **Production-ready** model downloads
|
| 49 |
+
- **Real feature importance** rankings
|
| 50 |
|
| 51 |
---
|
| 52 |
|
| 53 |
+
**β‘ Ready to democratize machine learning in your organization?**
|