arkaydeus commited on
Commit
a31a52b
·
verified ·
1 Parent(s): 19f4c2f

Word Aligner (wav2vec 2.0 base) 1.0.0-int8

Browse files
LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) Facebook, Inc. and its affiliates.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
README.md ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - coreml
5
+ - audio
6
+ - speech
7
+ - forced-alignment
8
+ language:
9
+ - en
10
+ ---
11
+
12
+ # Word Aligner: wav2vec 2.0 base for Core ML (int8)
13
+
14
+ Times English words against the audio for Clarity Sound Studio, a free, open-source macOS app. The app aligns its transcript with this model's character outputs (CTC), so word cuts land on word boundaries.
15
+
16
+ | | |
17
+ | --- | --- |
18
+ | File | `WordAligner-w2v2-base-en-int8.mlpackage` (ML Program, 8-bit weights, macOS 14+) |
19
+ | Upstream | wav2vec 2.0 base fine-tuned on LibriSpeech 960 h, as redistributed by torchaudio (`torchaudio.pipelines.WAV2VEC2_ASR_BASE_960H`) |
20
+ | Conversion | `convert_aligner.py --int8`: traced with torchaudio's model definition, converted with coremltools, weights quantised to 8 bits |
21
+
22
+ The model is otherwise unchanged.
23
+
24
+ ## Licence
25
+
26
+ The weights are published by the fairseq authors under the MIT licence; see `LICENSE`. Copyright (c) Facebook, Inc. and its affiliates.
27
+
28
+ > A. Baevski, H. Zhou, A. Mohamed and M. Auli, "wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations", NeurIPS 2020. <https://github.com/pytorch/fairseq/tree/ce6c9eeae163ac04b79539c78e74f292f29eaa18/examples/wav2vec>
29
+
30
+ The conversion traced torchaudio's model definition, Copyright (c) 2017 Facebook Inc. (Soumith Chintala), BSD-2-Clause licence, <https://github.com/pytorch/audio>. No torchaudio code is in this repository.
WordAligner-w2v2-base-en-int8.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c849eed5cb3f4fd8e892f11f1fb49d7de2a20a67e9b47ef4c2856e1b78d206a0
3
+ size 172187
WordAligner-w2v2-base-en-int8.mlpackage/Data/com.apple.CoreML/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0da2a3f6318106f99012fca8aec70d5ce531199ff98bcfbd91176a382cdfa975
3
+ size 94717754
WordAligner-w2v2-base-en-int8.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "857FFC15-7E5C-4C70-8A0E-2BA58E530343": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "AF13F4FE-CA20-4E5F-9C6B-4CF7EB2D5D3E": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Specification",
13
+ "name": "model.mlmodel",
14
+ "path": "com.apple.CoreML/model.mlmodel"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "AF13F4FE-CA20-4E5F-9C6B-4CF7EB2D5D3E"
18
+ }