mirror of
https://github.com/wassname/multifit.git
synced 2026-10-29 13:20:17 +08:00
Make it compatible with fastai 51
This commit is contained in:
1 parent
50b73510de
commit
724233585e
1 file changed
+1
-1
@@ -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