Skip to content

Instantly share code, notes, and snippets.

View MiniXC's full-sized avatar
🏠
Working from home

Christoph Minixhofer MiniXC

🏠
Working from home
  • Edinburgh
View GitHub Profile
@MiniXC
MiniXC / update_tpus.sh
Created November 13, 2023 14:53
update_tpus.sh
#!/bin/bash
if ! test -f /etc/hosts.bak; then
sudo cp /etc/hosts /etc/hosts.bak
fi
sudo cp /etc/hosts.bak /etc/hosts
YAML_INFO="
`gcloud compute tpus tpu-vm list --zone=us-central1-f --format=yaml`
@MiniXC
MiniXC / librispeech_speakers.txt
Created April 17, 2024 14:10
librispeech_speakers.txt
; Some pipe(|) separated metadata about all LibriVox readers, whose work was used
; in the corpus.
;
; The meaning of the fields in left-to-right order is as follows:
;
; reader_id: the ID of the reader in the LibriVox's database
; gender: 'F' for female, 'M' for male
; subset: the corpus subset to which the reader's audio is assigned
; duration: total number of minutes of speech by the reader, included in the corpus
; name: the name under which the reader is registered in LibriVox