mirror of
https://github.com/microsoft/autogen.git
synced 2025-11-17 18:44:47 +00:00
precommit: end-of-file-fixer (#929)
* precommit: end-of-file-fixer * exclude .gitignore * apply --------- Co-authored-by: Shaokun <shaokunzhang529@gmail.com>
This commit is contained in:
parent
a3e368d2ca
commit
2ff1035733
1
.gitignore
vendored
1
.gitignore
vendored
@ -159,4 +159,3 @@ automl.pkl
|
|||||||
|
|
||||||
test/nlp/testtmp.py
|
test/nlp/testtmp.py
|
||||||
test/nlp/testtmpfl.py
|
test/nlp/testtmpfl.py
|
||||||
|
|
||||||
|
|||||||
@ -24,7 +24,9 @@ repos:
|
|||||||
- id: check-toml
|
- id: check-toml
|
||||||
- id: check-json
|
- id: check-json
|
||||||
- id: check-byte-order-marker
|
- id: check-byte-order-marker
|
||||||
|
exclude: .gitignore
|
||||||
- id: check-merge-conflict
|
- id: check-merge-conflict
|
||||||
- id: detect-private-key
|
- id: detect-private-key
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
|
- id: end-of-file-fixer
|
||||||
- id: no-commit-to-branch
|
- id: no-commit-to-branch
|
||||||
@ -346,7 +346,10 @@ class AutoMLState:
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _compute_with_config_base(
|
def _compute_with_config_base(
|
||||||
config_w_resource: dict, state: AutoMLState, estimator: str, is_report: bool = True
|
config_w_resource: dict,
|
||||||
|
state: AutoMLState,
|
||||||
|
estimator: str,
|
||||||
|
is_report: bool = True,
|
||||||
) -> dict:
|
) -> dict:
|
||||||
if "FLAML_sample_size" in config_w_resource:
|
if "FLAML_sample_size" in config_w_resource:
|
||||||
sample_size = int(config_w_resource["FLAML_sample_size"])
|
sample_size = int(config_w_resource["FLAML_sample_size"])
|
||||||
|
|||||||
@ -23,5 +23,3 @@ Our findings on troubleshooting fine-tuning the Electra and RoBERTa model for th
|
|||||||
booktitle={ACL-IJCNLP},
|
booktitle={ACL-IJCNLP},
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
0
notebook/automl_time_series_forecast.ipynb
Executable file → Normal file
0
notebook/automl_time_series_forecast.ipynb
Executable file → Normal file
@ -2,4 +2,3 @@
|
|||||||
addopts = -m "not conda"
|
addopts = -m "not conda"
|
||||||
markers =
|
markers =
|
||||||
conda: test related to conda forge distribution
|
conda: test related to conda forge distribution
|
||||||
|
|
||||||
|
|||||||
@ -131,4 +131,3 @@ module.exports = {
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -54,6 +54,3 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user