CoolFace
Modelpublic

software-mansion/react-native-executorch-smolLm-2

sourceHugging Faceapache-2.0updated 14d agoView on Hugging Face
1likes2.6kdownloads
Model Card

smolLm-2

This repository hosts the smolLm-2 models exported for the React Native ExecuTorch library as ExecuTorch .pte programs, ready to run on device.

Variants

PathBackendPrecision
135m/mlx/smollm2_135m_mlx_int8.ptemlx8w
135m/xnnpack/smollm2_135m_xnnpack_8da8w.ptexnnpack8da8w
1_7b/mlx/smollm2_1_7b_mlx_int8.ptemlx8w
1_7b/xnnpack/smollm2_1_7b_xnnpack_8da8w.ptexnnpack8da8w
360m/mlx/smollm2_360m_mlx_int8.ptemlx8w
360m/xnnpack/smollm2_360m_xnnpack_8da8w.ptexnnpack8da8w

Repository structure

135m/mlx/config.json                         1.3 kB
135m/mlx/smollm2_135m_mlx_int8.pte           187 MB
135m/xnnpack/config.json                     1.3 kB
135m/xnnpack/smollm2_135m_xnnpack_8da8w.pte  158 MB
1_7b/mlx/config.json                         1.3 kB
1_7b/mlx/smollm2_1_7b_mlx_int8.pte           1.8 GB
1_7b/xnnpack/config.json                     1.3 kB
1_7b/xnnpack/smollm2_1_7b_xnnpack_8da8w.pte  1.7 GB
360m/mlx/config.json                         1.3 kB
360m/mlx/smollm2_360m_mlx_int8.pte           446 MB
360m/xnnpack/config.json                     1.3 kB
360m/xnnpack/smollm2_360m_xnnpack_8da8w.pte  393 MB
config.json                                  30 B
tokenizer.json                               2.0 MB
tokenizer_config.json                        3.7 kB

Compatibility

These files are published for the ExecuTorch v1.4.1 runtime. ExecuTorch gives no forward compatibility guarantee, so an older runtime may fail to load them.

To use them in React Native ExecuTorch, pass the model constant shipped in the library's model registry to the corresponding task pipeline. See the documentation.

To load these files in your own ExecuTorch runtime, read the compatibility note first.