Downloads · 30 days
0
osanseviero/hubert-sd
hubert-sd is a machine learning model from osanseviero. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for superb.
Downloads · 30 days
0
Access
Public
Updated Jul 27, 2021
Repo size
31.5 MB
Likes
0
Public
Click a slice to open those files.
.ckpt31.5 MB · 100%
From the Hugging Face model README
import io
import soundfile as sf
from urllib.request import urlopen
from model import PreTrainedModel
model = PreTrainedModel()
url = "https://huggingface.co/datasets/lewtun/s3prl-sd-dummy/raw/main/audio.wav"
data, samplerate = sf.read(io.BytesIO(urlopen(url).read()))
print(model(data))