Access the LaSDAICVI models: trained on recordings of children

These models were trained on LaSDAICVI, a dataset of voice recordings of minors collected with the informed consent of their parents for research. Please tell us who you are and confirm the terms of use.

Log in or Sign Up to review the conditions and access this model content.

LaSDAICVI keyword-spotting models

The 60 keyword-spotting models of the B.Sc. thesis Diseño de interacción humano-robot para el aprendizaje de las tablas de multiplicación e implementación de los modelos de reconocimiento del habla (Gilberto Carrillo, Universidad de los Andes, Venezuela, 2021, DOI 10.13140/RG.2.2.27502.95042), trained on the LaSDAICVI dataset of Spanish speech from children aged 8 to 11.

These are the original 2021 weights, the ones behind Table 4.1 of the thesis: 10 tasks x 3 architectures (CNN, GRU, CRNN) x with/without data augmentation. They were not retrained.

Dataset gilbertocp93/LaSDAICVI
Training code training/ in the dataset repository
Thesis 10.13140/RG.2.2.27502.95042 (Spanish)
License CC BY-NC 4.0

Tasks

Every task has two extra classes: _desconocido_ (any other word) and _silencio_.

Task Recognises Classes
table2 ... table9 the ten results of one multiplication table (table2: 2, 4, ... 20) 12
interaction the commands si no verdadero falso detente siguiente aprender repite jugar continúa 12
pepe the robot's wake word pepe 3

Files

<task>/<arch>_<aug|base>/
├── model.keras    # Keras 3 model, converted from the original weights
├── model.tflite   # original TensorFlow Lite export (2021)
├── original.h5    # original weights file (2021); load with the training code's build_model + load_weights
├── labels.json    # class names, in model-output order
└── metrics.json   # test metrics recomputed from these files, and the Table 4.1 values

aug models were trained with time stretching and background noise; base models without. Class names are sorted as strings (10, 12, ..., 2, 20, 4, ...): always map outputs through labels.json.

Usage

Input: a 16 kHz mono clip of one word, placed in a 2 s window, turned into 20 MFCCs with TensorFlow's raw audio ops (the exact features the models were trained on). Output: class probabilities.

import json
import numpy as np
import soundfile as sf
import tensorflow as tf
import keras
from huggingface_hub import snapshot_download

folder = snapshot_download("gilbertocp93/LaSDAICVI-models", allow_patterns="interaction/gru_aug/*")
model = keras.models.load_model(f"{folder}/interaction/gru_aug/model.keras")
classes = json.load(open(f"{folder}/interaction/gru_aug/labels.json"))["classes"]

wave, sr = sf.read("word.wav", dtype="float32")    # 16 kHz mono, shorter than 2 s
assert sr == 16000
window = np.zeros(32000, dtype=np.float32)          # 2 s window
window[: len(wave)] = wave[:32000]

spectrogram = tf.raw_ops.AudioSpectrogram(
    input=window[:, None], window_size=1024, stride=512, magnitude_squared=True)
mfcc = tf.raw_ops.Mfcc(
    spectrogram=spectrogram, sample_rate=16000, upper_frequency_limit=8000,
    lower_frequency_limit=0, filterbank_channel_count=40, dct_coefficient_count=20)
x = mfcc.numpy()[..., None]                         # (1, 61, 20, 1)

probs = model.predict(x, verbose=0)[0]
print(classes[int(probs.argmax())], float(probs.max()))

The .tflite files take the same input. lasdaicvi_kws.features in the training code computes the same features for batches of clips.

Results

Test accuracy (%) on the speaker-independent test split of LaSDAICVI, clean and with added school background noise, and the thesis "AUC", which is the area under the DET curve (lower is better). All values were recomputed from these files on the test arrays saved with each model in 2021.

Task Model Augmentation Clean acc. Noisy acc. DET area clean DET area noisy
table2 CNN no 91.98 33.13 0.0041 0.2963
table2 CNN yes 97.03 92.53 0.0007 0.0032
table2 GRU no 95.44 41.42 0.0024 0.2288
table2 GRU yes 97.10 95.57 0.0006 0.0016
table2 CRNN no 94.95 32.02 0.0025 0.3147
table2 CRNN yes 97.86 96.33 0.0004 0.0011
table3 CNN no 86.70 34.13 0.0070 0.3223
table3 CNN yes 94.52 88.62 0.0014 0.0063
table3 GRU no 93.83 40.71 0.0030 0.2147
table3 GRU yes 97.19 94.52 0.0009 0.0021
table3 CRNN no 94.17 30.50 0.0023 0.3289
table3 CRNN yes 96.85 93.76 0.0012 0.0027
table4 CNN no 88.40 34.24 0.0060 0.2708
table4 CNN yes 94.86 89.93 0.0013 0.0054
table4 GRU no 93.40 43.47 0.0030 0.1931
table4 GRU yes 97.22 95.00 0.0007 0.0028
table4 CRNN no 94.65 34.65 0.0013 0.2590
table4 CRNN yes 96.46 94.10 0.0007 0.0033
table5 CNN no 87.34 33.15 0.0065 0.3304
table5 CNN yes 93.29 86.23 0.0021 0.0091
table5 GRU no 92.53 41.59 0.0031 0.2152
table5 GRU yes 97.79 95.02 0.0006 0.0031
table5 CRNN no 91.56 29.76 0.0047 0.3295
table5 CRNN yes 95.57 91.76 0.0012 0.0038
table6 CNN no 89.48 34.94 0.0051 0.2974
table6 CNN yes 94.23 89.28 0.0015 0.0047
table6 GRU no 93.08 37.92 0.0029 0.2074
table6 GRU yes 97.90 95.12 0.0011 0.0020
table6 CRNN no 90.98 31.89 0.0034 0.3177
table6 CRNN yes 96.13 92.94 0.0007 0.0025
table7 CNN no 88.33 48.66 0.0065 0.2036
table7 CNN yes 93.21 88.33 0.0021 0.0058
table7 GRU no 94.58 40.01 0.0016 0.1987
table7 GRU yes 97.25 94.65 0.0006 0.0024
table7 CRNN no 94.17 35.62 0.0017 0.2254
table7 CRNN yes 96.84 94.23 0.0006 0.0030
table8 CNN no 88.57 42.31 0.0068 0.2371
table8 CNN yes 94.42 89.39 0.0014 0.0051
table8 GRU no 93.06 40.82 0.0024 0.1976
table8 GRU yes 95.03 91.97 0.0016 0.0046
table8 CRNN no 93.61 36.39 0.0022 0.2485
table8 CRNN yes 96.87 94.08 0.0004 0.0033
table9 CNN no 87.76 44.08 0.0077 0.2279
table9 CNN yes 93.33 88.10 0.0021 0.0061
table9 GRU no 93.13 44.63 0.0022 0.1809
table9 GRU yes 96.12 93.13 0.0007 0.0025
table9 CRNN no 91.63 42.99 0.0034 0.1969
table9 CRNN yes 95.37 91.97 0.0009 0.0047
interaction CNN no 89.62 40.35 0.0067 0.2576
interaction CNN yes 95.54 88.85 0.0008 0.0056
interaction GRU no 94.63 43.07 0.0031 0.2023
interaction GRU yes 98.33 96.86 0.0004 0.0009
interaction CRNN no 96.10 35.89 0.0006 0.2688
interaction CRNN yes 97.63 95.12 0.0004 0.0011
pepe CNN no 96.26 44.86 0.0040 0.4472
pepe CNN yes 97.51 93.77 0.0007 0.0046
pepe GRU no 97.51 61.68 0.0006 0.2141
pepe GRU yes 99.38 97.82 0.0001 0.0007
pepe CRNN no 98.13 45.17 0.0011 0.4432
pepe CRNN yes 97.82 94.70 0.0007 0.0072

Both accuracies equal Table 4.1 of the thesis for all 60 models, and the .tflite files give the same accuracy as the Keras models. The DET areas equal the thesis for 60 of 60 models on the clean set and 43 of 60 on the noisy set; the others differ slightly, mostly for models without augmentation, the cause was not identified (a newer scikit-learn det_curve is one candidate). For pepe CNN without augmentation the thesis reports 0.2413 on the noisy set, against 0.4472 here.

Training

Adam, learning rate 1e-5, batch 128, 300 epochs (400 for some base models), keeping the checkpoint with the lowest validation loss, on Google Colab with a GPU runtime in 2021. The full pipeline (splits, unknown and silence classes, augmentation, MFCC, models) is documented and reproducible with the training code.

Limitations

  • The training speakers are 21 children from a single locality (Tucaní, Mérida, Venezuela), recorded in a quiet room with prompted speech. Expect lower accuracy on other accents, adults, far-field audio or spontaneous speech.
  • The validation and test splits contain only 10 children each, so the test metrics carry sampling noise.
  • The models classify isolated 2 s clips; they are not streaming detectors and were not tested on a robot with children, which the thesis left as future work.

Responsible use

The models were trained on recordings of minors. Use them only for non-commercial research and education, and not for speaker identification, voice cloning or voice synthesis.

Citation

@dataset{carrillo2026lasdaicvi,
  author    = {Carrillo, Gilberto},
  title     = {LaSDAICVI: Children's Spanish Voice Commands Dataset},
  publisher = {Zenodo},
  year      = {2026},
  doi       = {10.5281/zenodo.24430509}
}

@thesis{carrillo2021lasdaicvi,
  author      = {Carrillo, Gilberto},
  title       = {Dise{\~n}o de interacci{\'o}n humano-robot para el aprendizaje de las tablas de multiplicaci{\'o}n e implementaci{\'o}n de los modelos de reconocimiento del habla},
  type        = {B.Sc. thesis},
  institution = {Universidad de los Andes},
  address     = {M{\'e}rida, Venezuela},
  year        = {2021},
  doi         = {10.13140/RG.2.2.27502.95042}
}
Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train gilbertocp93/LaSDAICVI-models