yangheng95 / PyABSA

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

How to use ATEPC for APC inference #31

Closed neoyipeng2018 closed 3 years ago

neoyipeng2018 commented 3 years ago

Hi,

Thanks for creating this repo, it's very useful!

So I've created a ATEPC model, and now only want to do APC inference - is that possible? Don't see that in the examples so far.

Thanks, Yi Peng

yangheng95 commented 3 years ago

check this parameter: https://github.com/yangheng95/PyABSA/blob/058ae4ef2ac9d150da75dec534118b3125b1f78a/examples/aspect_term_extraction/extract_aspects.py#L40

yangheng95 commented 3 years ago

We cannot use atepc model predict sentiment only now, it's a additional feature of atepc task.

neoyipeng2018 commented 3 years ago

I see, thanks for the clarification!

On Sat, 19 Jun 2021, 16:11 YangHeng, @.***> wrote:

We cannot use atepc model predict sentiment only now, it's a additional feature of atepc task.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yangheng95/PyABSA/issues/31#issuecomment-864373926, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKHA2KYHR6ZDMGDLEBOS4TDTTRGMXANCNFSM4662VLJA .