GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ZQuang2202/Zipformer_Lightning: An upgrade framework for train and validate compare with icefall using Lightning.

BranchesTags
Open more actions menu

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
egs/librispeech
egs/librispeech
 
 
extras
extras
 
 
scripts
scripts
 
 
zipformer_lightning
zipformer_lightning
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Introduction

This repository builds upon the incredible work of icefall, integrating and extending its features to provide a convenient and controllable framework for model training and testing. The base line code use Zipformer with Eden scheduler and ScaledAdam optimizer. Feel free to customize the provided configuration file and layer modules to suit your specific model and training requirements.

How to use

Installation

Step 1: Install this repo

git clone https://github.com/ZQuang2202/Zipformer_Lightning.git
cd Zipformer_Lightning

Step 2: Create environment

conda create -n zipformer_lightning python=3.10
export CUDA_HOME=/usr/local/cuda
export PATH=$CUDA_HOME/bin:$PATH
export LD_LIBRARY_PATH=$CUDA_HOME/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$CUDA_HOME/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$CUDA_HOME/extras/CUPTI/lib64:$LD_LIBRARY_PATH
export CUDAToolkit_ROOT_DIR=$CUDA_HOME
export CUDAToolkit_ROOT=$CUDA_HOME
export CMAKE_CUDA_ARCHITECTURES=75
conda activate zipformer_lightning
pip install -r requirements.txt

Step 3: Install Warp RNNT

bash scripts/install_rnnt.sh

Step 4: Install the repo to an editable package

pip install -e .

Training and Test

Customize your configuration at the config file. Customize your model and modules at here.

To train and test:

cd egs/librispeech
export CUDA_VISIBLE_DEVICES=0,1 & python3 run.py --config configs/zipformer.yaml

About

An upgrade framework for train and validate compare with icefall using Lightning.

Topics

automatic-speech-recognitionpytorch-lightningzipformer

Resources

Readme
MIT license
Activity

Stars

16 stars

Watchers

3 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.