kevinscaria / InstructABSA

Instructional learning for Aspect Based Sentiment Analysis [NAACL-2024]
https://aclanthology.org/2024.naacl-short.63/
MIT License
142 stars 23 forks source link

Joint tasks error #25

Open prestonswh opened 3 months ago

prestonswh commented 3 months ago

Running joint task

python run_model.py -mode cli -task joint \ -model_checkpoint kevinscaria/joint_tk-instruct-base-def-pos-neg-neut-combined \ -test_input 'The cab ride was amazing but the service was pricey'

gives this error,

run_model.py", line 110, in bos_instruction_id = instruct_handler.joint[indomain] AttributeError: 'InstructionsHandler' object has no attribute 'joint'

kevinscaria commented 3 months ago

Let me try to reproduce the results. Extremely sorry for not maintaining the repository. Will try to get a fix soon. I would also accept PRs. In case you are able to resolve this bug sooner.