Introduction of react-native-executorch-lfm2.5-colbert-350m
Model Details of react-native-executorch-lfm2.5-colbert-350m
Introduction
This repository hosts the
LFM2.5-ColBERT-350M
late-interaction retrieval model for the
React Native ExecuTorch
library, exported for the
XNNPACK
(Android / generic CPU) and
MLX
(Apple GPU) delegates.
Unlike a standard sentence embedder (one vector per text), ColBERT is a
multi-vector / late-interaction
model: it produces
one vector per token
(
[numTokens, 128]
). Relevance is computed with
MaxSim
(for each query
token, the max dot product over document tokens, summed). Use it when you want
stronger retrieval quality than single-vector embeddings — e.g. RAG / search.
Compatibility
The
MLX
variant requires a physical Apple Silicon device (it does not run
on the iOS simulator). The
XNNPACK
variant runs everywhere. Make sure your
runtime matches the ExecuTorch version used to export these
.pte
files; with
React Native ExecuTorch the library constants guarantee this.
Using it (late interaction)
The model is a per-token embedder; scoring is the consumer's concern:
Prepend the role marker the model was trained with:
"[Q] "
for queries,
"[D] "
for documents.
Run
forward
to get the per-token
[S, 128]
matrix for each text.
Score query↔document with
MaxSim
, optionally excluding the document
skiplist
token ids (punctuation) so they don't contribute. The skiplist
for this model (from its
config_sentence_transformers.json
) tokenizes to:
[510..524, 535..541, 568..573, 600..603]
(32 ids).
react-native-executorch-lfm2.5-colbert-350m huggingface.co is an AI model on huggingface.co that provides react-native-executorch-lfm2.5-colbert-350m's model effect (), which can be used instantly with this software-mansion react-native-executorch-lfm2.5-colbert-350m model. huggingface.co supports a free trial of the react-native-executorch-lfm2.5-colbert-350m model, and also provides paid use of the react-native-executorch-lfm2.5-colbert-350m. Support call react-native-executorch-lfm2.5-colbert-350m model through api, including Node.js, Python, http.
react-native-executorch-lfm2.5-colbert-350m huggingface.co is an online trial and call api platform, which integrates react-native-executorch-lfm2.5-colbert-350m's modeling effects, including api services, and provides a free online trial of react-native-executorch-lfm2.5-colbert-350m, you can try react-native-executorch-lfm2.5-colbert-350m online for free by clicking the link below.
software-mansion react-native-executorch-lfm2.5-colbert-350m online free url in huggingface.co:
react-native-executorch-lfm2.5-colbert-350m is an open source model from GitHub that offers a free installation service, and any user can find react-native-executorch-lfm2.5-colbert-350m on GitHub to install. At the same time, huggingface.co provides the effect of react-native-executorch-lfm2.5-colbert-350m install, users can directly use react-native-executorch-lfm2.5-colbert-350m installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
react-native-executorch-lfm2.5-colbert-350m install url in huggingface.co: