Skip to content

Commit

Permalink
Merge branch 'main' into feature/grid_search_notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
Hakimovich99 committed Dec 13, 2023
2 parents 6e6abfa + 68b36a5 commit 23e24d1
Show file tree
Hide file tree
Showing 4 changed files with 157 additions and 68 deletions.
2 changes: 1 addition & 1 deletion src/components/aggregate_eval_results/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
fondant[component]==0.8.dev4
fondant[component]==0.8.dev6
219 changes: 152 additions & 67 deletions src/eval_iter_loop.ipynb

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/pipeline_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ def create_pipeline( # noqa: PLR0913
pipeline_dir: str = "./data-dir",
embed_model_provider: str = "huggingface",
embed_model: str = "all-MiniLM-L6-v2",
embed_api_key: dict = {},
weaviate_url="http://host.docker.internal:8080",
weaviate_class_name: str = "Pipeline1",
# evaluation args
Expand Down Expand Up @@ -43,6 +44,7 @@ def create_pipeline( # noqa: PLR0913
arguments={
"model_provider": embed_model_provider,
"model": embed_model,
"api_keys": embed_api_key,
},
)

Expand Down
2 changes: 2 additions & 0 deletions src/pipeline_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ def create_pipeline( # noqa: PLR0913
pipeline_dir: str = "./data-dir",
embed_model_provider: str = "huggingface",
embed_model: str = "all-MiniLM-L6-v2",
embed_api_key: dict = {},
weaviate_url: str = "http://host.docker.internal:8080",
weaviate_class_name: str = "Pipeline1",
overwrite: bool = True,
Expand Down Expand Up @@ -49,6 +50,7 @@ def create_pipeline( # noqa: PLR0913
arguments={
"model_provider": embed_model_provider,
"model": embed_model,
"api_keys": embed_api_key,
},
)

Expand Down

0 comments on commit 23e24d1

Please sign in to comment.