Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Bigdata Project Assets
|
| 3 |
+
emoji: 📂
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: indigo
|
| 6 |
+
sdk: static
|
| 7 |
+
pinned: false
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# Bigdata Project Assets 🚀
|
| 11 |
+
|
| 12 |
+
This repository contains the essential data snapshots for the **Bigdata AI Document Processing System**. These assets facilitate the seamless migration and setup of the project across different machines.
|
| 13 |
+
|
| 14 |
+
## 📦 What's Included?
|
| 15 |
+
|
| 16 |
+
Currently, this repository houses the **Core Database Snapshots** (the "Brain" of the RAG system):
|
| 17 |
+
|
| 18 |
+
- **`infra_milvus_data.tar.gz`**: Vector database snapshots containing all indexed document embeddings (BGE-M3).
|
| 19 |
+
- **`infra_postgres_data.tar.gz`**: Metadata and relational data including document references and system configurations.
|
| 20 |
+
- **`infra_minio_data.tar.gz`**: Object storage metadata and small-scale processed assets.
|
| 21 |
+
- **`infra_etcd_data.tar.gz`**: Configuration state for the Milvus cluster.
|
| 22 |
+
|
| 23 |
+
### ⚠️ Note on Data Size
|
| 24 |
+
The raw source datasets (like **RVL-CDIP**, which is **48GB**) are **NOT** included in these primary snapshots to keep the migration process fast and efficient. These snapshots allow the RAG (Retrieval-Augmented Generation) system to remain fully functional for querying and chat, even without the massive raw source files.
|
| 25 |
+
|
| 26 |
+
## 🛠️ How to Restore
|
| 27 |
+
|
| 28 |
+
These files are intended to be used with the `restore_from_hf.py` script found in the main project repository.
|
| 29 |
+
|
| 30 |
+
1. **Clone the Repo**:
|
| 31 |
+
```bash
|
| 32 |
+
git clone https://github.com/congkx123789/bigdata_project.git
|
| 33 |
+
```
|
| 34 |
+
2. **Set Hugging Face Token**:
|
| 35 |
+
```bash
|
| 36 |
+
export HF_TOKEN="your_token_here"
|
| 37 |
+
```
|
| 38 |
+
3. **Run Setup**:
|
| 39 |
+
```bash
|
| 40 |
+
./setup.sh
|
| 41 |
+
# Select 'y' when prompted to restore data from Hugging Face.
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
## 👨💻 Maintainer
|
| 45 |
+
Maintained by **Cong123779**.
|