Open DrewGalbraith opened 2 months ago
A valid concern is that the LongNetConfig
object will have a class atrribute model_type
that doesn't match the autoregistered set up in eval_suite.py
. Likely, this is why the line in question was added. This can be corrected by making a copy of the DecoderConfig
class with a different model_type
class attribute, then using that in the autoregistration instead of DecoderConfig
.
@JacksonSearle, is there a LongNet in the group repo yet that I can test this on?
Also, while we're at it, we should uncomment lines 7 and 20 in eval_main.py
.
They lead to unexpected behavior (read: a silent failure) commented out as they are now.
Commit a9dc6c7 from #63 breaks eval_suite.py.
It introduces the following error:
The
longnet
reference in eval_suite.py overwrites thecustom_transformer
registration on the line before. This line should be removed for the transformers to run correctly.