Skip to content

Commit a91344c

Browse files
committed
Rebase with main
1 parent 2a22956 commit a91344c

3 files changed

Lines changed: 42 additions & 36 deletions

File tree

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

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -773,29 +773,29 @@ export const STYLE_TRANSFER_UDNIE_QUANTIZED = {
773773
} as const;
774774

775775
// S2T
776-
const WHISPER_TINY_EN_TOKENIZER = `${URL_PREFIX}-whisper-tiny.en/${NEXT_VERSION_TAG}/tokenizer.json`;
777-
const WHISPER_TINY_EN_MODEL_XNNPACK = `${URL_PREFIX}-whisper-tiny.en/${NEXT_VERSION_TAG}/xnnpack/whisper_tiny_en_xnnpack_fp32.pte`;
778-
const WHISPER_TINY_EN_MODEL_COREML = `${URL_PREFIX}-whisper-tiny.en/${NEXT_VERSION_TAG}/coreml/whisper_tiny_en_coreml_fp32.pte`;
776+
const WHISPER_TINY_EN_TOKENIZER = `${URL_PREFIX}-whisper-tiny.en/${VERSION_TAG}/tokenizer.json`;
777+
const WHISPER_TINY_EN_MODEL_XNNPACK = `${URL_PREFIX}-whisper-tiny.en/${VERSION_TAG}/xnnpack/whisper_tiny_en_xnnpack_fp32.pte`;
778+
const WHISPER_TINY_EN_MODEL_COREML = `${URL_PREFIX}-whisper-tiny.en/${VERSION_TAG}/coreml/whisper_tiny_en_coreml_fp32.pte`;
779779

780-
const WHISPER_BASE_EN_TOKENIZER = `${URL_PREFIX}-whisper-base.en/${NEXT_VERSION_TAG}/tokenizer.json`;
781-
const WHISPER_BASE_EN_MODEL_XNNPACK = `${URL_PREFIX}-whisper-base.en/${NEXT_VERSION_TAG}/xnnpack/whisper_base_en_xnnpack_fp32.pte`;
782-
const WHISPER_BASE_EN_MODEL_COREML = `${URL_PREFIX}-whisper-base.en/${NEXT_VERSION_TAG}/coreml/whisper_base_en_coreml_fp32.pte`;
780+
const WHISPER_BASE_EN_TOKENIZER = `${URL_PREFIX}-whisper-base.en/${VERSION_TAG}/tokenizer.json`;
781+
const WHISPER_BASE_EN_MODEL_XNNPACK = `${URL_PREFIX}-whisper-base.en/${VERSION_TAG}/xnnpack/whisper_base_en_xnnpack_fp32.pte`;
782+
const WHISPER_BASE_EN_MODEL_COREML = `${URL_PREFIX}-whisper-base.en/${VERSION_TAG}/coreml/whisper_base_en_coreml_fp32.pte`;
783783

784-
const WHISPER_SMALL_EN_TOKENIZER = `${URL_PREFIX}-whisper-small.en/${NEXT_VERSION_TAG}/tokenizer.json`;
785-
const WHISPER_SMALL_EN_MODEL_XNNPACK = `${URL_PREFIX}-whisper-small.en/${NEXT_VERSION_TAG}/xnnpack/whisper_small_en_xnnpack_fp32.pte`;
786-
const WHISPER_SMALL_EN_MODEL_COREML = `${URL_PREFIX}-whisper-small.en/${NEXT_VERSION_TAG}/coreml/whisper_small_en_coreml_fp32.pte`;
784+
const WHISPER_SMALL_EN_TOKENIZER = `${URL_PREFIX}-whisper-small.en/${VERSION_TAG}/tokenizer.json`;
785+
const WHISPER_SMALL_EN_MODEL_XNNPACK = `${URL_PREFIX}-whisper-small.en/${VERSION_TAG}/xnnpack/whisper_small_en_xnnpack_fp32.pte`;
786+
const WHISPER_SMALL_EN_MODEL_COREML = `${URL_PREFIX}-whisper-small.en/${VERSION_TAG}/coreml/whisper_small_en_coreml_fp32.pte`;
787787

788-
const WHISPER_TINY_TOKENIZER = `${URL_PREFIX}-whisper-tiny/${NEXT_VERSION_TAG}/tokenizer.json`;
789-
const WHISPER_TINY_MODEL_XNNPACK = `${URL_PREFIX}-whisper-tiny/${NEXT_VERSION_TAG}/xnnpack/whisper_tiny_xnnpack_fp32.pte`;
790-
const WHISPER_TINY_MODEL_COREML = `${URL_PREFIX}-whisper-tiny/${NEXT_VERSION_TAG}/coreml/whisper_tiny_coreml_fp32.pte`;
788+
const WHISPER_TINY_TOKENIZER = `${URL_PREFIX}-whisper-tiny/${VERSION_TAG}/tokenizer.json`;
789+
const WHISPER_TINY_MODEL_XNNPACK = `${URL_PREFIX}-whisper-tiny/${VERSION_TAG}/xnnpack/whisper_tiny_xnnpack_fp32.pte`;
790+
const WHISPER_TINY_MODEL_COREML = `${URL_PREFIX}-whisper-tiny/${VERSION_TAG}/coreml/whisper_tiny_coreml_fp32.pte`;
791791

792-
const WHISPER_BASE_TOKENIZER = `${URL_PREFIX}-whisper-base/${NEXT_VERSION_TAG}/tokenizer.json`;
793-
const WHISPER_BASE_MODEL_XNNPACK = `${URL_PREFIX}-whisper-base/${NEXT_VERSION_TAG}/xnnpack/whisper_base_xnnpack_fp32.pte`;
794-
const WHISPER_BASE_MODEL_COREML = `${URL_PREFIX}-whisper-base/${NEXT_VERSION_TAG}/coreml/whisper_base_coreml_fp32.pte`;
792+
const WHISPER_BASE_TOKENIZER = `${URL_PREFIX}-whisper-base/${VERSION_TAG}/tokenizer.json`;
793+
const WHISPER_BASE_MODEL_XNNPACK = `${URL_PREFIX}-whisper-base/${VERSION_TAG}/xnnpack/whisper_base_xnnpack_fp32.pte`;
794+
const WHISPER_BASE_MODEL_COREML = `${URL_PREFIX}-whisper-base/${VERSION_TAG}/coreml/whisper_base_coreml_fp32.pte`;
795795

796-
const WHISPER_SMALL_TOKENIZER = `${URL_PREFIX}-whisper-small/${NEXT_VERSION_TAG}/tokenizer.json`;
797-
const WHISPER_SMALL_MODEL_XNNPACK = `${URL_PREFIX}-whisper-small/${NEXT_VERSION_TAG}/xnnpack/whisper_small_xnnpack_fp32.pte`;
798-
const WHISPER_SMALL_MODEL_COREML = `${URL_PREFIX}-whisper-small/${NEXT_VERSION_TAG}/coreml/whisper_small_coreml_fp32.pte`;
796+
const WHISPER_SMALL_TOKENIZER = `${URL_PREFIX}-whisper-small/${VERSION_TAG}/tokenizer.json`;
797+
const WHISPER_SMALL_MODEL_XNNPACK = `${URL_PREFIX}-whisper-small/${VERSION_TAG}/xnnpack/whisper_small_xnnpack_fp32.pte`;
798+
const WHISPER_SMALL_MODEL_COREML = `${URL_PREFIX}-whisper-small/${VERSION_TAG}/coreml/whisper_small_coreml_fp32.pte`;
799799

800800
/**
801801
* @category Models - Speech To Text

skills/canary/react-native-executorch/references/reference-models.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -195,18 +195,21 @@ For a list of all available Speech to Text models reference [this Hugging Face c
195195

196196
### Whisper Models (English only)
197197

198-
- **WHISPER_TINY_EN** - Whisper Tiny English-only
199-
- **WHISPER_TINY_EN_QUANTIZED** - Whisper Tiny English-only quantized
200-
- **WHISPER_BASE_EN** - Whisper Base English-only
201-
- **WHISPER_BASE_EN_QUANTIZED** - Whisper Base English-only quantized
202-
- **WHISPER_SMALL_EN** - Whisper Small English-only
203-
- **WHISPER_SMALL_EN_QUANTIZED** - Whisper Small English-only quantized
198+
- **WHISPER_TINY_EN** - Whisper Tiny English-only (XNNPACK)
199+
- **WHISPER_TINY_EN_COREML** - Whisper Tiny English-only (CoreML)
200+
- **WHISPER_BASE_EN** - Whisper Base English-only (XNNPACK)
201+
- **WHISPER_BASE_EN_COREML** - Whisper Base English-only (CoreML)
202+
- **WHISPER_SMALL_EN** - Whisper Small English-only (XNNPACK)
203+
- **WHISPER_SMALL_EN_COREML** - Whisper Small English-only (CoreML)
204204

205205
### Whisper Models (Multilingual)
206206

207-
- **WHISPER_TINY** - Whisper Tiny multilingual
208-
- **WHISPER_BASE** - Whisper Base multilingual
209-
- **WHISPER_SMALL** - Whisper Small multilingual
207+
- **WHISPER_TINY** - Whisper Tiny multilingual (XNNPACK)
208+
- **WHISPER_TINY_COREML** - Whisper Tiny multilingual (CoreML)
209+
- **WHISPER_BASE** - Whisper Base multilingual (XNNPACK)
210+
- **WHISPER_BASE_COREML** - Whisper Base multilingual (CoreML)
211+
- **WHISPER_SMALL** - Whisper Small multilingual (XNNPACK)
212+
- **WHISPER_SMALL_COREML** - Whisper Small multilingual (CoreML)
210213

211214
---
212215

skills/react-native-executorch/references/reference-models.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -195,18 +195,21 @@ For a list of all available Speech to Text models reference [this Hugging Face c
195195

196196
### Whisper Models (English only)
197197

198-
- **WHISPER_TINY_EN** - Whisper Tiny English-only
199-
- **WHISPER_TINY_EN_QUANTIZED** - Whisper Tiny English-only quantized
200-
- **WHISPER_BASE_EN** - Whisper Base English-only
201-
- **WHISPER_BASE_EN_QUANTIZED** - Whisper Base English-only quantized
202-
- **WHISPER_SMALL_EN** - Whisper Small English-only
203-
- **WHISPER_SMALL_EN_QUANTIZED** - Whisper Small English-only quantized
198+
- **WHISPER_TINY_EN** - Whisper Tiny English-only (XNNPACK)
199+
- **WHISPER_TINY_EN_COREML** - Whisper Tiny English-only (CoreML)
200+
- **WHISPER_BASE_EN** - Whisper Base English-only (XNNPACK)
201+
- **WHISPER_BASE_EN_COREML** - Whisper Base English-only (CoreML)
202+
- **WHISPER_SMALL_EN** - Whisper Small English-only (XNNPACK)
203+
- **WHISPER_SMALL_EN_COREML** - Whisper Small English-only (CoreML)
204204

205205
### Whisper Models (Multilingual)
206206

207-
- **WHISPER_TINY** - Whisper Tiny multilingual
208-
- **WHISPER_BASE** - Whisper Base multilingual
209-
- **WHISPER_SMALL** - Whisper Small multilingual
207+
- **WHISPER_TINY** - Whisper Tiny multilingual (XNNPACK)
208+
- **WHISPER_TINY_COREML** - Whisper Tiny multilingual (CoreML)
209+
- **WHISPER_BASE** - Whisper Base multilingual (XNNPACK)
210+
- **WHISPER_BASE_COREML** - Whisper Base multilingual (CoreML)
211+
- **WHISPER_SMALL** - Whisper Small multilingual (XNNPACK)
212+
- **WHISPER_SMALL_COREML** - Whisper Small multilingual (CoreML)
210213

211214
---
212215

0 commit comments

Comments
 (0)