PyABSA
PyABSA copied to clipboard
the output is empty
hi, when I try to extract the aspect item by using the aspect_extractor.predict, but the output is empty, is there any limitation for the length of the text?
Yes. Them max sequence length is set to 128 generally, which improves the efficiency. If you want to have better performance, try to train on your own dataset and set larger max length.
Could you let us know where this max_length parameter is set? Any way to override it?
In the config object, e.g., set config.max_seq_length=512