Downloads · 30 days
4
9% of all-time downloads
Kruti1234/mindcare-audio-emotion
mindcare-audio-emotion is a machine learning model from Kruti1234. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model detects emotions from speech audio.
Downloads · 30 days
4
9% of all-time downloads
All-time downloads
44
Public
Repo size
158 MB
Likes
0
Public
Click a slice to open those files.
.h5158 MB · 100%
From the Hugging Face model README
This model detects emotions from speech audio.
angry, calm, disgust, fearful, happy, neutral, sad, surprised
from huggingface_hub import hf_hub_download
import tensorflow as tf
import pickle
# Download model
model_path = hf_hub_download(repo_id="Kruti1234/mindcare-audio-emotion", filename="mindcare_audio_emotion_model.h5")
model = tf.keras.models.load_model(model_path)
# Download label encoder
encoder_path = hf_hub_download(repo_id="Kruti1234/mindcare-audio-emotion", filename="audio_label_encoder.pkl")
with open(encoder_path, 'rb') as f:
label_encoder = pickle.load(f)
Trained on RAVDESS dataset with data augmentation.
Apache 2.0