tiantiaf / voxlect-german-dialect-whisper-small

huggingface.co
Total runs: 1
24-hour runs: 0
7-day runs: 0
30-day runs: -3
Model's Last Updated: August 11 2025
audio-classification

Introduction of voxlect-german-dialect-whisper-small

Model Details of voxlect-german-dialect-whisper-small

Whisper-small for German Dialect Classification

Model Description

This model includes the implementation of German dialect classification described in Voxlect: A Speech Foundation Model Benchmark for Modeling Dialect and Regional Languages Around the Globe

Github repository: https://github.com/tiantiaf0627/voxlect

The included German dialects are with speakers from:

[
  "Austria", 
  "German-Non-NRW Area", 
  "German-NRW",
  "Other", 
  "Swiss"
]

How to use this model

Download repo
git clone [email protected]:tiantiaf0627/voxlect
Install the package
conda create -n voxlect python=3.8
cd voxlect
pip install -e .
Load the model
# Load libraries
import torch
import torch.nn.functional as F
from src.model.dialect.whisper_dialect import WhisperWrapper

# Find device
device = torch.device("cuda") if torch.cuda.is_available() else "cpu"

# Load model from Huggingface
model = WhisperWrapper.from_pretrained("tiantiaf/voxlect-german-dialect-whisper-small").to(device)
model.eval()
Prediction
# Label List
dialect_list = [
  "Austria", 
  "German-Non-NRW Area", 
  "German-NRW",
  "Other", 
  "Swiss"
]
    
# Load data, here just zeros as an example
# Our training data filters output audio shorter than 3 seconds (unreliable predictions) and longer than 15 seconds (computation limitation)
# So you need to prepare your audio to a maximum of 15 seconds, 16kHz, and mono channel
max_audio_length = 15 * 16000
data = torch.zeros([1, 16000]).float().to(device)[:, :max_audio_length]
logits, embeddings = model(data, return_feature=True)
    
# Probability and output
dialect_prob = F.softmax(logits, dim=1)
print(dialect_list[torch.argmax(dialect_prob).detach().cpu().item()])

Responsible Use: Users should respect the privacy and consent of the data subjects, and adhere to the relevant laws and regulations in their jurisdictions when using Voxlect.

If you have any questions, please contact: Tiantian Feng ( [email protected] )

❌ Out-of-Scope Use

  • Clinical or diagnostic applications
  • Surveillance
  • Privacy-invasive applications

Runs of tiantiaf voxlect-german-dialect-whisper-small on huggingface.co

1
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
-3
30-day runs

More Information About voxlect-german-dialect-whisper-small huggingface.co Model

More voxlect-german-dialect-whisper-small license Visit here:

https://choosealicense.com/licenses/openrail

voxlect-german-dialect-whisper-small huggingface.co

voxlect-german-dialect-whisper-small huggingface.co is an AI model on huggingface.co that provides voxlect-german-dialect-whisper-small's model effect (), which can be used instantly with this tiantiaf voxlect-german-dialect-whisper-small model. huggingface.co supports a free trial of the voxlect-german-dialect-whisper-small model, and also provides paid use of the voxlect-german-dialect-whisper-small. Support call voxlect-german-dialect-whisper-small model through api, including Node.js, Python, http.

voxlect-german-dialect-whisper-small huggingface.co Url

https://huggingface.co/tiantiaf/voxlect-german-dialect-whisper-small

tiantiaf voxlect-german-dialect-whisper-small online free

voxlect-german-dialect-whisper-small huggingface.co is an online trial and call api platform, which integrates voxlect-german-dialect-whisper-small's modeling effects, including api services, and provides a free online trial of voxlect-german-dialect-whisper-small, you can try voxlect-german-dialect-whisper-small online for free by clicking the link below.

tiantiaf voxlect-german-dialect-whisper-small online free url in huggingface.co:

https://huggingface.co/tiantiaf/voxlect-german-dialect-whisper-small

voxlect-german-dialect-whisper-small install

voxlect-german-dialect-whisper-small is an open source model from GitHub that offers a free installation service, and any user can find voxlect-german-dialect-whisper-small on GitHub to install. At the same time, huggingface.co provides the effect of voxlect-german-dialect-whisper-small install, users can directly use voxlect-german-dialect-whisper-small installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

voxlect-german-dialect-whisper-small install url in huggingface.co:

https://huggingface.co/tiantiaf/voxlect-german-dialect-whisper-small

Url of voxlect-german-dialect-whisper-small

voxlect-german-dialect-whisper-small huggingface.co Url

Provider of voxlect-german-dialect-whisper-small huggingface.co

tiantiaf
ORGANIZATIONS

Other API from tiantiaf