Skip to content

Commit 274eca3

Browse files
authored
Update LLaMA model urls with correct model versioning (#8)
Currently, the model URL points to the main branch on the hugginface repo. Instead, we want to match it with the v0.1.0 version. This PR introduces that change.
1 parent 4b7cb47 commit 274eca3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/modelUrls.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
export const LLAMA3_2_3B_URL =
2-
'https://huggingface.co/software-mansion/react-native-executorch-llama-3.2/resolve/main/llama-3.2-3B/original/llama3_2_3B_bf16.pte';
2+
'https://huggingface.co/software-mansion/react-native-executorch-llama-3.2/resolve/v0.1.0/llama-3.2-3B/original/llama3_2_3B_bf16.pte';
33
export const LLAMA3_2_3B_QLORA_URL =
4-
'https://huggingface.co/software-mansion/react-native-executorch-llama-3.2/resolve/main/llama-3.2-3B/QLoRA/llama3_2-3B_qat_lora.pte';
4+
'https://huggingface.co/software-mansion/react-native-executorch-llama-3.2/resolve/v0.1.0/llama-3.2-3B/QLoRA/llama3_2-3B_qat_lora.pte';
55
export const LLAMA3_2_3B_SPINQUANT_URL =
6-
'https://huggingface.co/software-mansion/react-native-executorch-llama-3.2/resolve/main/llama-3.2-3B/spinquant/llama3_2_3B_spinquant.pte';
6+
'https://huggingface.co/software-mansion/react-native-executorch-llama-3.2/resolve/v0.1.0/llama-3.2-3B/spinquant/llama3_2_3B_spinquant.pte';
77
export const LLAMA3_2_1B_URL =
8-
'https://huggingface.co/software-mansion/react-native-executorch-llama-3.2/resolve/main/llama-3.2-1B/original/llama3_2_bf16.pte';
8+
'https://huggingface.co/software-mansion/react-native-executorch-llama-3.2/resolve/v0.1.0/llama-3.2-1B/original/llama3_2_bf16.pte';
99
export const LLAMA3_2_1B_QLORA_URL =
10-
'https://huggingface.co/software-mansion/react-native-executorch-llama-3.2/resolve/main/llama-3.2-1B/QLoRA/llama3_2_qat_lora.pte';
10+
'https://huggingface.co/software-mansion/react-native-executorch-llama-3.2/resolve/v0.1.0/llama-3.2-1B/QLoRA/llama3_2_qat_lora.pte';
1111
export const LLAMA3_2_1B_SPINQUANT_URL =
12-
'https://huggingface.co/software-mansion/react-native-executorch-llama-3.2/resolve/main/llama-3.2-1B/spinquant/llama3_2_spinquant.pte';
12+
'https://huggingface.co/software-mansion/react-native-executorch-llama-3.2/resolve/v0.1.0/llama-3.2-1B/spinquant/llama3_2_spinquant.pte';
1313
export const LLAMA3_2_1B_TOKENIZER =
14-
'https://huggingface.co/software-mansion/react-native-executorch-llama-3.2/resolve/main/llama-3.2-1B/original/tokenizer.bin';
14+
'https://huggingface.co/software-mansion/react-native-executorch-llama-3.2/resolve/v0.1.0/llama-3.2-1B/original/tokenizer.bin';
1515
export const LLAMA3_2_3B_TOKENIZER =
16-
'https://huggingface.co/software-mansion/react-native-executorch-llama-3.2/resolve/main/llama-3.2-3B/original/tokenizer.bin';
16+
'https://huggingface.co/software-mansion/react-native-executorch-llama-3.2/resolve/v0.1.0/llama-3.2-3B/original/tokenizer.bin';

0 commit comments

Comments
 (0)