Skip to content

Commit

Permalink
[RAG]update model conversion method with optimum-intel cli (#1941)
Browse files Browse the repository at this point in the history
Switch embedding and rerank model exporter to Optimum-intel CLI.
  • Loading branch information
openvino-dev-samples authored Apr 18, 2024
1 parent 2f39486 commit b1ec8a7
Show file tree
Hide file tree
Showing 2 changed files with 353 additions and 72 deletions.
3 changes: 2 additions & 1 deletion .ci/validate_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def move_notebooks(nb_dir):
current_notebooks_dir = ROOT / "notebooks"
shutil.copytree(current_notebooks_dir, nb_dir)


def get_notebooks_subdir(changed_path, orig_nb_dir):
if (orig_nb_dir / changed_path).exists() and (orig_nb_dir / changed_path).is_dir():
notebook_subdir = orig_nb_dir / changed_path
Expand Down Expand Up @@ -74,7 +75,7 @@ def prepare_test_plan(test_list, ignore_list, nb_dir=None):
else:
ignored_notebooks.append(ig_nb)
print(f"ignored notebooks: {ignored_notebooks}")

testing_notebooks = []
if len(test_list) == 1 and test_list[0].endswith(".txt"):
testing_notebooks = []
Expand Down
Loading

0 comments on commit b1ec8a7

Please sign in to comment.