From 9575902415f34bcdc56b98b1a8452c16e1ea3976 Mon Sep 17 00:00:00 2001 From: Kalle Samuels Date: Tue, 26 Sep 2023 10:32:43 -0700 Subject: [PATCH] make ZeroShotClassificationModel::new_with_tokenizer public (#421) Co-authored-by: Charles Samuels --- src/pipelines/zero_shot_classification.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipelines/zero_shot_classification.rs b/src/pipelines/zero_shot_classification.rs index ea0cc327..fc7ab6b1 100644 --- a/src/pipelines/zero_shot_classification.rs +++ b/src/pipelines/zero_shot_classification.rs @@ -643,7 +643,7 @@ impl ZeroShotClassificationModel { /// # Ok(()) /// # } /// ``` - fn new_with_tokenizer( + pub fn new_with_tokenizer( config: ZeroShotClassificationConfig, tokenizer: TokenizerOption, ) -> Result {