Giter Site home page Giter Site logo

flower-speechbrain's Introduction

Flower-SpeechBrain

This repository integrates Flower and SpeechBrain to achieve training ASR models in FL setting.

Requiments

  • Flower and SpeechBrain can be installed based on the instruction on their GitHub repo (Flower GitHub and SpeechBrain GitHub).
  • PyTorch version >= 1.5.0
  • Python version >= 3.7

Examples

The server should be launched first.

python server.py --data_path /path/to/dataset --tr_path /path/to/train.tsv --test_path /path/to/test.tsv --tr_add_path /path/to/train_add.tsv --weight_strategy num

After obtaining server's IP address, the clients can be launched. Here is an example to start one client.

python client.py --cid 0 --server_address xx.xx.xx.xx --data_path /path/to/dataset --tr_path /path/to/train.tsv --dev_path /path/to/dev.tsv --pre_train_model_path /path/to/model.ckpt --tokenizer_path /path/to/tokenizer

Note that the tokenizer_path can be the train.csv file from model pre-training.

flower-speechbrain's People

Contributors

yan-gao-gy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.