Introduction of react-native-executorch-lfm2.5-embedding-350m
Model Details of react-native-executorch-lfm2.5-embedding-350m
Introduction
This repository hosts the
LFM2.5-Embedding-350M
model for the
React Native ExecuTorch
library. It includes the model exported for both the
XNNPACK
(Android / generic CPU) and
MLX
(Apple GPU) delegates, ready for use in the
ExecuTorch
runtime.
If you'd like to run these models in your own ExecuTorch runtime, refer to the
official documentation
for setup instructions.
Compatibility
If you intend to use this model outside of React Native ExecuTorch, make sure your runtime is compatible with the
ExecuTorch
version used to export the
.pte
files. If you work with React Native ExecuTorch, the constants from the library will guarantee compatibility with the runtime used behind the scenes.
The
MLX
variant requires a physical Apple Silicon device (it does not run on the iOS simulator). The
XNNPACK
variant runs everywhere.
Repository Structure
xnnpack/
—
.pte
file partitioned for the XNNPACK delegate.
mlx/
—
.pte
file partitioned for the MLX delegate (Apple Silicon only).
tokenizer.json
— HuggingFace fast-tokenizer dump. Wire this to
tokenizerSource
.
config.json
,
tokenizer_config.json
— upstream model/tokenizer configs, kept for reference and for non-RNE consumers.
The
.pte
path goes to
modelSource
;
tokenizer.json
is shared across all variants.
Model details
Architecture: LFM2.5-350M bidirectional backbone (hybrid conv + attention, hidden size 1024) + CLS pooling + L2 normalize. The exported graph bakes in CLS pooling and L2 normalization, so the runner consumes
(input_ids, attention_mask)
and receives the final unit-norm embedding directly.
Output dimension:
1024
.
Similarity metric:
cosine
(embeddings are L2-normalized, so a dot product equals cosine).
Prompts: the model is trained with asymmetric
query:
/
document:
text prefixes. Prepend
query:
to search queries and
document:
to indexed passages for best retrieval quality.
Runs of software-mansion react-native-executorch-lfm2.5-embedding-350m on huggingface.co
3.8K
Total runs
0
24-hour runs
1.0K
3-day runs
1.3K
7-day runs
3.3K
30-day runs
More Information About react-native-executorch-lfm2.5-embedding-350m huggingface.co Model
More react-native-executorch-lfm2.5-embedding-350m license Visit here:
react-native-executorch-lfm2.5-embedding-350m huggingface.co is an AI model on huggingface.co that provides react-native-executorch-lfm2.5-embedding-350m's model effect (), which can be used instantly with this software-mansion react-native-executorch-lfm2.5-embedding-350m model. huggingface.co supports a free trial of the react-native-executorch-lfm2.5-embedding-350m model, and also provides paid use of the react-native-executorch-lfm2.5-embedding-350m. Support call react-native-executorch-lfm2.5-embedding-350m model through api, including Node.js, Python, http.
react-native-executorch-lfm2.5-embedding-350m huggingface.co is an online trial and call api platform, which integrates react-native-executorch-lfm2.5-embedding-350m's modeling effects, including api services, and provides a free online trial of react-native-executorch-lfm2.5-embedding-350m, you can try react-native-executorch-lfm2.5-embedding-350m online for free by clicking the link below.
software-mansion react-native-executorch-lfm2.5-embedding-350m online free url in huggingface.co:
react-native-executorch-lfm2.5-embedding-350m is an open source model from GitHub that offers a free installation service, and any user can find react-native-executorch-lfm2.5-embedding-350m on GitHub to install. At the same time, huggingface.co provides the effect of react-native-executorch-lfm2.5-embedding-350m install, users can directly use react-native-executorch-lfm2.5-embedding-350m installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
react-native-executorch-lfm2.5-embedding-350m install url in huggingface.co: