mesh icon indicating copy to clipboard operation
mesh copied to clipboard

How to freeze embedding layers

Open lintangsutawika opened this issue 3 years ago • 0 comments

Hi,

I'm wondering how I might freeze token embedding layers in Unitransformer implementations. All references online seem to point to keras and not implementations with mesh.

https://github.com/tensorflow/mesh/blob/52a2332c3bb0aa5898caba7efecc8cfa0486276e/mesh_tensorflow/transformer/transformer.py#L697

Thank you

lintangsutawika avatar Oct 08 '21 18:10 lintangsutawika