Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
name = "weather-model"
version = "1.0.0"
dependencies = [
"datasets==4.0.0",
"datasets==5.1.0",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Upgrading datasets to a new major version (5.1.0) can introduce breaking changes, especially for internal imports. In weather/trainer.py (lines 22-23), Dataset and DatasetDict are imported from internal modules (datasets.arrow_dataset and datasets.dataset_dict). These internal paths are subject to change or removal in major releases. It is highly recommended to update those imports to use the public API: from datasets import Dataset, DatasetDict to ensure compatibility and long-term maintainability.

"torch==2.4.0", # make sure this matches the `container_uri` in `notebooks/3-training.ipynb`
"transformers==5.13.0",
]
Expand Down
Loading