Skip to content

Commit 9100418

Browse files
chore: Add more models to modelUrls.ts (#215)
## Description This PR adds constants for other LLMs like hammer. ### Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Documentation update (improves or adds clarity to existing documentation) ### Tested on - [x] iOS - [x] 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 - [ ] 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 52ecf0f commit 9100418

2 files changed

Lines changed: 31 additions & 1 deletion

File tree

.cspell-wordlist.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ mobilenet
1818
microcontrollers
1919
notimestamps
2020
seqs
21+
smollm
22+
qwen
2123
XNNPACK
2224
EFFICIENTNET
2325
SSDLITE
@@ -42,4 +44,4 @@ Sinhala
4244
Infima
4345
sublabel
4446
Aeonik
45-
Lexend
47+
Lexend

src/constants/modelUrls.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,34 @@ export const LLAMA3_2_1B_TOKENIZER =
1818
export const LLAMA3_2_3B_TOKENIZER =
1919
'https://huggingface.co/software-mansion/react-native-executorch-llama-3.2/resolve/v0.4.0/tokenizer.json';
2020

21+
export const HAMMER2_1_1_5B =
22+
'https://huggingface.co/software-mansion/react-native-executorch-hammer-2.1/resolve/v0.4.0/original/hammer2_1_bf16.pte';
23+
export const HAMMER2_1_1_5B_TOKENIZER =
24+
'https://huggingface.co/software-mansion/react-native-executorch-hammer-2.1/resolve/v0.4.0/tokenizer.json';
25+
export const HAMMER2_1_1_5B_TOKENIZER_CONFIG =
26+
'https://huggingface.co/software-mansion/react-native-executorch-hammer-2.1/resolve/v0.4.0/tokenizer_config.json';
27+
28+
export const SMOLLM2_1_7B =
29+
'https://huggingface.co/software-mansion/react-native-executorch-smolLm-2/resolve/v0.4.0/original/smolLm2_bf16.pte';
30+
export const SMOLLM2_1_7B_TOKENIZER =
31+
'https://huggingface.co/software-mansion/react-native-executorch-smolLm-2/resolve/v0.4.0/tokenizer.json';
32+
export const SMOLLM2_1_7B_TOKENIZER_CONFIG =
33+
'https://huggingface.co/software-mansion/react-native-executorch-smolLm-2/resolve/v0.4.0/tokenizer_config.json';
34+
35+
export const QWEN2_5_1_5B =
36+
'https://huggingface.co/software-mansion/react-native-executorch-qwen-2.5/resolve/v0.4.0/original/qwen2_5_bf16.pte';
37+
export const QWEN2_5_1_5B_TOKENIZER =
38+
'https://huggingface.co/software-mansion/react-native-executorch-qwen-2.5/resolve/v0.4.0/tokenizer.json';
39+
export const QWEN2_5_1_5B_TOKENIZER_CONFIG =
40+
'https://huggingface.co/software-mansion/react-native-executorch-qwen-2.5/resolve/v0.4.0/tokenizer_config.json';
41+
42+
export const PHI_4_MINI_4B =
43+
'https://huggingface.co/software-mansion/react-native-executorch-phi-4-mini/resolve/v0.4.0/original/phi-4-mini_bf16.pte';
44+
export const PHI_4_MINI_4B_TOKENIZER =
45+
'https://huggingface.co/software-mansion/react-native-executorch-phi-4-mini/resolve/v0.4.0/tokenizer.json';
46+
export const PHI_4_MINI_4B_TOKENIZER_CONFIG =
47+
'https://huggingface.co/software-mansion/react-native-executorch-phi-4-mini/resolve/v0.4.0/tokenizer_config.json';
48+
2149
// Classification
2250
export const EFFICIENTNET_V2_S =
2351
Platform.OS === 'ios'

0 commit comments

Comments
 (0)