Skip to content

Use ModernBERT for embeddings#24

Merged
lee101 merged 1 commit intomainfrom
codex/migrate-to-modernbert-for-embeddings
Jul 8, 2025
Merged

Use ModernBERT for embeddings#24
lee101 merged 1 commit intomainfrom
codex/migrate-to-modernbert-for-embeddings

Conversation

@lee101
Copy link
Copy Markdown
Contributor

@lee101 lee101 commented Jul 8, 2025

Summary

  • swap in ModernBERT as the embedding model
  • allow BERT_CHECKPOINT and BERT_DEVICE env vars
  • add simple embedding CLI helper
  • document new model instructions
  • add stubbed unit test for ModernBERT (skipped in this env)

Testing

  • ruff check tests/unit/test_modernbert_embed.py --fix
  • pytest tests/unit/test_modernbert_embed.py -q

https://chatgpt.com/codex/tasks/task_e_686c94b99c548333958c341e15d38ffc

@lee101 lee101 merged commit bbed1fd into main Jul 8, 2025
0 of 3 checks passed
@lee101 lee101 deleted the codex/migrate-to-modernbert-for-embeddings branch July 8, 2025 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant