-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add IPEX model and README update ipex modeling and add case for text-generation and text-classification Signed-off-by: Wang, Yi A <[email protected]> * fix style * IPEX modeling refactorization * typo * remove use cache arg when loading model * fix style * move tests * remove readme * add test * add warning if use_cache mismatch * fix * format * update setup * add use_cache attribute --------- Signed-off-by: Wang, Yi A <[email protected]> Co-authored-by: Feng, Jiqing <[email protected]>
- Loading branch information
1 parent
a622f4d
commit 805e737
Showing
18 changed files
with
969 additions
and
190 deletions.
There are no files selected for viewing
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
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
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
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
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 |
---|---|---|
@@ -1 +1,8 @@ | ||
from optimum.intel.ipex.modeling_base import ( | ||
IPEXModelForCausalLM, | ||
IPEXModelForMaskedLM, | ||
IPEXModelForSequenceClassification, | ||
IPEXModelForTokenClassification, | ||
) | ||
|
||
from .inference import inference_mode |
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
Oops, something went wrong.