Logo Lanfrica

fokouarnaud/nge-whisper

Domain:

natural language processing

Record type:

project
Creator:
fok
Host:
intelligence tools for Ngemba # đŸŽ€ Ngemba Whisper Fine-tuning Project CrĂ©er un modĂšle Whisper fine-tunĂ© pour la reconnaissance vocale en Ngemba, intĂ©grable dans l'application Handy. ## 📋 PrĂ©requis - DonnĂ©es audio Ngemba (~500+ heures) avec transcriptions annotĂ©es - Google Drive (pour stockage persistent sur Colab) - Google Colab account (gratuit, avec GPU T4) - Les fichiers de ce projet ## 🚀 DĂ©marrage Rapide ### 1. PrĂ©paration Dataset ``` data/ ├── raw/ # Audio brut (wav, mp3) ├── processed/ # Audio traitĂ© (16kHz, mono) ├── annotations/ │ ├── train.json # Transcriptions train │ ├── val.json # Transcriptions val │ └── test.json # Transcriptions test └── splits/ ├── train/ # Audio entraĂźnement ├── val/ # Audio validation └── test/ # Audio test ``` #### Format JSON annotations: ```json [ { "audio_file": "ngemba_001.wav", "text": "transcription ngemba complĂšte" }, ... ] ``` ### 2. Google Colab Setup 1. Ouvrir Google Colab: colab.research.google.com 2. Charger notebook: `notebooks/01_colab_finetune.ipynb` 3. ExĂ©cuter cellules dans l'ordre: - ✅ Monter Google Drive - ✅ Installer dĂ©pendances - ✅ Configurer hyperparamĂštres - ✅ Charger dataset - 🚀 DĂ©marrer entraĂźnement ### 3. EntraĂźnement avec Checkpoints **CaractĂ©ristiques automatiques:** - ✅ Checkpoint tous les 10 epochs - ✅ Sauvegarde locale (cache rapide) - ✅ Copie Google Drive (persistent) - ✅ Reprise automatique si timeout - ✅ Nettoyage anciens checkpoints **Exemple flux:** ``` Epoch 1-10: Train → Checkpoint sauvegardĂ© Epoch 11-20: Train → Checkpoint sauvegardĂ© ... Session timeout? → Relancer notebook → Reprendre epoch N ``` ### 4. Post-EntraĂźnement - Évaluation sur test set (WER, CER) - Export en format GGML (pour Handy) - Packaging pour distribution ## 📁 Structure Projet ``` ngemba-whisper-app/ ├── 📂 data/ │ ├── raw/ # Audio brut │ ├── processed/ # Audio traitĂ© │ ├── annotations/ #