Download vl_2b/mlx/config.json from software-mansion/LFM3-ExecuTorch: direct link, hf CLI and curl.
- Browser
- Download file 4.04 kB
-
https://huggingface.co/software-mansion/LFM3-ExecuTorch/resolve/main/vl_2b/mlx/config.json
- Command line
-
hf download hf://software-mansion/LFM3-ExecuTorch/vl_2b/mlx/config.json
-
curl -L -o config.json https://huggingface.co/software-mansion/LFM3-ExecuTorch/resolve/main/vl_2b/mlx/config.json
4.04 kB
| { | |
| "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json", | |
| "model": "lfm3_vl_2b", | |
| "family": "lfm3", | |
| "capabilities": [ | |
| "vision" | |
| ], | |
| "backend": "mlx", | |
| "license": "lfm-1.0", | |
| "variants": [ | |
| { | |
| "file": "lfm_3_vl_2b_mlx_int4.pte", | |
| "precision": "int4", | |
| "quantized": true, | |
| "default": true, | |
| "methods": { | |
| "vision_encoder": { | |
| "inputs": [ | |
| { | |
| "shape": [ | |
| 1, | |
| 3, | |
| 512, | |
| 512 | |
| ], | |
| "dtype": "float32" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "shape": [ | |
| 1, | |
| 256, | |
| 2048 | |
| ], | |
| "dtype": "float32" | |
| } | |
| ] | |
| }, | |
| "token_embedding": { | |
| "inputs": [ | |
| { | |
| "shape": [ | |
| 1, | |
| 256 | |
| ], | |
| "dtype": "int64" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "shape": [ | |
| 1, | |
| 256, | |
| 2048 | |
| ], | |
| "dtype": "float32" | |
| } | |
| ] | |
| }, | |
| "text_decoder": { | |
| "inputs": [ | |
| { | |
| "shape": [ | |
| 1, | |
| 256, | |
| 2048 | |
| ], | |
| "dtype": "float32" | |
| }, | |
| { | |
| "shape": [ | |
| 256 | |
| ], | |
| "dtype": "int64" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "shape": [ | |
| 1, | |
| 128000 | |
| ], | |
| "dtype": "float32" | |
| } | |
| ] | |
| }, | |
| "enable_dynamic_shape": true, | |
| "get_bos_id": 124894, | |
| "get_eos_ids": [ | |
| 124900 | |
| ], | |
| "get_max_context_len": 8192, | |
| "get_max_seq_len": 256, | |
| "get_n_layers": 24, | |
| "get_vocab_size": 128000, | |
| "use_kv_cache": true, | |
| "use_sdpa_with_kv_cache": true | |
| } | |
| }, | |
| { | |
| "file": "lfm_3_vl_2b_mlx_int8.pte", | |
| "precision": "int8", | |
| "quantized": true, | |
| "default": false, | |
| "methods": { | |
| "vision_encoder": { | |
| "inputs": [ | |
| { | |
| "shape": [ | |
| 1, | |
| 3, | |
| 512, | |
| 512 | |
| ], | |
| "dtype": "float32" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "shape": [ | |
| 1, | |
| 256, | |
| 2048 | |
| ], | |
| "dtype": "float32" | |
| } | |
| ] | |
| }, | |
| "token_embedding": { | |
| "inputs": [ | |
| { | |
| "shape": [ | |
| 1, | |
| 256 | |
| ], | |
| "dtype": "int64" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "shape": [ | |
| 1, | |
| 256, | |
| 2048 | |
| ], | |
| "dtype": "float32" | |
| } | |
| ] | |
| }, | |
| "text_decoder": { | |
| "inputs": [ | |
| { | |
| "shape": [ | |
| 1, | |
| 256, | |
| 2048 | |
| ], | |
| "dtype": "float32" | |
| }, | |
| { | |
| "shape": [ | |
| 256 | |
| ], | |
| "dtype": "int64" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "shape": [ | |
| 1, | |
| 128000 | |
| ], | |
| "dtype": "float32" | |
| } | |
| ] | |
| }, | |
| "enable_dynamic_shape": true, | |
| "get_bos_id": 124894, | |
| "get_eos_ids": [ | |
| 124900 | |
| ], | |
| "get_max_context_len": 8192, | |
| "get_max_seq_len": 256, | |
| "get_n_layers": 24, | |
| "get_vocab_size": 128000, | |
| "use_kv_cache": true, | |
| "use_sdpa_with_kv_cache": true | |
| } | |
| } | |
| ] | |
| } | |