Metadata-Version: 2.1
Name: bert-for-tf2
Version: 0.1.4
Summary: A TensorFlow 2.0 Keras implementation of BERT.
Home-page: https://github.com/kpe/bert-for-tf2/
Author: kpe
Author-email: kpe.git@gmailbox.org
License: MIT
Description: BERT for TensorFlow v2
        ======================
        
        |Build Status| |Coverage Status| |Version Status| |Python Versions|
        
        This repo contains a `TensorFlow v2`_ `Keras`_ implementation of `google-research/bert`_
        with support for loading of the original `pre-trained weights`_,
        and producing activations **numerically identical** to the one calculated by the original model.
        
        
        The implementation is build from scratch using only basic tensorflow operations,
        following the code in `google-research/bert/modeling.py`_
        (but skipping dead code and applying some simplifications). It also utilizes `kpe/params-flow`_ to reduce
        common Keras boilerplate code (related to passing model and layer configuration arguments).
        
        
        LICENSE
        -------
        
        MIT. See `License File <https://github.com/kpe/bert-for-tf2/blob/master/LICENSE.txt>`_.
        
        Install
        -------
        
        ``bert-for-tf2`` is on the Python Package Index (PyPI):
        
        ::
        
            pip install bert-for-tf2
        
        Usage
        -----
        
        TBD
        
        
        Resources
        ---------
        
        - `BERT`_ - BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
        - `google-research/bert`_ - the original BERT implementation
        - `kpe/params-flow`_ - A Keras coding style for for reducing `Keras`_ boilerplate code in custom layers by utilizing `kpe/py-params`_
        
        
        .. _`kpe/params-flow`: https://github.com/kpe/params-flow
        .. _`kpe/py-params`: https://github.com/kpe/py-params
        
        .. _`Keras`: https://keras.io
        .. _`TensorFlow v2`: https://www.tensorflow.org/versions/r2.0/api_docs/python/tf
        .. _`pre-trained weights`: https://github.com/google-research/bert#pre-trained-models
        .. _`google-research/bert`: https://github.com/google-research/bert
        .. _`google-research/bert/modeling.py`: https://github.com/google-research/bert/blob/master/modeling.py
        .. _`BERT`: https://arxiv.org/abs/1810.04805
        
        .. |Build Status| image:: https://travis-ci.org/kpe/bert-for-tf2.svg?branch=master
           :target: https://travis-ci.org/kpe/bert-for-tf2
        .. |Coverage Status| image:: https://coveralls.io/repos/kpe/bert-for-tf2/badge.svg?branch=master
           :target: https://coveralls.io/r/kpe/bert-for-tf2?branch=master
        .. |Version Status| image:: https://badge.fury.io/py/bert-for-tf2.svg
           :target: https://badge.fury.io/py/bert-for-tf2
        .. |Python Versions| image:: https://img.shields.io/pypi/pyversions/bert-for-tf2.svg
        
        
Keywords: tensorflow keras bert
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.6
Description-Content-Type: text/x-rst
