joaopauloschuler
released this
30 Sep 16:40
·
45 commits
to master
since this release
CAI Neural API v2.0.0 Release Notes
New Source Code Examples
Several new examples to help you get started with various neural network applications:
- Malaria Cell Infection Image Classification
- Colorectal Cancer Image Classification
- Plant Leaf Disease Image Classification for the PlantVillage Dataset
- Sentiment Analysis
- NLP Support: Tokenizer, Samplers, Transformer Decoder
- Pre-trained Models
- GPT-3 Small
New Layers
Enhance your neural networks with the following new layers:
- TNNetPadXY
- TNNetCrop
- TNNetMaxPoolWithPosition
- TNNetTransposeXD
- TNNetTransposeYD
- TNNetDotProducts
- TNNetEmbedding
- TNNetAddPositionalEmbedding
- TNNetTokenAndPositionalEmbedding
- TNNetChannelNorm
- TNNetSignedSquareRoot
- TNNetSignedSquareRoot1
- TNNetSignedSquareRootN
- TNNetReLUP
- TNNetPointwiseNorm
- TNNetPointwiseSoftMax
- TNNet.AddSelfAttentionCAI
- TNNet.AddTransformerBlockCAI
Other New Features
Enhancements and new functionalities introduced in this release:
- Image Support:
- Added TIFF image support.
- Classification Enhancements:
- Added
TNeuralFitWithImageBase.ClassifyImageFromFile
.
- Added
- Data Handling:
- Added
TStringStringList.LoadFromCsv
andTStringStringList.SaveToCsv
. - Added
TVolume.OneHotEncoding(aTokens: array of integer)
,TVolume.OneHotEncoding(aTokens: string)
, andTVolume.OneHotEncodingReversed(aTokens: string)
.
- Added
- Neural Network Enhancements:
- Added
TNNetNeuron.Bias
property.
- Added
- Volume Operations:
- Debugging and Logging:
- Added OpenCL debug status.
- Training Enhancements:
- Added Adam Optimizer:
TNeuralOptimizerAdam
. - Added the option to save the neural network when the best loss is found (commit details).
- Added MinBackpropagationErrorProportion fitting property.
- Added
TNeuralFitBase.LogEveryBatches
to control log frequency.
- Added Adam Optimizer:
- Dependencies:
- Removed MTPCPU dependency.
- NLP:
Enhancements and Fixes
- Stability Improvements:
- Fitting (training) is now a lot more stable.
- Memory Optimizations:
- Implemented numerous memory optimizations.
- Enhanced memory-efficient grouped pointwise convolutions.
- Bug Fixes:
- Various bugs have been fixed.
- Documentation:
- Improved documentation and added more comprehensive source code comments.
- Added plenty of YouTube Videos for better learning and implementation guidance.
Thank you for using the Pascal based Neural API! For any questions or feedback, please visit the GitHub repository.