Downloads · 30 days
6
2% of all-time downloads
N07P/whisper-tiny-oilgas-russian
whisper-tiny-oilgas-russian is a automatic speech recognition model from N07P. Use it when you need speech turned into text. It is set up for transformers. The card lists the license as apache-2.0.
Дообученная модель Whisper Tiny для распознавания речи на русском языке с акцентом на нефтегазовую терминологию.
Downloads · 30 days
6
2% of all-time downloads
All-time downloads
252
Public
Parameters
37.8M
151 MB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors151 MB · 97%
From the Hugging Face model README
Дообученная модель Whisper Tiny для распознавания речи на русском языке с акцентом на нефтегазовую терминологию.
from transformers import WhisperProcessor, WhisperForConditionalGeneration
import librosa
processor = WhisperProcessor.from_pretrained("ТВОЙ_USERNAME/whisper-tiny-oilgas-russian")
model = WhisperForConditionalGeneration.from_pretrained("ТВОЙ_USERNAME/whisper-tiny-oilgas-russian")
audio, sr = librosa.load("audio.wav", sr=16000)
inputs = processor(audio, sampling_rate=16000, return_tensors="pt")
generated_ids = model.generate(inputs.input_features, language="russian", task="transcribe")
transcription = processor.batch_decode(generated_ids, skip_special_tokens=True)[0]
Провоторов Н. Р. ([email protected], @prog_by_onion, https://vk.com/progbyonion)