Spaces:
Runtime error
Runtime error
split added
Browse files
src/models/train_model.py
CHANGED
@@ -22,7 +22,7 @@ def train_model():
|
|
22 |
model.from_pretrained(model_type=params['model_type'], model_name=params['model_name'])
|
23 |
|
24 |
model.train(train_df=train_df, eval_df=eval_df,
|
25 |
-
batch_size=params['batch_size'], max_epochs=params['
|
26 |
use_gpu=params['use_gpu'], learning_rate=params['learning_rate'],
|
27 |
num_workers=params['num_workers'])
|
28 |
|
|
|
22 |
model.from_pretrained(model_type=params['model_type'], model_name=params['model_name'])
|
23 |
|
24 |
model.train(train_df=train_df, eval_df=eval_df,
|
25 |
+
batch_size=params['batch_size'], max_epochs=params['epochs'],
|
26 |
use_gpu=params['use_gpu'], learning_rate=params['learning_rate'],
|
27 |
num_workers=params['num_workers'])
|
28 |
|