Spaces:
Running
Running
Create config/config.py
Browse files- config/config.py +10 -0
config/config.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
class ConfigConstants:
|
3 |
+
# Constants related to datasets and models
|
4 |
+
DATA_SET_PATH= '/persistent/'
|
5 |
+
EMBEDDING_MODEL_NAME = "sentence-transformers/paraphrase-MiniLM-L6-v2"
|
6 |
+
RE_RANKER_MODEL_NAME = 'cross-encoder/ms-marco-electra-base'
|
7 |
+
GENERATION_MODEL_NAME = 'gemma2-9b-it'
|
8 |
+
GENERATION_MODELS = ["llama3-8b-8192", "qwen-2.5-32b", "gemma2-9b-it" ]
|
9 |
+
DEFAULT_CHUNK_SIZE = 1000
|
10 |
+
CHUNK_OVERLAP = 200
|