-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TEST][PR5] Implementing test infra (#1797)
Details: * Remove several `rum_*_pipeline` * Replace several `run_*_pipeline_and_compare` by one method * Remove `common.py` Tickets: * [159925](https://jira.devtools.intel.com/browse/CVS-159925) MERGE AFTER: * #1691 * #1702 * #1718 * #1722
- Loading branch information
Showing
8 changed files
with
152 additions
and
322 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Copyright (C) 2024 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
from typing import Tuple, List | ||
from openvino_genai import GenerationConfig | ||
from utils.generation_config import get_greedy, get_beam_search | ||
|
||
def get_test_dataset() -> Tuple[List[str], List[GenerationConfig]]: | ||
prompts = [ | ||
"What is OpenVINO?", | ||
"How are you?", | ||
"What is your name?", | ||
"Tell me something about Canada" | ||
] | ||
generation_configs = [ | ||
get_greedy(), | ||
get_beam_search(), | ||
get_greedy(), | ||
get_beam_search(), | ||
] | ||
return (prompts, generation_configs) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.