This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
from jiwer import cer | |
from jiwer import transforms as tr | |
from jiwer import wer | |
wer_pipe = tr.Compose( | |
[ | |
tr.ToLowerCase(), | |
tr.RemovePunctuation(), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pathlib import Path | |
import whisper | |
# CHANGE THE MODEL HERE: use "base" or "medium" | |
MODEL_NAME = "base" | |
MODEL = whisper.load_model(MODEL_NAME) | |
with open(MODEL_NAME + ".txt", "a", encoding="utf-8") as result_file: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* ROFI One Dark | |
* | |
* Based on OneDark.vim (https://github.com/joshdick/onedark.vim) | |
* | |
* Author: Benjamin Stauss | |
* User: me-benni | |
* Edit: hatoba29 | |
* | |
*/ |