-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* `module_type` -> `module_name` * `from_datasets` -> `from_hub` * stage progress on `prediction` -> `decision` * stage progress on `Predictor` -> `Decision` * finish renaming to decision * stage progress on `retrieval` -> `embedding`
- Loading branch information
Showing
58 changed files
with
444 additions
and
456 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
# TODO: make up a better and more versatile config | ||
- node_type: retrieval | ||
- node_type: embedding | ||
metric: retrieval_hit_rate | ||
search_space: | ||
- module_type: vector_db | ||
- module_name: retrieval | ||
k: [10] | ||
embedder_name: | ||
- avsolatorio/GIST-small-Embedding-v0 | ||
- infgrad/stella-base-en-v2 | ||
- node_type: scoring | ||
metric: scoring_roc_auc | ||
search_space: | ||
- module_type: knn | ||
- module_name: knn | ||
k: [1, 3, 5, 10] | ||
weights: ["uniform", "distance", "closest"] | ||
- module_type: linear | ||
- module_type: dnnc | ||
- module_name: linear | ||
- module_name: dnnc | ||
cross_encoder_name: | ||
- BAAI/bge-reranker-base | ||
- cross-encoder/ms-marco-MiniLM-L-6-v2 | ||
k: [1, 3, 5, 10] | ||
- node_type: prediction | ||
metric: prediction_accuracy | ||
- node_type: decision | ||
metric: decision_accuracy | ||
search_space: | ||
- module_type: threshold | ||
- module_name: threshold | ||
thresh: [0.5] | ||
- module_type: argmax | ||
- module_name: argmax |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
# TODO: make up a better and more versatile config | ||
- node_type: retrieval | ||
- node_type: embedding | ||
metric: retrieval_hit_rate_intersecting | ||
search_space: | ||
- module_type: vector_db | ||
- module_name: retrieval | ||
k: [10] | ||
embedder_name: | ||
- deepvk/USER-bge-m3 | ||
- node_type: scoring | ||
metric: scoring_roc_auc | ||
search_space: | ||
- module_type: knn | ||
- module_name: knn | ||
k: [3] | ||
weights: ["uniform", "distance", "closest"] | ||
- module_type: linear | ||
- node_type: prediction | ||
metric: prediction_accuracy | ||
- module_name: linear | ||
- node_type: decision | ||
metric: decision_accuracy | ||
search_space: | ||
- module_type: threshold | ||
- module_name: threshold | ||
thresh: [0.5] | ||
- module_type: adaptive | ||
- module_name: adaptive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
- node_type: retrieval | ||
module_type: vector_db | ||
- node_type: embedding | ||
module_name: retrieval | ||
module_config: | ||
k: 10 | ||
model_name: infgrad/stella-base-en-v2 | ||
load_path: . | ||
- node_type: scoring | ||
module_type: knn | ||
module_name: knn | ||
module_config: | ||
k: 10 | ||
weights: uniform | ||
load_path: . | ||
- node_type: prediction | ||
module_type: threshold | ||
- node_type: decision | ||
module_name: threshold | ||
module_config: | ||
thresh: 0.5 | ||
load_path: . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from ._data_models import Artifact, PredictorArtifact, RetrieverArtifact, ScorerArtifact | ||
from ._data_models import Artifact, DecisionArtifact, RetrieverArtifact, ScorerArtifact | ||
from ._optimization_info import OptimizationInfo | ||
|
||
__all__ = ["Artifact", "OptimizationInfo", "PredictorArtifact", "RetrieverArtifact", "ScorerArtifact"] | ||
__all__ = ["Artifact", "DecisionArtifact", "OptimizationInfo", "RetrieverArtifact", "ScorerArtifact"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.