Releases: labteral/ernie
Releases · labteral/ernie
1.2405.0
New Features
- Dependencies: Added
huggingface-hubto dependencies. - Docker Support: Introduced a new
Dockerfilefor building a Docker image with Python 3.12-slim-bookworm.
Improvements
- Code Formatting: Improved code formatting across various files for better readability and consistency.
- Configuration Management:
- Moved lint configuration files (
.flake8,.style.yapf) to the root directory without changes. - Added
.mypy.iniand.pylintrcconfiguration files for type checking and linting.
- Moved lint configuration files (
- Logging: Enhanced logging configuration to set logging levels for various components.
- Model Aggregation: Updated
AggregationStrategieswith improved parameter handling for binary classification strategies. - Tokenizer Handling: Improved tokenizer handling and feature extraction in
helper.py. - Split Strategies: Enhanced split strategies to handle grouped sentences and remove short groups more effectively.
Bug Fixes
- Type Handling: Replaced deprecated
np.intwithintto avoid compatibility issues. - GPU Name Retrieval: Fixed an issue with GPU name retrieval in
__init__.py.
Documentation
- README:
- Updated download badges for improved display and accuracy.
- Removed deprecated model names and added a section for HuggingFace models.
- Examples: Updated
examples/binary_classifier.pyto reflect the latest API changes and improve clarity.
Miscellaneous
- Version Bump: Updated version from
1.2308.0to1.2405.0to reflect new changes and improvements. - Setup: Modified
setup.pyto include the new dependencies and ensure compatibility with the latest versions of required packages.