mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-23 22:32:54 +08:00
add cpm_o test
Former-commit-id: 10073319b4215be900744a28a61bd442e70143cc
This commit is contained in:
parent
63bb2b7235
commit
8c79fe6a5a
@ -127,6 +127,7 @@ def test_base_plugin():
|
||||
_check_plugin(**check_inputs)
|
||||
|
||||
|
||||
@pytest.mark.skipif(not HF_TOKEN, reason="Gated model.")
|
||||
def test_cpm_o_plugin():
|
||||
tokenizer_module = _load_tokenizer_module(model_name_or_path="openbmb/MiniCPM-V-2_6")
|
||||
cpm_o_plugin = get_mm_plugin(name="cpm_o", image_token="<image>")
|
||||
|
Loading…
x
Reference in New Issue
Block a user