← all repositories

NielsRogge/Transformers-Tutorials

A set of Jupyter Notebook tutorials demonstrating how to fine-tune and use various HuggingFace Transformer models including BERT, GPT-2, Vision Transformers, and LayoutLM.

11.6k stars Jupyter Notebook LearningLanguage Models
Transformers-Tutorials
Velocity · 7d
+5.5
★ / day
Trend
steady
star history

This repository contains Python notebooks showcasing inference and fine-tuning with the HuggingFace Transformers library in PyTorch. It covers multiple transformer architectures including BERT for NER, GPT-2 for text generation, Vision Transformers for image classification, LayoutLM for document understanding, and the Audio Spectrogram Transformer for audio classification. Each notebook provides runnable code that users can execute in Google Colab.

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