Bartosz Hanc
docs: update model card, context lengths, and config specs
f2fc801
|
Raw History Blame Contribute Delete
1.49 kB
metadata
license: mit
pipeline_tag: text-generation
tags:
  - executorch
library_name: executorch

phi-4-mini

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

Variants

Path Backend Precision Context length
mlx/phi_4_mini_mlx_int4.pte mlx int4 4,096
xnnpack/phi_4_mini_xnnpack_8da4w.pte xnnpack 8da4w 4,096

Repository structure

config.json                           32 B
mlx/config.json                       1.3 KiB
mlx/phi_4_mini_mlx_int4.pte           3.0 GiB
tokenizer.json                        14.8 MiB
tokenizer_config.json                 2.9 KiB
xnnpack/config.json                   1.3 KiB
xnnpack/phi_4_mini_xnnpack_8da4w.pte  2.6 GiB

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.