Spaces:
Sleeping
Sleeping
Doanh Van Vu
commited on
Commit
·
7e85f61
1
Parent(s):
dbdb72a
Update recommendation weights in settings for improved model performance
Browse files- Adjusted `SEMANTIC_WEIGHT` to 1.0 and `RULE_BASED_WEIGHT` to 0.0 in `settings.py` to prioritize semantic recommendations over rule-based ones, enhancing the recommendation system's effectiveness.
- config/settings.py +2 -2
config/settings.py
CHANGED
|
@@ -28,8 +28,8 @@ class Settings(BaseSettings):
|
|
| 28 |
RECOMMENDATION_TOP_K: int = 30
|
| 29 |
RECOMMENDATION_RERANK_K: int = 15
|
| 30 |
RECOMMENDATION_FINAL_COUNT: int = 6
|
| 31 |
-
SEMANTIC_WEIGHT: float = 0
|
| 32 |
-
RULE_BASED_WEIGHT: float = 0.
|
| 33 |
|
| 34 |
@property
|
| 35 |
def CORS_ORIGINS(self) -> List[str]:
|
|
|
|
| 28 |
RECOMMENDATION_TOP_K: int = 30
|
| 29 |
RECOMMENDATION_RERANK_K: int = 15
|
| 30 |
RECOMMENDATION_FINAL_COUNT: int = 6
|
| 31 |
+
SEMANTIC_WEIGHT: float = 1.0
|
| 32 |
+
RULE_BASED_WEIGHT: float = 0.0
|
| 33 |
|
| 34 |
@property
|
| 35 |
def CORS_ORIGINS(self) -> List[str]:
|