I hereby claim:
- I am iateadonut on github.
- I am iateadonut (https://keybase.io/iateadonut) on keybase.
- I have a public key ASDULpOV9WMjrJDHyuqKWyp4tDnDM6RSpKdNeN1jFz738go
To claim this, I am signing this object:
| #!/usr/bin/env python3 | |
| """ | |
| Convert Hugging Face Whisper model to OpenAI .pt format for stable-ts | |
| """ | |
| import torch | |
| from transformers import WhisperForConditionalGeneration, WhisperConfig | |
| import numpy as np | |
| from collections import OrderedDict | |
| import sys |
| shrink_path () { | |
| setopt localoptions | |
| setopt rc_quotes null_glob | |
| typeset -i lastfull=0 | |
| typeset -i short=0 | |
| typeset -i tilde=0 | |
| typeset -i named=0 | |
| typeset -i length=1 | |
| typeset ellipsis="" |
| #!/bin/bash | |
| #time warrior tag summary | |
| while IFS= read -r line;do | |
| tag="${line// -/ }" | |
| tag=`echo $tag` | |
| command="timew \""$1"\" \""$tag"\" summary :month" | |
| response=$(echo `timew \""$1"\" \""$tag"\" summary :month | tail -n 2 | head -n 1`) | |
| [[ $response = "No filtered data"* ]] && response="No data" | |
| printf "%-50s - %-30s\n" "$tag" "$response" | |
| done < <(timew tags :month "$1" | tail -n +4 | head -n -1) |
I hereby claim:
To claim this, I am signing this object: