Spaces:
Sleeping
Sleeping
Updated readme
Browse files
README.md
CHANGED
@@ -8,44 +8,70 @@ sdk_version: 1.41.1
|
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
11 |
-
short_description: A demo showcasing multi-agent conversational AI.
|
12 |
---
|
13 |
|
14 |
-
|
15 |
|
16 |
## Overview
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
-
|
28 |
-
-
|
29 |
-
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
-
|
46 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
|
48 |
## Installation
|
|
|
49 |
1. Clone the repository:
|
50 |
```bash
|
51 |
git clone <repository-url>
|
@@ -63,6 +89,7 @@ This project demonstrates a Multi-Agent system using the `microsoft/Phi-3-mini-4
|
|
63 |
```
|
64 |
|
65 |
## Usage
|
|
|
66 |
1. Run the Streamlit application:
|
67 |
```bash
|
68 |
streamlit run app.py
|
@@ -74,6 +101,7 @@ The `microsoft/Phi-3-mini-4k-instruct` model is a lightweight instruction-tuned
|
|
74 |
- Provide data-driven insights from the Analyst.
|
75 |
|
76 |
## Troubleshooting
|
|
|
77 |
- **Model Loading Issues:** Ensure all dependencies are installed and that your environment supports the `microsoft/Phi-3-mini-4k-instruct` model.
|
78 |
- **Performance Issues:** Use a CUDA-enabled GPU for better performance. If unavailable, ensure sufficient CPU resources.
|
79 |
|
@@ -81,4 +109,7 @@ The `microsoft/Phi-3-mini-4k-instruct` model is a lightweight instruction-tuned
|
|
81 |
Contributions are welcome! Feel free to open issues or submit pull requests to improve the project.
|
82 |
|
83 |
## License
|
84 |
-
This project is licensed under the MIT License. See the `LICENSE` file for details.
|
|
|
|
|
|
|
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
11 |
+
short_description: A demo showcasing multi-agent conversational AI with explainability.
|
12 |
---
|
13 |
|
14 |
+
# MultiAgent XAI Demo
|
15 |
|
16 |
## Overview
|
17 |
+
The **Multi-Agent XAI Demo** is an advanced Streamlit-based web application designed to provide AI-powered technical solutions with built-in explainability. By integrating **Explainable AI (XAI)**, the system ensures transparency and interpretability, empowering users with actionable insights and a clear understanding of AI-generated recommendations.
|
18 |
+
|
19 |
+
This project demonstrates a Multi-Agent system using the `microsoft/Phi-3-mini-4k-instruct` model to simulate collaboration between an **Engineer** and an **Analyst**, generating technical solutions and complementary data-driven recommendations for user queries.
|
20 |
+
|
21 |
+
## Key Features
|
22 |
+
|
23 |
+
### User-Friendly Query Submission
|
24 |
+
- Intuitive interface for seamless query input
|
25 |
+
- Efficient processing for rapid AI-generated responses
|
26 |
+
|
27 |
+
### AI-Powered Insights
|
28 |
+
- **Engineer Agent:** Delivers precise technical solutions for complex challenges
|
29 |
+
- **Analyst Agent:** Provides complementary data-driven insights to enhance analysis
|
30 |
+
|
31 |
+
### Explainable AI (XAI)
|
32 |
+
- Every response includes a detailed explanation, offering clarity into the AI's reasoning and decision-making process
|
33 |
+
|
34 |
+
### Comprehensive Summarization
|
35 |
+
- The system compiles responses into an actionable plan, ensuring well-structured insights for decision-making
|
36 |
+
|
37 |
+
## Applications
|
38 |
+
|
39 |
+
### Industry Applications
|
40 |
+
- Predictive maintenance for manufacturing and industrial processes
|
41 |
+
- Process automation to optimize workflows
|
42 |
+
- Resource allocation and operational efficiency improvements
|
43 |
+
|
44 |
+
### Business Solutions
|
45 |
+
- Providing strategic recommendations for decision-makers
|
46 |
+
- Enhancing data-driven decision processes with AI-powered insights
|
47 |
+
|
48 |
+
### Educational Use
|
49 |
+
- Demonstrating AI and XAI capabilities in practical applications
|
50 |
+
- Supporting curriculum development in AI and machine learning
|
51 |
+
|
52 |
+
### Research and Development
|
53 |
+
- Advancing multi-agent explainable AI systems
|
54 |
+
- Exploring new methodologies for AI transparency and trustworthiness
|
55 |
+
|
56 |
+
## Technical Breakdown
|
57 |
+
|
58 |
+
### Modern UI Design
|
59 |
+
- Structured layout displaying user queries, responses, and explanations
|
60 |
+
- Clearly defined sections for Engineer Response, Analyst Response, and XAI Explanations
|
61 |
+
|
62 |
+
### Cutting-Edge Architecture
|
63 |
+
- **Built with Streamlit:** Ensuring quick deployment and interactive experiences
|
64 |
+
- **NLP-Powered by Hugging Face Transformers:** Delivering state-of-the-art language understanding
|
65 |
+
- **Optimized AI Model:** Utilizing `microsoft/Phi-3-mini-4k-instruct` for highly accurate and context-aware responses
|
66 |
+
- **Efficient State Management:** Using `st.session_state` to track user interactions seamlessly
|
67 |
+
- **Dynamic Response Optimization:** Customizable parameters for fine-tuned performance
|
68 |
+
|
69 |
+
### Performance Enhancements
|
70 |
+
- Optimized for both CPU and GPU to maximize efficiency
|
71 |
+
- Adaptive token length management to maintain response quality and resource efficiency
|
72 |
|
73 |
## Installation
|
74 |
+
|
75 |
1. Clone the repository:
|
76 |
```bash
|
77 |
git clone <repository-url>
|
|
|
89 |
```
|
90 |
|
91 |
## Usage
|
92 |
+
|
93 |
1. Run the Streamlit application:
|
94 |
```bash
|
95 |
streamlit run app.py
|
|
|
101 |
- Provide data-driven insights from the Analyst.
|
102 |
|
103 |
## Troubleshooting
|
104 |
+
|
105 |
- **Model Loading Issues:** Ensure all dependencies are installed and that your environment supports the `microsoft/Phi-3-mini-4k-instruct` model.
|
106 |
- **Performance Issues:** Use a CUDA-enabled GPU for better performance. If unavailable, ensure sufficient CPU resources.
|
107 |
|
|
|
109 |
Contributions are welcome! Feel free to open issues or submit pull requests to improve the project.
|
110 |
|
111 |
## License
|
112 |
+
This project is licensed under the MIT License. See the `LICENSE` file for details.
|
113 |
+
|
114 |
+
## Why It Matters
|
115 |
+
The Multi-Agent System with XAI Demo showcases the transformative power of AI in solving complex problems while maintaining transparency and user trust. By bridging technical precision with explainability, this system sets a new standard for intelligent automation across industries.
|