-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port changes from "use pickler alternatives" to 3.6.x
- Loading branch information
Showing
24 changed files
with
1,606 additions
and
476 deletions.
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,19 @@ | ||
Replace `pickle` and `joblib` with safer alternatives, e.g. `json`, `safetensors`, and `skops`, for | ||
serializing components. | ||
|
||
**Note**: This is a model breaking change. Please retrain your model. | ||
|
||
If you have a custom component that inherits from one of the components listed below and modified the `persist` or | ||
`load` method, make sure to update your code. Please contact us in case you encounter any problems. | ||
|
||
Affected components: | ||
|
||
- `CountVectorFeaturizer` | ||
- `LexicalSyntacticFeaturizer` | ||
- `LogisticRegressionClassifier` | ||
- `SklearnIntentClassifier` | ||
- `DIETClassifier` | ||
- `CRFEntityExtractor` | ||
- `TrackerFeaturizer` | ||
- `TEDPolicy` | ||
- `UnexpectedIntentTEDPolicy` |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Oops, something went wrong.