Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
create_pretrained_model.py
CHANGED
|
@@ -174,7 +174,7 @@ def create_pretrained_model(output_dir: str = "./models",
|
|
| 174 |
'cross_modal': generator.CROSS_MODAL_FEATURES
|
| 175 |
},
|
| 176 |
'model_parameters': {
|
| 177 |
-
'model_type':
|
| 178 |
'random_state': random_state,
|
| 179 |
'n_estimators': config.model.n_estimators,
|
| 180 |
'learning_rate': config.model.learning_rate,
|
|
|
|
| 174 |
'cross_modal': generator.CROSS_MODAL_FEATURES
|
| 175 |
},
|
| 176 |
'model_parameters': {
|
| 177 |
+
'model_type': 'GradientBoostingClassifier',
|
| 178 |
'random_state': random_state,
|
| 179 |
'n_estimators': config.model.n_estimators,
|
| 180 |
'learning_rate': config.model.learning_rate,
|