Skip to content

Training modernbert vs deberta #293

Open

Description

@nico2rdj

Has anyone experimented with finetuning ModernBERT? I'm experiencing fast overfitting when training ModernBERT, but with DeBERTa, the validation loss keeps improving over many epochs

Activity

  1. Ingvarstep commented on Nov 27, 2025

    @Ingvarstep
    Collaborator

    @nico2rdj , we tried to fine-tune ModernBERT as well, but it turns out that RoPE is not well-suited to train GLiNER-like models. However, for bi-encoder GLiNER it worked well: https://huggingface.co/collections/knowledgator/moderngliner

  2. added
    question
    on Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    question

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions