Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ModernBERT in JAX/Flax

A minimal implementation of ModernBERT in Flax NNX. Produces equivalent outputs to the PyTorch reference.

modeling.py is the NNX implementation hub.py loads and converts weights from HF

Usage

from hub import from_pretrained

model = from_pretrained("answerdotai/ModernBERT-base")

Tests

uv run --group test pytest tests/ -x -v

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages