llm2vec4cxr / modeling_llm2vec4cxr.py

Commit History

Fix embed_mask for texts without separator (use entire text, not empty)
50d2262
verified

lukeingawesome commited on

Fix model structure to match checkpoint (wrap LlamaBiModel in self.model)
6f83848
verified

lukeingawesome commited on

Remove problematic AutoModel.register() call
dd5ed8b
verified

lukeingawesome commited on

Update modeling_llm2vec4cxr.py with helper methods and vendored pooling
f1a89e8
verified

lukeingawesome commited on

Add custom model class with proper latent attention architecture
c589499
verified

lukeingawesome commited on