transformers VS BERT-pytorch

Compare transformers vs BERT-pytorch and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
transformers BERT-pytorch
175 1
124,557 5,988
2.7% -
10.0 0.0
7 days ago 7 months ago
Python Python
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

transformers

Posts with mentions or reviews of transformers. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-23.

BERT-pytorch

Posts with mentions or reviews of BERT-pytorch. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-05-20.
  • Lack of activation in transformer feedforward layer?
    2 projects | /r/learnmachinelearning | 20 May 2021
    I'm curious as to why the second matrix multiplication is not followed by an activation unlike the first one. Is there any particular reason why a non-linearity would be trivial or even avoided in the second operation? For reference, variations of this can be witnessed in a number of different implementations, including BERT-pytorch and attention-is-all-you-need-pytorch.

What are some alternatives?

When comparing transformers and BERT-pytorch you can also consider the following projects:

fairseq - Facebook AI Research Sequence-to-Sequence Toolkit written in Python.

haystack - :mag: LLM orchestration framework to build customizable, production-ready LLM applications. Connect components (models, vector DBs, file converters) to pipelines or agents that can interact with your data. With advanced retrieval methods, it's best suited for building RAG, question answering, semantic search or conversational agent chatbots.

sentence-transformers - Multilingual Sentence & Image Embeddings with BERT

bertviz - BertViz: Visualize Attention in NLP Models (BERT, GPT2, BART, etc.)

llama - Inference code for Llama models

transformer-pytorch - Transformer: PyTorch Implementation of "Attention Is All You Need"

Transformers4Rec - Transformers4Rec is a flexible and efficient library for sequential and session-based recommendation and works with PyTorch.

text-generation-webui - A Gradio web UI for Large Language Models. Supports transformers, GPTQ, AWQ, EXL2, llama.cpp (GGUF), Llama models.

scibert - A BERT model for scientific text.

huggingface_hub - The official Python client for the Huggingface Hub.

cuad - CUAD (NeurIPS 2021)