Skip to content

Commit f84f7d6

Browse files
Fixed the AdamW Import Error (#1256)
* fixed the AdamW import * bumped version for release * bumped version in pyproject.toml
1 parent eaf802f commit f84f7d6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lightwood/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
__title__ = 'lightwood'
22
__package_name__ = 'lightwood'
3-
__version__ = '25.2.2.0'
3+
__version__ = '25.3.3.0'
44
__description__ = "Lightwood is a toolkit for automatic machine learning model building"
55
__email__ = "community@mindsdb.com"
66
__author__ = 'MindsDB Inc'

lightwood/encoder/text/pretrained.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
DistilBertModel,
1313
DistilBertForSequenceClassification,
1414
DistilBertTokenizerFast,
15-
AdamW,
1615
get_linear_schedule_with_warmup,
1716
)
17+
from torch.optim import AdamW
1818
from sklearn.model_selection import train_test_split
1919

2020
from lightwood.encoder.text.helpers.pretrained_helpers import TextEmbed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "lightwood"
7-
version = "25.2.2.0"
7+
version = "25.3.3.0"
88
description = "Lightwood is Legos for Machine Learning."
99
authors = ["MindsDB Inc."]
1010
license = "GPL-3.0-only"

0 commit comments

Comments
 (0)