dependencies maintainance updates #2091
Annotations
2 errors and 1 warning
test:
flair/trainers/language_model_trainer.py#L1
Black format check
--- /home/runner/work/flair/flair/flair/trainers/language_model_trainer.py 2024-02-02 20:00:09.980493+00:00
+++ /home/runner/work/flair/flair/flair/trainers/language_model_trainer.py 2024-02-02 20:02:40.826668+00:00
@@ -225,13 +225,11 @@
if self.optimizer_state is not None:
optimizer.load_state_dict(self.optimizer_state)
if isinstance(optimizer, (AdamW, SGDW)):
- scheduler: ReduceLROnPlateau = ReduceLRWDOnPlateau(
- optimizer, factor=anneal_factor, patience=patience
- )
+ scheduler: ReduceLROnPlateau = ReduceLRWDOnPlateau(optimizer, factor=anneal_factor, patience=patience)
else:
scheduler = ReduceLROnPlateau(optimizer, factor=anneal_factor, patience=patience)
training_generator = DataLoader(self.corpus.train, shuffle=False, num_workers=num_workers)
|
test
Process completed with exit code 1.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|