candle
candle copied to clipboard
fix: missing shared tensor in bert::BertLMPredictionHead
(cls.predictions.decoder.weight, bert.embeddings.word_embeddings.weight) and (cls.predictions.decoder.bias, cls.predictions.bias) are shared tensor in BertForMaskedLM model. They may not exist in model.safetensors file.