HF RL Explorer

You are working on the keras-team/keras repository. The source code is checked out at /testbed at commit…

You are working on the keras-team/keras repository. The source code is checked out at /testbed at commit…: a task in SWE-Lego-RL-2699 (Harbor dataset). vocab = "a", "b", "c", "d" data = "a", "c", "d" , "d", "z", "b" layer = tf.keras.layers.StringLookup(vocabulary=tf.convert to tensor(vocab) mask…

The task

vocab = ["a", "b", "c", "d"] data = [["a", "c", "d"], ["d", "z", "b"]] layer = tf.keras.layers.StringLookup(vocabulary=tf.convert_to_tensor(vocab) mask_token="[MASK]") layer(data) ```

Part of Lego-X/Lego-RL-2699.