You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[INFO|trainer.py:621] 2023-09-11 21:59:05,853 >> Using cuda_amp half precision backend
Traceback (most recent call last):
File "run_sts.py", line 568, in
main()
File "run_sts.py", line 503, in main
train_result = trainer.train(resume_from_checkpoint=checkpoint)
File "/home/cgt/anaconda3/envs/CSTS/lib/python3.8/site-packages/transformers/trainer.py", line 1662, in train
return inner_training_loop(
File "/home/cgt/anaconda3/envs/CSTS/lib/python3.8/site-packages/transformers/trainer.py", line 1674, in _inner_training_loop
train_dataloader = self.get_train_dataloader()
File "/home/cgt/CSTS/c-sts/utils/sts/triplet_trainer.py", line 95, in get_train_dataloader
train_sampler = TripletBatchSampler(
File "/home/cgt/CSTS/c-sts/utils/sts/triplet_trainer.py", line 40, in init
self.pairs = self._get_idx_pairs(self.trainer.train_dataset, sentence1_key, sentence2_key)
File "/home/cgt/CSTS/c-sts/utils/sts/triplet_trainer.py", line 47, in _get_idx_pairs
pairs[datum[sentence1_key] + '' + datum[sentence2_key]].append(ix)
KeyError: 'Input.sent_1'
The text was updated successfully, but these errors were encountered:
An error occurred when I reproduced simcse tri_encoder with the following parameters:
error:
The text was updated successfully, but these errors were encountered: