-
以下是我的代码,安装的是pyabsa最新版本
from pyabsa import AspectTermExtraction as ATEPC
from pyabsa import ModelSaveOption, DeviceTypeOption
config = (
ATEPC.ATEPCConfigManager.get_atepc_config_english()
)…
-
When training ASTEPC model with both my custom and predefined datasets but giving below error
I followed the following notebook:
https://github.com/yangheng95/PyABSA/blob/v2/examples-v2/aspect_ter…
-
Hi Yang Heng, I am trying to train the model from the checkpoint with custom data. I have already labelled the data in the correct format and also used convert_apc_set_to_atepc_set with no problem at …
-
**Version**
```Name: pyabsa
Version: 2.4.1.post1
Summary: This tool provides the state-of-the-art models for aspect term extraction (ATE), aspect polarity classification (APC), and text classificat…
-
--------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
Cell In[18], line 15
10 config.verbose = …
-
Epoch:0 | Loss:0: 0%| | 0/4 [00:03
-
Error:
Traceback (most recent call last):
File "/home/shoaib/.local/lib/python3.10/site-packages/pyabsa/tasks/AspectPolarityClassification/dataset_utils/__lcf__/apc_utils.py", line 385, in configu…
-
So currently using the GPT and some read manuals. Did I correctly setup the code and transformer model? Or are there any suggestions which I could use? I will also try with ngrams up to 3.
Maybe s…
-
## Unless you provide the REQUIRED information, your problem may not be addressed.
### PyABSA Version (Required)
pyabsa==1.1.24 ,Torch=1.5.1+cu101, Transformers =4.30.2
### ABSADataset Version …
-
### PyABSA Version (Required)
2.3.1
### Code To Reproduce (Required)
from pyabsa import ModelSaveOption, DeviceTypeOption
import warnings
warnings.filterwarnings("ignore")
config.batch_siz…