BERT-Aspect icon indicating copy to clipboard operation
BERT-Aspect copied to clipboard

BERT Fine-tuning for Aspect Based Sentiment Analysis

Results 2 BERT-Aspect issues
Sort by recently updated
recently updated
newest added

for layer_i in range(0, self.numlayers)] , dim=-1) # noqa TypeError: string indices must be integers

Hi, I ran your code, I think there are some issues that make the data weird with open(test_file, 'r', encoding='latin1') as f: lines = f.readlines() for i in range(0, len(lines),...