apytel commited on
Commit ·
5582d21
1
Parent(s): a2efaea
Switches data directory to local path for easier access
Browse filesReplaces remote storage path with a local directory for data files,
simplifying data access and reducing external dependencies during
development or testing.
- .gitignore +3 -0
- src/__pycache__/config.cpython-313.pyc +0 -0
- src/config.py +2 -2
.gitignore
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
data/chunks.parquet
|
| 2 |
+
src/__pycache__/config.cpython-313.pyc
|
| 3 |
+
data/bm25.pkl
|
src/__pycache__/config.cpython-313.pyc
CHANGED
|
Binary files a/src/__pycache__/config.cpython-313.pyc and b/src/__pycache__/config.cpython-313.pyc differ
|
|
|
src/config.py
CHANGED
|
@@ -18,9 +18,9 @@ HF_MODELS = [
|
|
| 18 |
"mistralai/Mistral-7B-Instruct-v0.3",
|
| 19 |
]
|
| 20 |
|
| 21 |
-
DATA_DIR = "
|
| 22 |
CHUNKS_FILE = DATA_DIR + "/chunks.parquet"
|
| 23 |
-
FAISS_FILE = DATA_DIR +"/index.faiss"
|
| 24 |
BM25_FILE = DATA_DIR + "/bm25.pkl"
|
| 25 |
|
| 26 |
WIKI_BASE_URL = "https://wiki.freecad.org"
|
|
|
|
| 18 |
"mistralai/Mistral-7B-Instruct-v0.3",
|
| 19 |
]
|
| 20 |
|
| 21 |
+
DATA_DIR = "data"
|
| 22 |
CHUNKS_FILE = DATA_DIR + "/chunks.parquet"
|
| 23 |
+
FAISS_FILE = DATA_DIR + "/index.faiss"
|
| 24 |
BM25_FILE = DATA_DIR + "/bm25.pkl"
|
| 25 |
|
| 26 |
WIKI_BASE_URL = "https://wiki.freecad.org"
|