Overview
Integrate ModernBERT-base-32k model from HuggingFace into the Rust codebase. This is Phase 1 of the POC for extending context window from 512 to 32,768 tokens.
Related: Issue vllm-project#995, POC Document: docs/issue-995-modernbert-32k-poc.md
Model Information
Tasks
Deliverables
- Model loads successfully from HuggingFace
- Basic inference works on sample sequences
- Test results documented (latency, memory usage, accuracy)
- Any code adjustments documented
Acceptance Criteria
Files to Modify
candle-binding/src/model_architectures/traditional/modernbert.rs
- Model loading code
- Configuration files
Overview
Integrate ModernBERT-base-32k model from HuggingFace into the Rust codebase. This is Phase 1 of the POC for extending context window from 512 to 32,768 tokens.
Related: Issue vllm-project#995, POC Document:
docs/issue-995-modernbert-32k-poc.mdModel Information
llm-semantic-router/modernbert-base-32kTasks
llm-semantic-router/modernbert-base-32kfrom HuggingFaceTraditionalModernBertClassifier::load_from_directory()Deliverables
Acceptance Criteria
Files to Modify
candle-binding/src/model_architectures/traditional/modernbert.rs