Views
No views yet
| Model | Architecture | Pre-training DS | UAR | F1 Macro |
|---|---|---|---|---|
| voc2vec | wav2vec 2.0 | Voc125 | .612±.212 | .580±.230 |
| voc2vec-as-pt | wav2vec 2.0 | AudioSet + Voc125 | .603±.183 | .574±.194 |
| voc2vec-ls-pt | wav2vec 2.0 | LibriSpeech + Voc125 | .661±.206 | .636±.223 |
| voc2vec-hubert-ls-pt | HuBERT | LibriSpeech + Voc125 | .696±.189 | .678±.200 |
| Model | Description | Link |
|---|---|---|
| voc2vec | Pre-trained model on 125 hours of non-verbal audio. | 🔗 Model |
| voc2vec-as-pt | Continues pre-training from a wav2vec2-like model that was initially trained on the AudioSet dataset. | 🔗 Model |
| voc2vec-ls-pt | Continues pre-training from a wav2vec2-like model that was initially trained on the LibriSpeech dataset. | 🔗 Model |
| voc2vec-hubert-ls-pt | Continues pre-training from a hubert-like model that was initially trained on the LibriSpeech dataset. | 🔗 Model |
1import torch
2import librosa
3from transformers import AutoModelForAudioClassification, AutoFeatureExtractor
4
5## Load an audio file
6audio_array, sr = librosa.load("path_to_audio.wav", sr=16000)
7
8## Load model and feature extractor
9model = AutoModelForAudioClassification.from_pretrained("alkiskoudounas/voc2vec")
10feature_extractor = AutoFeatureExtractor.from_pretrained("alkiskoudounas/voc2vec")
11
12## Extract features
13inputs = feature_extractor(audio_array.squeeze(), sampling_rate=feature_extractor.sampling_rate, padding=True, return_tensors="pt")
14
15## Compute logits
16logits = model(**inputs).logits1@INPROCEEDINGS{koudounas2025icassp,
2 author={Koudounas, Alkis and La Quatra, Moreno and Siniscalchi, Sabato Marco and Baralis, Elena},
3 booktitle={ICASSP 2025 - 2025 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
4 title={voc2vec: A Foundation Model for Non-Verbal Vocalization},
5 year={2025},
6 volume={},
7 number={},
8 pages={1-5},
9 keywords={Pediatrics;Accuracy;Foundation models;Benchmark testing;Signal processing;Data models;Acoustics;Speech processing;Nonverbal vocalization;Representation Learning;Self-Supervised Models;Pre-trained Models},
10 doi={10.1109/ICASSP49660.2025.10890672}}