Spaces:
Running
Running
Create README.md
Browse files
README.md
CHANGED
|
@@ -1,11 +1,26 @@
|
|
| 1 |
---
|
| 2 |
-
title: DataSensei
|
| 3 |
-
emoji: 📈
|
| 4 |
-
colorFrom: purple
|
| 5 |
-
colorTo: blue
|
| 6 |
-
sdk: static
|
| 7 |
-
pinned: false
|
| 8 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
-
|
|
|
|
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: mit
|
| 3 |
+
title: DataSensei🧙♂️
|
| 4 |
+
sdk: static
|
| 5 |
+
emoji: 🚀
|
| 6 |
+
short_description: 'DataSensei is a lightweight, anime-themed AI mentor trained '
|
| 7 |
+
---
|
| 8 |
+
with open("README.md", "w") as f:
|
| 9 |
+
f.write("""
|
| 10 |
+
# 🧙♂️ DataSensei – Offline AI Chatbot for Data Science (Static Version)
|
| 11 |
+
|
| 12 |
+
**DataSensei** is an anime-style, expert-level offline chatbot for learning Python, machine learning, deep learning, and NLP — all without using paid APIs or internet access.
|
| 13 |
+
It uses the open-source [Phi-2 (1.3B)](https://huggingface.co/microsoft/phi-2) model and anime-inspired prompt formatting to simulate a calm, wise, and code-friendly AI mentor 🌸.
|
| 14 |
+
|
| 15 |
---
|
| 16 |
+
## How to Run
|
| 17 |
+
|
| 18 |
+
Install dependencies:
|
| 19 |
+
|
| 20 |
+
```bash
|
| 21 |
+
pip install transformers accelerate sentencepiece
|
| 22 |
+
|
| 23 |
+
Use in Python or Colab:
|
| 24 |
|
| 25 |
+
from ask_datasensei import ask_datasensei
|
| 26 |
+
print(ask_datasensei("What is regularization in ML?"))
|