src/transformers/models/blenderbot/modeling_tf_blenderbot.py/TFBlenderbotMainLayer/set_input_embeddings
class TFBlenderbotMainLayer:    def set_input_embeddings(self, new_embeddings):
        self.shared = new_embeddings
        self.encoder.embed_tokens = self.shared
        self.decoder.embed_tokens = self.shared