There was an error while loading. Please reload this page.
1 parent 202186e commit 50ada01Copy full SHA for 50ada01
1 file changed
modules/data/bert_data_clf.py
@@ -260,4 +260,4 @@ def get_data_loader_for_predict(data, df_path=None, df=None):
260
idx2cls=data.train_ds.idx2cls,
261
df=df, tokenizer=data.train_ds.tokenizer, **config)
262
return TextDataLoader(
263
- ds, device=data.train_dl.device, batch_size=data.train_dl.batch_size, shuffle=False)
+ ds, device=data.train_dl.device, batch_size=data.train_dl.batch_size, shuffle=False), ds
0 commit comments