Skip to content

Commit cd1cbf9

Browse files
committed
update docs
1 parent ec670d0 commit cd1cbf9

3 files changed

Lines changed: 31 additions & 31 deletions

File tree

  • docs
    • docs/03-hooks/01-natural-language-processing
    • versioned_docs/version-0.8.x/03-hooks/01-natural-language-processing
  • packages/react-native-executorch/src/constants

docs/docs/03-hooks/01-natural-language-processing/useLLM.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -552,13 +552,13 @@ const handleGenerate = async () => {
552552

553553
## Available models
554554

555-
| Model Family | Sizes | Quantized | Capabilities |
556-
| ------------------------------------------------------------------------------------------------------------ | :--------------: | :-------: | :----------: |
557-
| [Hammer 2.1](https://huggingface.co/software-mansion/react-native-executorch-hammer-2.1) | 0.5B, 1.5B, 3B || - |
558-
| [Qwen 2.5](https://huggingface.co/software-mansion/react-native-executorch-qwen-2.5) | 0.5B, 1.5B, 3B || - |
559-
| [Qwen 3](https://huggingface.co/software-mansion/react-native-executorch-qwen-3) | 0.6B, 1.7B, 4B || - |
560-
| [Phi 4 Mini](https://huggingface.co/software-mansion/react-native-executorch-phi-4-mini) | 4B || - |
561-
| [SmolLM 2](https://huggingface.co/software-mansion/react-native-executorch-smolLm-2) | 135M, 360M, 1.7B || - |
562-
| [LLaMA 3.2](https://huggingface.co/software-mansion/react-native-executorch-llama-3.2) | 1B, 3B || - |
563-
| [LFM2.5-1.2B-Instruct](https://huggingface.co/software-mansion/react-native-executorch-lfm2.5-1.2B-instruct) | 1.2B || - |
564-
| [LFM2.5-VL-1.6B](https://huggingface.co/software-mansion/react-native-executorch-lfm2.5-VL-1.6B) | 1.6B || vision |
555+
| Model Family | Sizes | Quantized | Capabilities |
556+
| ------------------------------------------------------------------------------------------------------------------ | :-----------------: | :-------: | :----------: |
557+
| [Hammer 2.1](https://huggingface.co/software-mansion/react-native-executorch-hammer-2.1) | 0.5B, 1.5B, 3B || - |
558+
| [Qwen 2.5](https://huggingface.co/software-mansion/react-native-executorch-qwen-2.5) | 0.5B, 1.5B, 3B || - |
559+
| [Qwen 3](https://huggingface.co/software-mansion/react-native-executorch-qwen-3) | 0.6B, 1.7B, 4B || - |
560+
| [Phi 4 Mini](https://huggingface.co/software-mansion/react-native-executorch-phi-4-mini) | 4B || - |
561+
| [SmolLM 2](https://huggingface.co/software-mansion/react-native-executorch-smolLm-2) | 135M, 360M, 1.7B || - |
562+
| [LLaMA 3.2](https://huggingface.co/software-mansion/react-native-executorch-llama-3.2) | 1B, 3B || - |
563+
| [LFM2.5](https://huggingface.co/software-mansion/react-native-executorch-lfm-2.5) | 350M, 1.2B, 1.6B-VL || - |
564+
| [LFM2.5-VL-1.6B](https://huggingface.co/software-mansion/react-native-executorch-lfm-2.5/tree/main/lfm2.5-VL-1.6B) | 1.6B || vision |

docs/versioned_docs/version-0.8.x/03-hooks/01-natural-language-processing/useLLM.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -552,13 +552,13 @@ const handleGenerate = async () => {
552552

553553
## Available models
554554

555-
| Model Family | Sizes | Quantized | Capabilities |
556-
| ------------------------------------------------------------------------------------------------------------ | :--------------: | :-------: | :----------: |
557-
| [Hammer 2.1](https://huggingface.co/software-mansion/react-native-executorch-hammer-2.1) | 0.5B, 1.5B, 3B || - |
558-
| [Qwen 2.5](https://huggingface.co/software-mansion/react-native-executorch-qwen-2.5) | 0.5B, 1.5B, 3B || - |
559-
| [Qwen 3](https://huggingface.co/software-mansion/react-native-executorch-qwen-3) | 0.6B, 1.7B, 4B || - |
560-
| [Phi 4 Mini](https://huggingface.co/software-mansion/react-native-executorch-phi-4-mini) | 4B || - |
561-
| [SmolLM 2](https://huggingface.co/software-mansion/react-native-executorch-smolLm-2) | 135M, 360M, 1.7B || - |
562-
| [LLaMA 3.2](https://huggingface.co/software-mansion/react-native-executorch-llama-3.2) | 1B, 3B || - |
563-
| [LFM2.5-1.2B-Instruct](https://huggingface.co/software-mansion/react-native-executorch-lfm2.5-1.2B-instruct) | 1.2B || - |
564-
| [LFM2.5-VL-1.6B](https://huggingface.co/software-mansion/react-native-executorch-lfm2.5-VL-1.6B) | 1.6B || vision |
555+
| Model Family | Sizes | Quantized | Capabilities |
556+
| -------------------------------------------------------------------------------------------------------------------- | :-----------------: | :-------: | :----------: |
557+
| [Hammer 2.1](https://huggingface.co/software-mansion/react-native-executorch-hammer-2.1) | 0.5B, 1.5B, 3B || - |
558+
| [Qwen 2.5](https://huggingface.co/software-mansion/react-native-executorch-qwen-2.5) | 0.5B, 1.5B, 3B || - |
559+
| [Qwen 3](https://huggingface.co/software-mansion/react-native-executorch-qwen-3) | 0.6B, 1.7B, 4B || - |
560+
| [Phi 4 Mini](https://huggingface.co/software-mansion/react-native-executorch-phi-4-mini) | 4B || - |
561+
| [SmolLM 2](https://huggingface.co/software-mansion/react-native-executorch-smolLm-2) | 135M, 360M, 1.7B || - |
562+
| [LLaMA 3.2](https://huggingface.co/software-mansion/react-native-executorch-llama-3.2) | 1B, 3B || - |
563+
| [LFM2.5](https://huggingface.co/software-mansion/react-native-executorch-lfm-2.5) | 350M, 1.2B, 1.6B-VL || - |
564+
| [LFM2.5-VL-1.6B](https://huggingface.co/software-mansion/react-native-executorch-lfm-2.5/tree/v0.8.0/lfm2.5-VL-1.6B) | 1.6B || vision |

packages/react-native-executorch/src/constants/modelUrls.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -380,10 +380,10 @@ export const PHI_4_MINI_4B_QUANTIZED = {
380380
} as const;
381381

382382
// LFM2.5-1.2B-Instruct
383-
const LFM2_5_1_2B_INSTRUCT_MODEL = `${URL_PREFIX}-lfm2.5-1.2B-instruct/${VERSION_TAG}/original/lfm2_5_1_2b_fp16.pte`;
384-
const LFM2_5_1_2B_INSTRUCT_QUANTIZED_MODEL = `${URL_PREFIX}-lfm2.5-1.2B-instruct/${VERSION_TAG}/quantized/lfm2_5_1_2b_8da4w.pte`;
385-
const LFM2_5_1_2B_TOKENIZER = `${URL_PREFIX}-lfm2.5-1.2B-instruct/${VERSION_TAG}/tokenizer.json`;
386-
const LFM2_5_1_2B_TOKENIZER_CONFIG = `${URL_PREFIX}-lfm2.5-1.2B-instruct/${VERSION_TAG}/tokenizer_config.json`;
383+
const LFM2_5_1_2B_INSTRUCT_MODEL = `${URL_PREFIX}-lfm-2.5/${VERSION_TAG}/lfm2.5-1.2B-instruct/original/lfm2_5_1_2b_fp16.pte`;
384+
const LFM2_5_1_2B_INSTRUCT_QUANTIZED_MODEL = `${URL_PREFIX}-lfm-2.5/${VERSION_TAG}/lfm2.5-1.2B-instruct/quantized/lfm2_5_1_2b_8da4w.pte`;
385+
const LFM2_5_1_2B_TOKENIZER = `${URL_PREFIX}-lfm-2.5/${VERSION_TAG}/lfm2.5-1.2B-instruct/tokenizer.json`;
386+
const LFM2_5_1_2B_TOKENIZER_CONFIG = `${URL_PREFIX}-lfm-2.5/${VERSION_TAG}/lfm2.5-1.2B-instruct/tokenizer_config.json`;
387387

388388
/**
389389
* @category Models - LLM
@@ -406,10 +406,10 @@ export const LFM2_5_1_2B_INSTRUCT_QUANTIZED = {
406406
} as const;
407407

408408
// LFM2.5-350M
409-
const LFM2_5_350M_MODEL = `${URL_PREFIX}-lfm2.5-350M/${VERSION_TAG}/xnnpack/lfm2_5_350m_xnnpack_fp16.pte`;
410-
const LFM2_5_350M_QUANTIZED_MODEL = `${URL_PREFIX}-lfm2.5-350M/${VERSION_TAG}/xnnpack/lfm2_5_350m_xnnpack_8w4da.pte`;
411-
const LFM2_5_350M_TOKENIZER = `${URL_PREFIX}-lfm2.5-350M/${VERSION_TAG}/tokenizer.json`;
412-
const LFM2_5_350M_TOKENIZER_CONFIG = `${URL_PREFIX}-lfm2.5-350M/${VERSION_TAG}/tokenizer_config.json`;
409+
const LFM2_5_350M_MODEL = `${URL_PREFIX}-lfm-2.5/${VERSION_TAG}/lfm2.5-350M/xnnpack/lfm2_5_350m_xnnpack_fp16.pte`;
410+
const LFM2_5_350M_QUANTIZED_MODEL = `${URL_PREFIX}-lfm-2.5/${VERSION_TAG}/lfm2.5-350M/xnnpack/lfm2_5_350m_xnnpack_8w4da.pte`;
411+
const LFM2_5_350M_TOKENIZER = `${URL_PREFIX}-lfm-2.5/${VERSION_TAG}/lfm2.5-350M/tokenizer.json`;
412+
const LFM2_5_350M_TOKENIZER_CONFIG = `${URL_PREFIX}-lfm-2.5/${VERSION_TAG}/lfm2.5-350M/tokenizer_config.json`;
413413

414414
/**
415415
* @category Models - LLM
@@ -432,9 +432,9 @@ export const LFM2_5_350M_QUANTIZED = {
432432
} as const;
433433

434434
// LFM2.5-VL-1.6B
435-
const LFM2_VL_1_6B_QUANTIZED_MODEL = `${URL_PREFIX}-lfm2.5-VL-1.6B/${VERSION_TAG}/quantized/lfm2_5_vl_1_6b_8da4w_xnnpack.pte`;
436-
const LFM2_VL_TOKENIZER = `${URL_PREFIX}-lfm2.5-VL-1.6B/${VERSION_TAG}/tokenizer.json`;
437-
const LFM2_VL_TOKENIZER_CONFIG = `${URL_PREFIX}-lfm2.5-VL-1.6B/${VERSION_TAG}/tokenizer_config.json`;
435+
const LFM2_VL_1_6B_QUANTIZED_MODEL = `${URL_PREFIX}-lfm-2.5/${VERSION_TAG}/lfm2.5-VL-1.6B/quantized/lfm2_5_vl_1_6b_8da4w_xnnpack.pte`;
436+
const LFM2_VL_TOKENIZER = `${URL_PREFIX}-lfm-2.5/${VERSION_TAG}/lfm2.5-VL-1.6B/tokenizer.json`;
437+
const LFM2_VL_TOKENIZER_CONFIG = `${URL_PREFIX}-lfm-2.5/${VERSION_TAG}/lfm2.5-VL-1.6B/tokenizer_config.json`;
438438

439439
/**
440440
* @category Models - VLM

0 commit comments

Comments
 (0)