Spaces:
Sleeping
Sleeping
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -1,12 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
|
|
10 |
---
|
11 |
|
12 |
-
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
# π€ DataSynth
|
3 |
+
|
4 |
+
**DataSynth** is an AI chatbot built using the powerful Gemma 2B language model.
|
5 |
+
It provides intelligent responses and is accessible via a user-friendly Gradio interface.
|
6 |
+
The project is hosted on Hugging Face Spaces.
|
7 |
+
|
8 |
+
---
|
9 |
+
|
10 |
+
## π Features
|
11 |
+
|
12 |
+
- Text generation using Google's Gemma 2B model
|
13 |
+
- Chatbot interface powered by Gradio
|
14 |
+
- Deployed on Hugging Face Spaces
|
15 |
+
- Easy integration with LangChain and HuggingFace Hub
|
16 |
+
|
17 |
+
---
|
18 |
+
|
19 |
+
## π οΈ Tech Stack
|
20 |
+
|
21 |
+
| Component | Technology | Purpose |
|
22 |
+
|---------------------|------------------------|------------------------------------|
|
23 |
+
| π€ LLM | Gemma 2B | Language model |
|
24 |
+
| π§ Framework | LangChain | LLM prompt and logic control |
|
25 |
+
| π¬ UI | Gradio | Chat interface |
|
26 |
+
| βοΈ Hosting | Hugging Face Spaces | Deploying and sharing |
|
27 |
+
| π Integration | huggingface_hub | Push/pull model/code |
|
28 |
+
|
29 |
+
---
|
30 |
+
|
31 |
+
## π¦ Requirements
|
32 |
+
|
33 |
+
- Python 3.8+
|
34 |
+
- `transformers`
|
35 |
+
- `langchain`
|
36 |
+
- `langchain_huggingface`
|
37 |
+
- `gradio`
|
38 |
+
- `huggingface_hub`
|
39 |
+
|
40 |
---
|
41 |
+
|
42 |
+
## π Project Structure
|
43 |
+
|
44 |
+
DataSynth/
|
45 |
+
βββ app.py
|
46 |
+
βββ README.md
|
47 |
+
βββ requirements.txt
|
48 |
+
βββ DataSynth.py
|
49 |
+
|
50 |
---
|
51 |
|
52 |
+
## π Run the App
|
53 |
+
|
54 |
+
You can launch the chatbot from Hugging Face Spaces once deployed, or run locally via Colab or your terminal.
|
55 |
+
|