Downloads · 30 days
0
f233053/audio-deepfake-detection
audio-deepfake-detection is a audio classification model from f233053. Use it for the audio classification task on the model card, and read the license before you ship it in a product.
This repository contains trained models for detecting deepfake audio in Urdu language.
Downloads · 30 days
0
Access
Public
Updated Dec 7, 2025
Repo size
255 KB
Likes
0
Public
Click a slice to open those files.
.joblib255 KB · 99%
From the Hugging Face model README
This repository contains trained models for detecting deepfake audio in Urdu language.
| Model | Accuracy | F1-Score | AUC-ROC |
|---|---|---|---|
| SVM | 0.92 | 0.92 | 0.95 |
| Logistic Regression | 0.89 | 0.89 | 0.93 |
| Perceptron | 0.85 | 0.85 | 0.88 |
| DNN | 0.94 | 0.94 | 0.96 |
import pickle
import librosa
import numpy as np
# Load model and scaler
with open('audio_svm_model.pkl', 'rb') as f:
model = pickle.load(f)
with open('audio_scaler.pkl', 'rb') as f:
scaler = pickle.load(f)
# Load and process audio
audio, sr = librosa.load('audio_file.wav', sr=16000)
features = extract_features(audio, sr) # Use feature extraction function
features_scaled = scaler.transform(features.reshape(1, -1))
# Predict
prediction = model.predict(features_scaled)
probability = model.predict_proba(features_scaled)
If you use these models, please cite the original dataset:
@dataset{csalt_urdu_deepfake,
title={CSALT Urdu Deepfake Detection Dataset},
author={CSALT},
year={2024}
}