yangheng95 / PyABSA

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

Regard lcfs_atepc #129

Closed Astudnew closed 2 years ago

Astudnew commented 2 years ago

Hello please could you help me use pyABSA to lcfs_atepc (using my own dataset and pre-triend bert model) on google colab? I need complete steps/code Thanks in Advance

yangheng95 commented 2 years ago

Please see https://colab.research.google.com/drive/1LOBc_yJupqk3HIK9kYW0_RCAWkn73lt0?usp=sharing

Astudnew commented 2 years ago

Thank you, but if my dataset is not in English can I use this code? also if I have the training and testing datasets where is the place of the test dataset in the code?

yangheng95 commented 2 years ago

Sry I fail to understand you. You can use almost all languages thanks for transformers. Just follow the instructions in ABSADatasets https://github.com/yangheng95/ABSADatasets to use your dataset in PyABSA

Astudnew commented 2 years ago

Sry I fail to understand you. You can use almost all languages thanks to transformers. Just follow the instructions in ABSADatasets https://github.com/yangheng95/ABSADatasets to use your dataset in PyABSA

In the old Atepc repository the dataset has two labels one for tag and another for polarity, can I use this format directly in this notebook? and for inference what should i put instead of ABSADatasetList.Laptop14? Note (my dataset not in english)