-
Notifications
You must be signed in to change notification settings - Fork 465
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# 0.3.4 | ||
This release is a big design change and refactor. It involves a significant change in the Configuration file structure, meaning this is a **breaking upgrade**. | ||
For those upgrading from an older version of ZenML, we ask to please delete their old `pipelines` dir and `.zenml` folders and start afresh with a `zenml init`. | ||
|
||
If only working locally, this is as simple as: | ||
|
||
``` | ||
cd zenml_enabled_repo | ||
rm -rf pipelines/ | ||
rm -rf .zenml/ | ||
``` | ||
|
||
And then another ZenML init: | ||
|
||
``` | ||
pip install --upgrade zenml | ||
cd zenml_enabled_repo | ||
zenml init | ||
``` | ||
|
||
# New Features | ||
* Introduced another higher-level pipeline: The [NLPPipeline](https://github.com/maiot-io/zenml/blob/main/zenml/pipelines/nlp_pipeline.py). This is a generic | ||
NLP pipeline for a text-datasource based training task. Full example of how to use the NLPPipeline can be found [here](https://github.com/maiot-io/zenml/tree/main/examples/nlp) | ||
* Introduced a [BaseTokenizerStep](https://github.com/maiot-io/zenml/blob/main/zenml/steps/tokenizer/base_tokenizer.py) as a simple mechanism to define how to train and encode using any generic | ||
tokenizer (again for NLP-based tasks). | ||
|
||
# Bug Fixes + Refactor | ||
* Significant change to imports: Now imports are way simpler and user-friendly. E.g. Instead of: | ||
```python | ||
from zenml.core.pipelines.training_pipeline import TrainingPipeline | ||
``` | ||
|
||
A user can simple do: | ||
|
||
```python | ||
from zenml.pipelines import TrainingPipeline | ||
``` | ||
|
||
The caveat is of course that this might involve a re-write of older ZenML code imports. | ||
|
||
Note: Future releases are also expected to be breaking. Until announced, please expect that upgrading ZenML versions may cause older-ZenML | ||
generated pipelines to behave unexpectedly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.3.4rc0 | ||
0.3.4 |