Hi, Jofre,
I am working through your notebook and stuck at the following command. Could you please let me know how to modify the command?
vocabulary = NetExtract[ResourceFunction["GPTTokenizer"][], "Tokens"]
(* this creates an error, and it is modified as follows*)
netDecoder = NetDecoder[{"Class", NetExtract[ResourceFunction["GPTTokenizer"][], "Tokens"]}]
netDecoderModified = NetDecoder[{"Class", {netEncoder, "Tokens"}}]