    def construct(self, **kwargs) -> T:
        """
        Call the constructor to create an instance of `T`.
        """
        # If there are duplicate keys between self._constructor_extras and kwargs,
        # this will overwrite the ones in self._constructor_extras with what's in kwargs.
        contructor_kwargs = {**self._constructor_extras, **kwargs}
        return self.constructor(**contructor_kwargs)
Call the constructor to create an instance of `T`.
allennlp/common/lazy.py