ValueError: None is not in list Environment -OS:-Python:-Transformers:-PyTorch:-CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) : Anything else? no liuqidong07, DC-Lin, and SCZwangxiao reacted with eyes emoji ...
(2) Fairseq's MBART logic is split into two stages: usespm_encode --model sentence.bpe.modelto preprocess. (this is like encode_as_pieces in python). use avocab.jsonstyle lookup to convert each token to an ID. I'm trying to do that in one step, usingsp_model.encode_as_ids, but...