Transformers.jl is a Julia library that implements Transformer models for natural language processing tasks. Inspired by architectures like BERT, GPT, and T5, the library offers a modular and flexible interface for building, training, and using transformer-based deep learning models. It supports training from scratch and fine-tuning pretrained models, and integrates with Flux.jl for automatic differentiation and optimization.

Features

  • Implements standard Transformer architectures (BERT, GPT, etc.)
  • Modular design for custom model configuration
  • Pretraining and fine-tuning capabilities
  • Tokenization and positional encoding support
  • Compatible with Flux.jl and automatic differentiation
  • Support for GPU acceleration via CUDA.jl

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Transformers.jl

Transformers.jl Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Transformers.jl!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Julia

Related Categories

Julia Natural Language Processing (NLP) Tool

Registered

2025-07-21