ValueError: The checkpoint you are trying to load has model type `modernbert`
#37
by
Sengil
- opened
ValueError: The checkpoint you are trying to load has model type modernbert
but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.
Until the next transformers release, you must install it directly from GitHub like so to use ModernBert:
pip install git+https://github.com/huggingface/transformers.git
- Tom Aarsen