Tongjilibo/bert4torch

An elegent pytorch implement of transformers

66
/ 100
Established

This project helps developers and researchers quickly build and fine-tune large language models (LLMs) and other transformer-based models using PyTorch. It takes pre-trained model weights (like BERT, Llama, ChatGLM) or custom data as input and outputs a fine-tuned model ready for tasks like text classification, sequence labeling, or conversational AI. Data scientists, machine learning engineers, and NLP researchers can use this to adapt powerful models to their specific natural language processing needs.

1,335 stars. Available on PyPI.

Use this if you are a machine learning engineer or data scientist looking for a flexible and easy-to-use PyTorch framework to fine-tune large language models for various NLP tasks.

Not ideal if you are an end-user without programming knowledge, as this is a developer tool requiring Python and PyTorch expertise.

natural-language-processing large-language-models text-classification sequence-labeling conversational-ai
Maintenance 10 / 25
Adoption 10 / 25
Maturity 25 / 25
Community 21 / 25

How are scores calculated?

Stars

1,335

Forks

169

Language

Python

License

MIT

Last pushed

Mar 10, 2026

Commits (30d)

0

Dependencies

5

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/transformers/Tongjilibo/bert4torch"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.