Respair / Arabic_Vocal_Dialect_Classifier

huggingface.co
Total runs: 7
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: April 23 2025
audio-classification

Introduction of Arabic_Vocal_Dialect_Classifier

Model Details of Arabic_Vocal_Dialect_Classifier

Model Card for Model ID

Accuracy : ~91%

Note: The model may sometimes confuse closely related dialects.

Inference



# load the model

import torch
from transformers import AutoModelForAudioClassification
from transformers import AutoFeatureExtractor
import librosa

ckpt = "Respair/Arabic_Vocal_Dialect_Classifier"
feature_extractor = AutoFeatureExtractor.from_pretrained(ckpt)
model = AutoModelForAudioClassification.from_pretrained(ckpt).to('cuda').to(torch.bfloat16) # if your hardware supports it

# inference function
def classify_dialect(audio):
    
    wav = librosa.load(audio, sr=16_000)[0]
    inputs = feature_extractor(wav, sampling_rate=16_000, return_tensors="pt").to(torch.bfloat16).to('cuda')
    with torch.no_grad():
        logits = model(**inputs).logits
    

    predicted_class_ids = torch.argmax(logits).item()

    predicted_class_id = predicted_class_ids.item() if hasattr(predicted_class_ids, 'item') else int(predicted_class_ids)
    
    predicted_label = model.config.id2label[predicted_class_id]
        
    return predicted_label


# run the function

classify_dialect("path/to/audio.mp3") # output something like -> "egyptian"

Runs of Respair Arabic_Vocal_Dialect_Classifier on huggingface.co

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

More Information About Arabic_Vocal_Dialect_Classifier huggingface.co Model

Arabic_Vocal_Dialect_Classifier huggingface.co

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

Arabic_Vocal_Dialect_Classifier huggingface.co Url

https://huggingface.co/Respair/Arabic_Vocal_Dialect_Classifier

Respair Arabic_Vocal_Dialect_Classifier online free

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

Respair Arabic_Vocal_Dialect_Classifier online free url in huggingface.co:

https://huggingface.co/Respair/Arabic_Vocal_Dialect_Classifier

Arabic_Vocal_Dialect_Classifier install

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

Arabic_Vocal_Dialect_Classifier install url in huggingface.co:

https://huggingface.co/Respair/Arabic_Vocal_Dialect_Classifier

Url of Arabic_Vocal_Dialect_Classifier

Arabic_Vocal_Dialect_Classifier huggingface.co Url

Provider of Arabic_Vocal_Dialect_Classifier huggingface.co

Respair
ORGANIZATIONS

Other API from Respair

huggingface.co

Total runs: 58
Run Growth: 0
Growth Rate: 0.00%
Updated:September 16 2026
huggingface.co

Total runs: 50
Run Growth: 40
Growth Rate: 80.00%
Updated:October 07 2025
huggingface.co

Total runs: 4
Run Growth: 4
Growth Rate: 100.00%
Updated:September 13 2025
huggingface.co

Total runs: 3
Run Growth: 0
Growth Rate: 0.00%
Updated:November 06 2024
huggingface.co

Total runs: 2
Run Growth: 2
Growth Rate: 100.00%
Updated:September 20 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 29 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 06 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 06 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:October 22 2024
huggingface.co

Total runs: 0
Run Growth: -6
Growth Rate: 0.00%
Updated:April 16 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 30 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:November 17 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:July 25 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 12 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:July 01 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 17 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 31 2025