зеркало из https://github.com/microsoft/FLAML.git
Revert c6a5dd1a0
This commit is contained in:
Родитель
33b1a1853b
Коммит
e55e35adea
|
@ -571,7 +571,9 @@ class TransformersEstimator(BaseEstimator):
|
|||
@property
|
||||
def data_collator(self):
|
||||
from flaml.automl.task.task import Task
|
||||
from flaml.automl.nlp.huggingface.data_collator import task_to_datacollator_class
|
||||
from flaml.automl.nlp.huggingface.data_collator import (
|
||||
task_to_datacollator_class,
|
||||
)
|
||||
|
||||
data_collator_class = task_to_datacollator_class.get(
|
||||
self._task.name if isinstance(self._task, Task) else self._task
|
||||
|
@ -2040,7 +2042,7 @@ class TS_SKLearn(SKLearnEstimator):
|
|||
space.update(
|
||||
{
|
||||
"optimize_for_horizon": {
|
||||
"domain": tune.choice([False]),
|
||||
"domain": tune.choice([True, False]),
|
||||
"init_value": False,
|
||||
"low_cost_init_value": False,
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче