Skip to content

Commit 773a1bd

Browse files
committed
add test models
1 parent 828dce1 commit 773a1bd

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

tests/openvino/test_modeling.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ def test_pipeline(self, model_arch):
473473
class OVModelForCausalLMIntegrationTest(unittest.TestCase):
474474
SUPPORTED_ARCHITECTURES = (
475475
"bart",
476-
"gpt_bigcode",
476+
"baichuan2" "gpt_bigcode",
477477
"blenderbot",
478478
"blenderbot-small",
479479
"bloom",
@@ -484,6 +484,7 @@ class OVModelForCausalLMIntegrationTest(unittest.TestCase):
484484
"gpt2",
485485
"gpt_neo",
486486
"gpt_neox",
487+
"jais",
487488
"llama",
488489
# "llama_gptq",
489490
"marian",
@@ -498,7 +499,7 @@ class OVModelForCausalLMIntegrationTest(unittest.TestCase):
498499
)
499500
GENERATION_LENGTH = 100
500501
IS_SUPPORT_STATEFUL = is_openvino_version(">=", "2023.3")
501-
REMOTE_CODE_MODELS = ("chatglm", "minicpm")
502+
REMOTE_CODE_MODELS = ("chatglm", "minicpm", "baichuan2", "jais")
502503

503504
@parameterized.expand(SUPPORTED_ARCHITECTURES)
504505
def test_compare_to_transformers(self, model_arch):

tests/openvino/utils_tests.py

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"beit": "hf-internal-testing/tiny-random-BeitForImageClassification",
2323
"bert": "hf-internal-testing/tiny-random-bert",
2424
"bart": "hf-internal-testing/tiny-random-bart",
25+
"baichuan2": "katuni4ka/tiny-random-baichuan2",
2526
"bigbird_pegasus": "hf-internal-testing/tiny-random-bigbird_pegasus",
2627
"blenderbot-small": "hf-internal-testing/tiny-random-BlenderbotModel",
2728
"blenderbot": "hf-internal-testing/tiny-random-BlenderbotModel",
@@ -48,6 +49,7 @@
4849
"gptj": "hf-internal-testing/tiny-random-GPTJModel",
4950
"hubert": "hf-internal-testing/tiny-random-HubertModel",
5051
"ibert": "hf-internal-testing/tiny-random-ibert",
52+
"jais": "katuni4ka/tiny-random-jais",
5153
"levit": "hf-internal-testing/tiny-random-LevitModel",
5254
"longt5": "hf-internal-testing/tiny-random-longt5",
5355
"llama": "fxmarty/tiny-llama-fast-tokenizer",

0 commit comments

Comments
 (0)