dataset update
Browse files- app.py +3 -2
- json/semantic_search_params.json +1 -1
- parquet/app_dataset.parquet +2 -2
app.py
CHANGED
@@ -112,14 +112,15 @@ shape, loc, scale = gamma_params["shape"], gamma_params["loc"], gamma_params["sc
|
|
112 |
max_dist, precision_cdf = gamma_params["max_dist"], gamma_params["precision_cdf"]
|
113 |
y_cdf, _ = dh_app.configura_distr_prob(shape, loc, scale, max_dist, precision_cdf)
|
114 |
|
115 |
-
# Parámetros de
|
116 |
k = semantic_search_params["k"]
|
117 |
brevity_penalty = semantic_search_params["brevity_penalty"]
|
118 |
min_length = semantic_search_params["min_length"]
|
119 |
reward_for_literal = semantic_search_params["reward_for_literal"]
|
120 |
first_term_reward = semantic_search_params["first_term_reward"]
|
121 |
partial_match_factor = semantic_search_params["partial_match_factor"]
|
122 |
-
print(f"VSS params: k={k}, brevity_penalty={brevity_penalty}, reward_for_literal={reward_for_literal}, partial_match_factor={partial_match_factor}")
|
|
|
123 |
|
124 |
filtros_keys = caracteristicas[2:]
|
125 |
|
|
|
112 |
max_dist, precision_cdf = gamma_params["max_dist"], gamma_params["precision_cdf"]
|
113 |
y_cdf, _ = dh_app.configura_distr_prob(shape, loc, scale, max_dist, precision_cdf)
|
114 |
|
115 |
+
# Parámetros de búsqueda VSS:
|
116 |
k = semantic_search_params["k"]
|
117 |
brevity_penalty = semantic_search_params["brevity_penalty"]
|
118 |
min_length = semantic_search_params["min_length"]
|
119 |
reward_for_literal = semantic_search_params["reward_for_literal"]
|
120 |
first_term_reward = semantic_search_params["first_term_reward"]
|
121 |
partial_match_factor = semantic_search_params["partial_match_factor"]
|
122 |
+
print(f"VSS params: k={k}, brevity_penalty={brevity_penalty}, reward_for_literal={reward_for_literal}, partial_match_factor={partial_match_factor}", end="")
|
123 |
+
print(f", min_length={min_length}, first_term_reward={first_term_reward}")
|
124 |
|
125 |
filtros_keys = caracteristicas[2:]
|
126 |
|
json/semantic_search_params.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
"semantic_search_params": {
|
3 |
"k": 2000,
|
4 |
"brevity_penalty": 0.1,
|
5 |
-
"min_length":
|
6 |
"reward_for_literal": 0.03,
|
7 |
"first_term_reward": 20,
|
8 |
"partial_match_factor": 0.8
|
|
|
2 |
"semantic_search_params": {
|
3 |
"k": 2000,
|
4 |
"brevity_penalty": 0.1,
|
5 |
+
"min_length": 190,
|
6 |
"reward_for_literal": 0.03,
|
7 |
"first_term_reward": 20,
|
8 |
"partial_match_factor": 0.8
|
parquet/app_dataset.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fb2afe670c420f911f7f408c16a0d9121fb4b0ce54ede29fc83e0676e2063106
|
3 |
+
size 48140762
|