Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,43 +11,46 @@ pinned: false
|
|
| 11 |
|
| 12 |
# π€ PromptPilot β Unified AI Chatbot (AML-3304)
|
| 13 |
|
| 14 |
-
This is an MVP AI chatbot
|
| 15 |
|
| 16 |
**"From Tokens to Transformers: Building AI Systems with Embeddings, Generative Models, and MLOps."**
|
| 17 |
|
| 18 |
-
PromptPilot
|
| 19 |
-
- π Bayesian-style Q&A with top-k sampling
|
| 20 |
-
- π General factual Q&A using FLAN-T5
|
| 21 |
-
- π§βπ» Python code generation using CodeGen
|
| 22 |
-
- π¬ Semantic Q&A with DeepSeek-RAG (Retriever-Augmented Generation)
|
| 23 |
-
- π§ Sentence-based embedding search using Sentence-BERT + FAISS
|
| 24 |
-
|
| 25 |
-
Deployed on Hugging Face Spaces with lightweight, multi-model architecture.
|
| 26 |
|
| 27 |
---
|
| 28 |
|
| 29 |
## π Chat Modes
|
| 30 |
|
| 31 |
-
| Mode
|
| 32 |
-
|---------------------|------------------------------------------------------|----------------------------------------|
|
| 33 |
-
| π§βπ» Code Generator
|
| 34 |
-
| π General Q&A
|
| 35 |
-
| π Bayesian Q&A
|
| 36 |
-
|
|
| 37 |
-
|
|
| 38 |
|
| 39 |
---
|
| 40 |
|
| 41 |
## π Live Demo
|
| 42 |
|
| 43 |
-
|
| 44 |
-
**[https://huggingface.co/spaces/Group2255/programming-help-chatbot](https://huggingface.co/spaces/Group2255/programming-help-chatbot)**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
---
|
| 47 |
|
| 48 |
-
## π»
|
| 49 |
|
| 50 |
-
### Option 1: Python + Streamlit
|
| 51 |
|
| 52 |
```bash
|
| 53 |
git clone https://huggingface.co/spaces/Group2255/programming-help-chatbot
|
|
|
|
| 11 |
|
| 12 |
# π€ PromptPilot β Unified AI Chatbot (AML-3304)
|
| 13 |
|
| 14 |
+
This is an MVP AI chatbot developed for the **AML-3304 assignment**:
|
| 15 |
|
| 16 |
**"From Tokens to Transformers: Building AI Systems with Embeddings, Generative Models, and MLOps."**
|
| 17 |
|
| 18 |
+
PromptPilot combines five intelligent chat modes powered by popular Transformer-based models, enabling users to explore code generation, factual Q&A, probabilistic reasoning, and paraphrasing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
---
|
| 21 |
|
| 22 |
## π Chat Modes
|
| 23 |
|
| 24 |
+
| Mode | Description | Model Used |
|
| 25 |
+
|-------------------------|-------------------------------------------------------------|----------------------------------------|
|
| 26 |
+
| π§βπ» Code Generator | Generate Python code from plain language | `Salesforce/codegen-350M-mono` |
|
| 27 |
+
| π General Q&A | Factual question answering and explanations | `google/flan-t5-base` |
|
| 28 |
+
| π Bayesian Q&A | Uncertainty-based reasoning using sampling | `google/flan-t5-base` + top-k sampling |
|
| 29 |
+
| π Deep Coder | Technical Q&A and code completion tasks | `deepseek-ai/deepseek-coder-6.7b-instruct` |
|
| 30 |
+
| π Transformer Explorer | Paraphrasing and text transformation using sequence models | `google/flan-t5-base` |
|
| 31 |
|
| 32 |
---
|
| 33 |
|
| 34 |
## π Live Demo
|
| 35 |
|
| 36 |
+
Try the chatbot here:
|
| 37 |
+
**π [https://huggingface.co/spaces/Group2255/programming-help-chatbot](https://huggingface.co/spaces/Group2255/programming-help-chatbot)**
|
| 38 |
+
|
| 39 |
+
---
|
| 40 |
+
|
| 41 |
+
## π§© Features
|
| 42 |
+
|
| 43 |
+
- Multi-mode UI for interactive exploration
|
| 44 |
+
- Efficient model switching using `st.session_state`
|
| 45 |
+
- GPU-compatible on Hugging Face Spaces
|
| 46 |
+
- Supports both deterministic and sampling-based generation
|
| 47 |
+
- Lightweight models for fast response and free-tier compatibility
|
| 48 |
|
| 49 |
---
|
| 50 |
|
| 51 |
+
## π» Run Locally
|
| 52 |
|
| 53 |
+
### β
Option 1: Python + Streamlit
|
| 54 |
|
| 55 |
```bash
|
| 56 |
git clone https://huggingface.co/spaces/Group2255/programming-help-chatbot
|