mirror of
https://github.com/wassname/multifit.git
synced 2026-09-09 11:27:26 +08:00
Lower LM accuracy test threshold
This commit is contained in:
@@ -51,7 +51,5 @@ def text_df(n_labels):
|
||||
df = pd.DataFrame(data)
|
||||
return df
|
||||
|
||||
###################### NEW CODE
|
||||
|
||||
def test_val_loss(learn):
|
||||
assert learn.validate()[1] > 0.5
|
||||
assert learn.validate()[1] > 0.4
|
||||
|
||||
Reference in New Issue
Block a user