yangheng95 / PyABSA

Sentiment Analysis, Text Classification, Text Augmentation, Text Adversarial defense, etc.;
https://pyabsa.readthedocs.io
MIT License
955 stars 161 forks source link

请问怎样将LCF-ATEPC保存的模型作为预测时导入的本地checkpoint? #167

Closed 64rmb closed 2 years ago

yangheng95 commented 2 years ago

如果是LCF-ATEPC库保存的模型不支持导入。如果是本仓库保存的模型,请参阅demo: https://github.com/yangheng95/PyABSA/blob/release/demos/aspect_term_extraction/extract_aspects.py