← all repositories

Tongjilibo/bert4torch

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

1.3k stars Python ML FrameworksLanguage Models
bert4torch
Velocity · 7d
+0.9
★ / day
Trend
steady
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.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.