I have been trying to implement the TransformerTranslator for my own experiments, but I ran into this error.
AssertionError: cannot pass dy.ParameterCollection to a Serializable class. Use ParamManager.my_params() from within the Serializable class's __init__() method instead.
Thus, I looked around for resources on how to use the TransformerTranslator, and found the test/config/transformer.yaml file. Sadly, after running it I ran into the exact same error. What is going wrong and how do I fix it?
I have been trying to implement the TransformerTranslator for my own experiments, but I ran into this error.
AssertionError: cannot pass dy.ParameterCollection to a Serializable class. Use ParamManager.my_params() from within the Serializable class's __init__() method instead.
Thus, I looked around for resources on how to use the TransformerTranslator, and found the test/config/transformer.yaml file. Sadly, after running it I ran into the exact same error. What is going wrong and how do I fix it?