BERT-pytorch VS transformers

Compare BERT-pytorch vs transformers 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
BERT-pytorch transformers
1 175
5,995 125,021
- 3.1%
0.0 10.0
8 months ago 4 days 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.

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.

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.

What are some alternatives?

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

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.

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

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

sentence-transformers - Multilingual Sentence & Image Embeddings with BERT

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

llama - Inference code for Llama models

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

scibert - A BERT model for scientific text.

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

cuad - CUAD (NeurIPS 2021)

huggingface_hub - The official Python client for the Huggingface Hub.