AudioSangraha Audio to Text

ProviderAqeelShafy7
Categoryaudio-generation
Licenseapache-2.0
Downloads6
Stars0

Overview

AudioSangraha is a specialized audio-to-text transcription model designed for developers needing reliable speech-to-text conversion. Unlike general-purpose LLMs, this model focuses on the precise transformation of audio signals into structured text, making it ideal for building automated captioning tools, meeting transcription services, or voice-command interfaces. It is released under the Apache-2.0 license, offering significant flexibility for commercial integration and modification. For developers, this means a lightweight path to adding auditory perception to their applications without the overhead of managing massive proprietary pipelines. It serves as a practical utility for pipelines requiring high-fidelity transcription before passing text to downstream NLP tasks.

Highlights

  • Efficient audio-to-text conversion for automated transcription workflows.
  • Apache-2.0 license allows flexible commercial and private deployment.
  • Ideal for captioning tools and voice-driven application interfaces.
  • Streamlines data preprocessing for downstream NLP text analysis.

Usage

Install
# Install Hugging Face transformers
pip install transformers torch
SDK Usage
# Load model with transformers
from transformers import AutoModel, AutoTokenizer

model = AutoModel.from_pretrained("AqeelShafy7/AudioSangraha-Audio_to_Text")
tokenizer = AutoTokenizer.from_pretrained("AqeelShafy7/AudioSangraha-Audio_to_Text")

Hugging Face Download

We recommend downloading the model via the Hugging Face CLI or Hub SDK.

Guidance:Before downloading, install huggingface_hub with:

Guidance
pip install -U huggingface_hub

CLI Download

Download the full repository

Download the full repository
huggingface-cli download AqeelShafy7/AudioSangraha-Audio_to_Text

Download a single file to a local folder (e.g. config.json into ./dir)

Download a single file to a local folder (e.g. config.json into ./dir)
huggingface-cli download AqeelShafy7/AudioSangraha-Audio_to_Text config.json --local-dir ./dir

See the official docs for more CLI options

SDK Download

SDK Download
# 模型下载
from huggingface_hub import snapshot_download
model_dir = snapshot_download('AqeelShafy7/AudioSangraha-Audio_to_Text')

Git Download

Make sure git-lfs is installed first

Git Download
git lfs install
git clone https://huggingface.co/AqeelShafy7/AudioSangraha-Audio_to_Text

To skip LFS large-file downloads, use:

Skip LFS
GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/AqeelShafy7/AudioSangraha-Audio_to_Text

Model files are hosted on the Hugging Face Hub — download directly via HF CLI / SDK / Git, not through this site.

PyTorch / Transformers Usage

Install Transformers

Install Transformers
pip install -U transformers torch

Load the model and run inference

Load the model and run inference
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained('AqeelShafy7/AudioSangraha-Audio_to_Text')
tokenizer = AutoTokenizer.from_pretrained('AqeelShafy7/AudioSangraha-Audio_to_Text')

Full Documentation

来源: HuggingFace

---
license: apache-2.0
base_model: openai/whisper-small
tags:

  • trnslation

  • generated_from_trainer

metrics:
  • wer

model-index:
  • name: AudioSangraha-Audio_to_Text

results: []
---

<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

AudioSangraha-Audio_to_Text

This model is a fine-tuned version of openai/whisper-small on the None dataset.
It achieves the following results on the evaluation set:

  • Loss: 0.3071

  • Wer: 52.3227

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 1e-05

  • train_batch_size: 8

  • eval_batch_size: 8

  • seed: 42

  • gradient_accumulation_steps: 2

  • total_train_batch_size: 16

  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08

  • lr_scheduler_type: linear

  • lr_scheduler_warmup_steps: 500

  • num_epochs: 10

Training results

| Training Loss | Epoch | Step | Validation Loss | Wer |
|:-------------:|:-----:|:----:|:---------------:|:-------:|
| 0.1036 | 3.91 | 1000 | 0.2257 | 55.1779 |
| 0.007 | 7.81 | 2000 | 0.3071 | 52.3227 |

Framework versions

  • Transformers 4.37.2
  • Pytorch 2.1.0+cu121
  • Datasets 2.17.0
  • Tokenizers 0.15.1
Join our Telegram