Spaces:
Running
Running
Farid Karimli
commited on
Commit
·
67db642
1
Parent(s):
527151b
Add README for HF
Browse files
README.md
CHANGED
|
@@ -1,56 +1,100 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
<a href="https://github.com/edubotics-ai/edubotics-app/blob/main/LICENSE">
|
| 11 |
-
<img src="https://img.shields.io/github/license/edubotics-ai/edubotics-app.svg">
|
| 12 |
-
</a>
|
| 13 |
-
<img src="https://img.shields.io/github/stars/edubotics-ai/edubotics-app.svg">
|
| 14 |
-
<a href="https://discord.com/channels/1293271626036805653">
|
| 15 |
-
<img alt="Discord" src="https://img.shields.io/discord/1293271626036805653?style=flat&logo=discord&label=Discord">
|
| 16 |
-
</a>
|
| 17 |
|
| 18 |
-
|
| 19 |
|
| 20 |
-
|
| 21 |
|
| 22 |
-
This repository
|
| 23 |
-
then adapt it your application domain.
|
| 24 |
|
| 25 |
-
|
| 26 |
|
| 27 |
-
|
| 28 |
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
|
|
|
|
|
|
| 32 |
|
| 33 |
-
##
|
| 34 |
|
| 35 |
-
|
| 36 |
|
| 37 |
-
|
| 38 |
|
| 39 |
-
|
| 40 |
|
| 41 |
-
|
| 42 |
|
| 43 |
-
|
| 44 |
-
- **project_config.yml**: Use this file to customize settings specific to your project.
|
| 45 |
|
| 46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
-
|
| 49 |
|
| 50 |
-
```
|
| 51 |
-
|
| 52 |
-
|
|
|
|
|
|
|
| 53 |
|
| 54 |
-
|
| 55 |
|
| 56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: DS598 AI Tutor
|
| 3 |
+
description: AI Assistant for Deep Learning for Data Science class (Spring 2025)
|
| 4 |
+
emoji: 🎓
|
| 5 |
+
colorFrom: red
|
| 6 |
+
colorTo: green
|
| 7 |
+
sdk: docker
|
| 8 |
+
app_port: 7860
|
| 9 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
+
# DS701: Tools for Data Science - Education Chatbot
|
| 12 |
|
| 13 |
+
## Overview
|
| 14 |
|
| 15 |
+
This repository contains an LLM-based chatbot designed for the Spring 2025 iteration [DS598: Deep Learning for Data Science](https://dl4ds.github.io/sp2025/) course at Boston University. The chatbot serves as an interactive learning assistant, helping students with course-related queries, explanations of concepts, and guidance on data science tools. It is powered by [edubotics-core](https://github.com/edubotics-ai/edubotics-core) a package of modules for data loading, vector store creation and management.
|
|
|
|
| 16 |
|
| 17 |
+
The chatbot is available on HuggingFace [here](https://dl4ds-sp25_tutor.hf.space).
|
| 18 |
|
| 19 |
+
## Features
|
| 20 |
|
| 21 |
+
- 24/7 availability for student queries
|
| 22 |
+
- Explanations of key data science concepts
|
| 23 |
+
- Guidance on using data science tools and libraries
|
| 24 |
+
- Practice problem suggestions and explanations
|
| 25 |
+
- Course syllabus and schedule information
|
| 26 |
|
| 27 |
+
## Getting Started Locally
|
| 28 |
|
| 29 |
+
To run the chatbot locally, follow these steps:
|
| 30 |
|
| 31 |
+
1. Clone this repository
|
| 32 |
|
| 33 |
+
`git clone https://github.com/tools4ds/ds701-tutor.git`
|
| 34 |
|
| 35 |
+
2. Set up your Python environment
|
| 36 |
|
| 37 |
+
a. Using venv (Python's built-in virtual environment):
|
|
|
|
| 38 |
|
| 39 |
+
```python
|
| 40 |
+
python -m venv .venv
|
| 41 |
+
source .venv/bin/activate # On Windows, use: ds701_env\Scripts\activate
|
| 42 |
+
pip install -r requirements.txt
|
| 43 |
+
```
|
| 44 |
|
| 45 |
+
b. Using Conda:
|
| 46 |
|
| 47 |
+
```python
|
| 48 |
+
conda create --name ds701_env python=3.9
|
| 49 |
+
conda activate ds701_env
|
| 50 |
+
conda install --file requirements.txt
|
| 51 |
+
```
|
| 52 |
|
| 53 |
+
Note: Make sure to use Python 3.9 or later.
|
| 54 |
|
| 55 |
+
3. Install dependencies
|
| 56 |
+
|
| 57 |
+
`pip install edubotics-core`
|
| 58 |
+
|
| 59 |
+
4. Set up environment variables. See `apps/ai_tutor/.env.example` for reference.
|
| 60 |
+
|
| 61 |
+
5. Run the chatbot
|
| 62 |
+
|
| 63 |
+
```python
|
| 64 |
+
cd apps/ai-tutor
|
| 65 |
+
python app.py
|
| 66 |
+
```
|
| 67 |
+
|
| 68 |
+
and navigate to localhost:8000 in your browser.
|
| 69 |
+
|
| 70 |
+
## Usage
|
| 71 |
+
|
| 72 |
+
Students can interact with the chatbot through the web interface.
|
| 73 |
+
|
| 74 |
+
Example queries:
|
| 75 |
+
|
| 76 |
+
- "Explain backpropogation."
|
| 77 |
+
- "What is the primary innnovation behind the Transformer?"
|
| 78 |
+
- "What's the difference between supervised and unsupervised learning?"
|
| 79 |
+
|
| 80 |
+
## Contributing
|
| 81 |
+
|
| 82 |
+
We welcome contributions from the community to enhance the DS701 AI Tutor. Whether you're a student, instructor, or developer, your input is valuable. Here's how you can contribute:
|
| 83 |
+
|
| 84 |
+
1. Fork the repository and create your feature branch.
|
| 85 |
+
2. Make your changes, ensuring they align with the project's goals.
|
| 86 |
+
3. Submit a pull request with a clear description of your improvements.
|
| 87 |
+
|
| 88 |
+
For more detailed information on the contribution process, please refer to our `CONTRIBUTING.md` file (unavailable yet).
|
| 89 |
+
|
| 90 |
+
## Privacy and Data Handling
|
| 91 |
+
|
| 92 |
+
This chatbot is designed with student privacy in mind. No personal information is stored, and all interactions are anonymized. For more details, please refer to our `PRIVACY_POLICY.md`.
|
| 93 |
+
|
| 94 |
+
## Support
|
| 95 |
+
|
| 96 |
+
If you encounter any issues or have suggestions for improvement, please open an issue in this repository or contact the course instructor.
|
| 97 |
+
|
| 98 |
+
## License
|
| 99 |
+
|
| 100 |
+
This project is licensed under the MIT License - see the `LICENSE.md` file for details.
|