msluszniak commited on
Commit
55c50ec
·
verified ·
1 Parent(s): 9a78f41

Apply the model card standard

Browse files
Files changed (1) hide show
  1. README.md +43 -5
README.md CHANGED
@@ -4,14 +4,52 @@ pipeline_tag: automatic-speech-recognition
4
  library_name: executorch
5
  ---
6
 
7
- # Introduction
8
 
9
- This repository hosts the [whisper-tiny](https://huggingface.co/openai/whisper-tiny) model for the [React Native ExecuTorch](https://www.npmjs.com/package/react-native-executorch) library. It includes the model exported for XNNPACK, CoreML and MLX backends in `.pte` format, ready for use in the **ExecuTorch** runtime.
 
 
10
 
11
- If you'd like to run these models in your own ExecuTorch runtime, refer to the [official documentation](https://pytorch.org/executorch/stable/index.html) for setup instructions.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
 
13
  ## Compatibility
14
 
15
- If you intend to use this models outside of React Native ExecuTorch, make sure your runtime is compatible with the **ExecuTorch** version used to export the `.pte` files. For more details, see the compatibility note in the [ExecuTorch GitHub repository](https://github.com/pytorch/executorch/blob/11d1742fdeddcf05bc30a6cfac321d2a2e3b6768/runtime/COMPATIBILITY.md?plain=1#L4). If you work with React Native ExecuTorch, the constants from the library will guarantee compatibility with runtime used behind the scenes.
 
 
 
 
 
 
16
 
17
- These models were exported using v1.2.0 version of ExecuTorch and **no forward compatibility** is guaranteed. Older versions of the runtime may not work with these files.
 
 
 
4
  library_name: executorch
5
  ---
6
 
7
+ # whisper-tiny
8
 
9
+ This repository hosts the **whisper-tiny** models exported for the
10
+ [React Native ExecuTorch](https://www.npmjs.com/package/react-native-executorch)
11
+ library as ExecuTorch `.pte` programs, ready to run on device.
12
 
13
+ Upstream model: [whisper-tiny](https://huggingface.co/openai/whisper-tiny)
14
+
15
+ ## Variants
16
+
17
+ | Path | Backend | Precision |
18
+ | --- | --- | --- |
19
+ | `coreml/whisper_tiny_coreml_fp16.pte` | coreml | fp16 |
20
+ | `mlx/whisper_tiny_mlx_bf16.pte` | mlx | bf16 |
21
+ | `mlx/whisper_tiny_mlx_int8.pte` | mlx | int8 |
22
+ | `vulkan/whisper_tiny_vulkan_int8.pte` | vulkan | int8 |
23
+ | `vulkan/whisper_tiny_vulkan_fp16.pte` | vulkan | fp16 |
24
+ | `xnnpack/whisper_tiny_xnnpack_fp32.pte` | xnnpack | fp32 |
25
+
26
+ ## Repository structure
27
+
28
+ ```
29
+ config.json 34 B
30
+ coreml/config.json 1.5 kB
31
+ coreml/whisper_tiny_coreml_fp16.pte 72.9 MB
32
+ mlx/config.json 2.6 kB
33
+ mlx/whisper_tiny_mlx_bf16.pte 72.6 MB
34
+ mlx/whisper_tiny_mlx_int8.pte 57.1 MB
35
+ tokenizer.json 2.4 MB
36
+ vulkan/config.json 2.6 kB
37
+ vulkan/whisper_tiny_vulkan_fp16.pte 204 MB
38
+ vulkan/whisper_tiny_vulkan_int8.pte 124 MB
39
+ xnnpack/config.json 1.4 kB
40
+ xnnpack/whisper_tiny_xnnpack_fp32.pte 222 MB
41
+ ```
42
 
43
  ## Compatibility
44
 
45
+ These files are published for the **ExecuTorch v1.4.1** runtime. ExecuTorch
46
+ gives no forward compatibility guarantee, so an older runtime may fail to load
47
+ them.
48
+
49
+ To use them in React Native ExecuTorch, pass the model constant shipped in the
50
+ library's model registry to the corresponding task pipeline. See the
51
+ [documentation](https://docs.swmansion.com/react-native-executorch/docs/fundamentals/loading-models).
52
 
53
+ To load these files in your own ExecuTorch runtime, read the
54
+ [compatibility note](https://github.com/pytorch/executorch/blob/main/runtime/COMPATIBILITY.md)
55
+ first.