Skip to content

Commit f5014fa

Browse files
chore: update lfm vlm urls to point to tag (#978)
## Description ### Introduces a breaking change? - [ ] Yes - [x] No ### Type of change - [ ] Bug fix (change which fixes an issue) - [ ] New feature (change which adds functionality) - [ ] Documentation update (improves or adds clarity to existing documentation) - [x] Other (chores, tests, code style improvements etc.) ### Tested on - [x] iOS - [ ] Android ### Testing instructions <!-- Provide step-by-step instructions on how to test your changes. Include setup details if necessary. --> ### Screenshots <!-- Add screenshots here, if applicable --> ### Related issues <!-- Link related issues here using #issue-number --> ### Checklist - [x] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly - [x] My changes generate no new warnings ### Additional notes <!-- Include any additional information, assumptions, or context that reviewers might need to understand this PR. -->
1 parent 3ea4e1b commit f5014fa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -405,10 +405,10 @@ export const LFM2_5_1_2B_INSTRUCT_QUANTIZED = {
405405
tokenizerConfigSource: LFM2_5_1_2B_TOKENIZER_CONFIG,
406406
} as const;
407407

408-
// LFM2.5-VL-1.6B (Vision-Language)
409-
const LFM2_VL_1_6B_QUANTIZED_MODEL = `https://huggingface.co/software-mansion/react-native-executorch-lfm2.5-VL-1.6B/resolve/main/quantized/lfm2_5_vl_1_6b_8da4w_xnnpack.pte`;
410-
const LFM2_VL_TOKENIZER = `https://huggingface.co/software-mansion/react-native-executorch-lfm2.5-VL-1.6B/resolve/main/tokenizer.json`;
411-
const LFM2_VL_TOKENIZER_CONFIG = `https://huggingface.co/software-mansion/react-native-executorch-lfm2.5-VL-1.6B/resolve/main/tokenizer_config.json`;
408+
// LFM2.5-VL-1.6B
409+
const LFM2_VL_1_6B_QUANTIZED_MODEL = `${URL_PREFIX}-lfm2.5-VL-1.6B/${NEXT_VERSION_TAG}/quantized/lfm2_5_vl_1_6b_8da4w_xnnpack.pte`;
410+
const LFM2_VL_TOKENIZER = `${URL_PREFIX}-lfm2.5-VL-1.6B/${NEXT_VERSION_TAG}/tokenizer.json`;
411+
const LFM2_VL_TOKENIZER_CONFIG = `${URL_PREFIX}-lfm2.5-VL-1.6B/${NEXT_VERSION_TAG}/tokenizer_config.json`;
412412

413413
/**
414414
* @category Models - VLM

0 commit comments

Comments
 (0)