Hello, THX for your shared code of TNet.
However, I observed that an error in "read" function about TNet. Specifically, in utils.py:
words.append(t.strip(end))
target_words.append(t.strip(end))
if use t.strip(), it will cause an error , such as 'nicki/n'.strip('/n') the ouptut is 'icki' rather than 'nicki'
when I try to use t[:-2] to replace t.strip():
words.append(t[:-2])
target_words.append(t[:-2])
I find that the best accuracy and F1-score reported in your paper can not be achieved on those three datasets (Laptop, REST, TWITTER).