Downloads · 30 days
3
6% of all-time downloads
RaghaRao314159/transcription-models
transcription-models is a automatic speech recognition model from RaghaRao314159. Use it when you need speech turned into text. It is set up for transformers.
This repository contains comparable exports of the same audio transcription stack at two training stages:
Downloads · 30 days
3
6% of all-time downloads
All-time downloads
50
Public
Repo size
8.3 GB
Likes
0
Public
Click a slice to open those files.
.safetensors8.3 GB · 99%
From the Hugging Face model README
This repository contains comparable exports of the same audio transcription stack at two training stages:
stage_astage_bEach stage subfolder contains:
audio_projector weightsimport torch
from transformers import AutoModel, AutoTokenizer, WhisperFeatureExtractor
stage = "stage_b"
model = AutoModel.from_pretrained(
"RaghaRao314159/transcription-models",
subfolder=stage,
trust_remote_code=True,
torch_dtype=torch.bfloat16,
)
tokenizer = AutoTokenizer.from_pretrained(
"RaghaRao314159/transcription-models",
subfolder=stage,
trust_remote_code=True,
)
feature_extractor = WhisperFeatureExtractor.from_pretrained(
"RaghaRao314159/transcription-models",
subfolder=stage,
)
python pull_model_and_infer.py --model-source "RaghaRao314159/transcription-models" --stage both --audio-path test.mp3