Tongjilibo/bert4torch
A PyTorch library providing elegant implementations of transformer architectures including LLMs like ChatGLM and LLaMA.

Not currently ranked — collecting fresh signals.
star history
bert4torch is a PyTorch-based framework implementing transformer models for natural language processing. It supports loading and fine-tuning major open-source LLMs including ChatGLM, LLaMA, and BERT variants. The library covers common NLP tasks such as named-entity recognition, text classification, relation extraction, and sequence-to-sequence generation, offering both training and deployment capabilities.
Frequently asked
- What is Tongjilibo/bert4torch?
- A PyTorch library providing elegant implementations of transformer architectures including LLMs like ChatGLM and LLaMA.
- Is bert4torch open source?
- Yes — Tongjilibo/bert4torch is open source, released under the MIT license.
- What language is bert4torch written in?
- Tongjilibo/bert4torch is primarily written in Python.
- How popular is bert4torch?
- Tongjilibo/bert4torch has 1.3k stars on GitHub.
- Where can I find bert4torch?
- Tongjilibo/bert4torch is on GitHub at https://github.com/Tongjilibo/bert4torch.