query2labels
query2labels copied to clipboard
I haven't read the code carefully, but is there an issue with this line...
https://github.com/SlongLiu/query2labels/blob/55eb05064f4badbe03423b79e5c9d143da2dff2e/lib/models/transformer.py#L35
Shouldn't it be changed to
if num_encoder_layers > 0: