awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
bojone avatar

bojone/bert4keras

0
View on GitHub↗
5,419 stars·921 forks·Python·Apache-2.0·24 viewskexue.fm/archives/6915↗

Bert4keras

bert4keras is a lightweight reimplementation of the BERT transformer architecture for the Keras deep learning framework. It serves as a natural language processing toolkit and transformer model library used for text classification, sequence labeling, and semantic embedding extraction.

The framework includes a sequence-to-sequence model system for question answering and text generation, as well as a model inference server to deploy trained transformers as web APIs for real-time predictions.

Capabilities cover a broad range of natural language understanding tasks, including reading comprehension, relation extraction, and long text processing. The library provides tools for language model pre-training and fine-tuning, alongside optimization techniques such as parameter reduction, adversarial training for robustness, and layer-wise learning rate configuration.

The project includes a weight-conversion loader to transform pre-trained weights from external formats into compatible Keras structures.

Features

  • Keras Model Implementations - Provides a lightweight reimplementation of the BERT transformer architecture using the Keras API.
  • Model Inference Servers - Ships a dedicated inference server to host transformer models as scalable network services.
  • Text Classification - Categorizes text into predefined classes for tasks such as sentiment analysis and sentence similarity.
  • Sequence-to-Sequence Tasks - Transforms input text into generated output sequences for tasks such as question answering and summarization.
  • Model Serving APIs - Exposes trained transformer models as network-accessible web APIs for real-time predictions.
  • Model Serving & Deployment - Provides infrastructure to wrap trained BERT models into web APIs for remote deployment.
  • Natural Language Generation - Produces natural language sequences using masked language modeling, sampling, or autoregressive architectures.
  • Natural Language Processing - Serves as a comprehensive toolkit for text classification, sequence labeling, and semantic embedding extraction.
  • Sequence Labeling - Classifies individual tokens in a sequence for tasks such as named entity recognition and word segmentation.
  • Transformer Fine-Tuning - Enables adapting pre-trained BERT weights using Keras for tasks like sentiment analysis and entity recognition.
  • Transformer Language Models - Provides a library of tools for pre-training, fine-tuning, and deploying transformer-based language models.
  • Sentence Embeddings - Encodes sentences into vector sequences to capture semantic features for downstream tasks.
  • Model Fine-Tuning - Loads pre-trained weights to adapt a general model for specific downstream tasks.
  • Natural Language Understanding - Provides a toolkit for extracting semantic features, labeling tokens, and classifying text to understand human language.
  • Entity and Relation Extraction - Identifies and categorizes connections between distinct entities using pointer and tagging structures.
  • GPU Memory Optimizers - Lowers GPU memory usage by merging operators and recomputing gradients during the processing phase.
  • Language Model Pre-training - Provides tools to train transformer models from scratch to learn general linguistic representations.
  • Pre-trained Weight Loading - Imports weights from established sources to initialize multiple model architectures via a weight-conversion loader.
  • Hierarchical Position Embeddings - Provides hierarchical position embeddings to handle text sequences that exceed standard transformer length limits.
  • Layer-Wise Learning Rates - Supports layer-wise learning rate decay to preserve pre-trained knowledge during task-specific adaptation.
  • Weight Conversion Utilities - Ships a weight-conversion loader to transform pre-trained weights from external formats into Keras structures.
  • Adversarial Robustness Training - Implements adversarial training by injecting perturbations into embeddings to improve classification robustness.
  • Model Compression - Reduces the memory footprint of a model using parameter reduction techniques to maintain performance with fewer weights.
  • Parameter Reduction - Reduces GPU memory requirements by merging redundant operators and reducing total weight counts.
  • Transformer Model Optimizations - Optimizes transformer models by reducing GPU memory usage and enhancing classification robustness.
  • Reading Comprehension - Retrieves specific information from documents using masked language modeling or sequence-to-sequence models.
  • Sequence To Sequence Models - Includes a framework for building sequence-to-sequence models for question answering and text generation.
  • Hierarchical Position Embeddings - Implements hierarchical position embeddings to handle input sequences that exceed standard transformer length limits.
  • Transformer Implementations - Lightweight Keras implementation of the BERT architecture.

Star history

Star history chart for bojone/bert4kerasStar history chart for bojone/bert4keras

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Bert4keras

These projects share indexed features with Bert4keras. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • facebookresearch/fairseqfacebookresearch avatar

    facebookresearch/fairseq

    32,228View on GitHub↗

    Fairseq is a PyTorch toolkit for sequence-to-sequence modeling, specializing in neural machine translation, automatic speech recognition, and large-scale language model training. It provides a framework for processing and aligning diverse data sources, including text, audio, and video, to support tasks such as speech-to-text conversion and multimodal sequence learning. The project is distinguished by its distributed training capabilities, which utilize parameter sharding, mixed-precision training, and CPU offloading to handle models that exceed single-device memory. It also includes specializ

    Python
    View on GitHub↗32,228
  • codebasics/deep-learning-keras-tf-tutorialcodebasics avatar

    codebasics/deep-learning-keras-tf-tutorial

    987View on GitHub↗

    This project is a structured educational curriculum designed to teach the fundamentals of building and training deep learning models. It provides a comprehensive guide for implementing neural networks using high-level machine learning frameworks and the Python programming language, focusing on practical, hands-on exercises for beginners. The tutorial distinguishes itself by covering the full lifecycle of model development, from initial construction to production-ready optimization. It includes specific modules on refining model performance through weight quantization and addressing data bias

    Jupyter Notebookdeep-learningdeep-neural-networkskeras
    View on GitHub↗987
  • tingsongyu/pytorch_tutorialTingsongYu avatar

    TingsongYu/PyTorch_Tutorial

    8,018View on GitHub↗

    This project is a comprehensive collection of educational examples and reference implementations for building vision and language models using PyTorch. It serves as a deep learning tutorial covering the end-to-end process of developing neural networks, from initial architecture definition to final production deployment. The repository provides detailed guides on implementing a wide range of domain-specific models, including convolutional neural networks for object detection and segmentation, as well as transformer and recurrent architectures for natural language processing. It emphasizes gene

    Python
    View on GitHub↗8,018
  • zihangdai/xlnetzihangdai avatar

    zihangdai/xlnet

    6,182View on GitHub↗

    This project is a natural language processing framework focused on a generalized autoregressive pretrainer designed for unsupervised language representation. It implements a language model that combines permutation-based training with a Transformer-XL backbone to function as a long-context text processor. The system is distinguished by its ability to handle text sequences that exceed standard length limits through the use of segment-level recurrence and relative positional encoding. It scales high-performance pretraining across multiple GPUs and TPU clusters using distributed training impleme

    Python
    View on GitHub↗6,182
Compare all 30 related projects→

Frequently asked questions

What does bojone/bert4keras do?

bert4keras is a lightweight reimplementation of the BERT transformer architecture for the Keras deep learning framework. It serves as a natural language processing toolkit and transformer model library used for text classification, sequence labeling, and semantic embedding extraction.

What are the main features of bojone/bert4keras?

The main features of bojone/bert4keras are: Keras Model Implementations, Model Inference Servers, Text Classification, Sequence-to-Sequence Tasks, Model Serving APIs, Model Serving & Deployment, Natural Language Generation, Natural Language Processing.

Which projects share features with bojone/bert4keras?

Projects with overlapping indexed features include: facebookresearch/fairseq — Fairseq is a PyTorch toolkit for sequence-to-sequence modeling, specializing in neural machine translation, automatic… codebasics/deep-learning-keras-tf-tutorial — This project is a structured educational curriculum designed to teach the fundamentals of building and training deep… tingsongyu/pytorch_tutorial — This project is a comprehensive collection of educational examples and reference implementations for building vision… zihangdai/xlnet — This project is a natural language processing framework focused on a generalized autoregressive pretrainer designed… tingsongyu/pytorch-tutorial-2nd — This project is a comprehensive instructional resource and course for building neural networks using PyTorch. It… huggingface/course — This project is an educational course and learning curriculum for implementing and fine-tuning transformer models…