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

🤗 Hugging Face sourcetext-generationapache-2.019 GBother✓ 6 checksumsupdated today
Submit in one command

Run it next to your model folder. It makes the torrent, checks your files against Hugging Face, and submits it. You just start seeding and paste your key from your account. It only reads your files and never changes them. Read the script first if you like.

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo software-mansion/react-native-executorch-smolLm-2 ./model-folder
Needs a seeder →

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

Path Backend Precision
135m/mlx/smollm2_135m_mlx_int8.pte mlx 8w
135m/xnnpack/smollm2_135m_xnnpack_8da8w.pte xnnpack 8da8w
1_7b/mlx/smollm2_1_7b_mlx_int8.pte mlx 8w
1_7b/xnnpack/smollm2_1_7b_xnnpack_8da8w.pte xnnpack 8da8w
360m/mlx/smollm2_360m_mlx_int8.pte mlx 8w
360m/xnnpack/smollm2_360m_xnnpack_8da8w.pte xnnpack 8da8w

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.