Spaces:
Sleeping
Sleeping
Commit
·
06284fb
1
Parent(s):
2a71f29
config fix 2
Browse files- src/config.py +5 -1
src/config.py
CHANGED
|
@@ -4,7 +4,7 @@ from pathlib import Path
|
|
| 4 |
# -------------------------------
|
| 5 |
# Hugging Face Dataset
|
| 6 |
# -------------------------------
|
| 7 |
-
DATASET_NAME = "OnlyTheTruth03/
|
| 8 |
|
| 9 |
# -------------------------------
|
| 10 |
# FAISS storage paths
|
|
@@ -20,3 +20,7 @@ DOCS_PATH = INDEX_DIR / "documents.pkl"
|
|
| 20 |
# -------------------------------
|
| 21 |
CHUNK_SIZE = 500
|
| 22 |
CHUNK_OVERLAP = 50
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
# -------------------------------
|
| 5 |
# Hugging Face Dataset
|
| 6 |
# -------------------------------
|
| 7 |
+
DATASET_NAME = "OnlyTheTruth03/ott" # change ONLY if dataset name changes
|
| 8 |
|
| 9 |
# -------------------------------
|
| 10 |
# FAISS storage paths
|
|
|
|
| 20 |
# -------------------------------
|
| 21 |
CHUNK_SIZE = 500
|
| 22 |
CHUNK_OVERLAP = 50
|
| 23 |
+
# ===============================
|
| 24 |
+
# Retrieval config
|
| 25 |
+
# ===============================
|
| 26 |
+
TOP_K = 4 # number of chunks retrieved per query
|