mirror of
https://github.com/wassname/multifit.git
synced 2026-09-09 11:27:26 +08:00
Expose validate_cls in ulmfit module
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ class ULMFiT:
|
||||
@wraps(CLSHyperParams)
|
||||
def cls(self, dataset_path, base_lm_path, **changes):
|
||||
params = CLSHyperParams.from_lm(dataset_path, base_lm_path, **changes)
|
||||
return FireView(train=params.train_cls)
|
||||
return FireView(train=params.train_cls, validate_cls=params.validate_cls)
|
||||
|
||||
if __name__ == '__main__':
|
||||
fire.Fire(ULMFiT())
|
||||
Reference in New Issue
Block a user