五老师

Results 5 issues of 五老师

When I use "BertForQuestionAnswering.from_pretrained" to import my pytorch_model.bin, there having a error "tarfile.ReadError: not a gzip file".So, what should I do to use my pytorch_model.bin? Thanks.

### 🐛 Describe the bug I got an error when I trained Bert large with GeminiDDP: Error location >> self.optimizer.backward(loss) error message:RuntimeError: ("ZERO DDP error: the synchronization of gradients doesn't...

bug

For example, when using KMeans, input some data that already has labels to assist in clustering or initialize the `cluster_centers_` ? Thanks and look forward to your reply.

question

我记得论文里的 loss 为 InFoNCE loss,而在你的代码实现里使用的是 BCEWithLogitsLoss,请问 BCEWithLogitsLoss 是 InFoNCE 吗?