mirror of
https://github.com/wassname/multifit.git
synced 2026-09-09 11:27:26 +08:00
Make it compatible with fastai 51
This commit is contained in:
@@ -305,7 +305,7 @@ class LMHyperParams:
|
||||
if (bunch_path / 'itos.pkl').exists():
|
||||
data = bunch_class.load(self.cache_dir, name, bs=bs)
|
||||
elif bunch_path.exists():
|
||||
data = load_data(self.cache_dir, fname=name, bs=bs)
|
||||
data = load_data(self.cache_dir, name, bs=bs)
|
||||
else:
|
||||
print(f"Running tokenization {name}...")
|
||||
data = bunch_class.from_df(path=self.cache_dir,
|
||||
|
||||
Reference in New Issue
Block a user