1. 31 Mar, 2025 3 commits
  2. 30 Mar, 2025 1 commit
  3. 28 Mar, 2025 15 commits
  4. 27 Mar, 2025 20 commits
  5. 26 Mar, 2025 1 commit
    • Abu Bakr Soliman's avatar
      Support QuestionAnswering Module for ModernBert based models. (#35566) · 49b5ab6a
      Abu Bakr Soliman authored
      
      * push ModernBertForQuestionAnswering
      
      * update ModernBertForQuestionAnswering
      
      * update __init__ loading
      
      * set imports for ModernBertForQuestionAnswering
      
      * update ModernBertForQuestionAnswering
      
      * remove debugging logs
      
      * update init_weights method
      
      * remove custom initialization for ModernBertForQuestionAnswering
      
      * apply make fix-copies
      
      * apply make style
      
      * apply make fix-copies
      
      * append ModernBertForQuestionAnswering to the pipeline supported models
      
      * remove unused file
      
      * remove invalid autoload value
      
      * update en/model_doc/modernbert.md
      
      * apply make fixup command
      
      * make fixup
      
      * Update dummies
      
      * update usage tips for ModernBertForQuestionAnswering
      
      * update usage tips for ModernBertForQuestionAnswering
      
      * add init
      
      * add lint
      
      * add consistency
      
      * update init test
      
      * change text to trigger stuck text
      
      * use self.loss_function instead of custom loss
      
      By @Cyrilvallez
      
      Co-authored-by: default avatarCyril Vallez <cyril.vallez@gmail.com>
      
      * Update modeling_modernbert.py
      
      make comparable commit to even it out
      
      * Match whitespace
      
      * whitespace
      
      ---------
      
      Co-authored-by: default avatarMatt <rocketknight1@gmail.com>
      Co-authored-by: default avatarOrion Weller <wellerorion@gmail.com>
      Co-authored-by: default avatarOrion Weller <31665361+orionw@users.noreply.github.com>
      Co-authored-by: default avatarCyril Vallez <cyril.vallez@gmail.com>
      49b5ab6a