Git Product home page Git Product logo

speech2translate_jeju's Introduction

speech2translate_jeju

Development Setting

  • OS: Linux Ubuntu 20.4 LTS
  • Python: 3.9.x
  • Docker container: nvidia/cuda:11.8.0-devel-ubuntu20.04

Installed Libraries

docker pull nvidia/cuda:11.8.0-devel-ubuntu20.04
pip install -r requirements.txt

How to use

  1. Download the dataset LINK
  2. '재주도'에 해당하는 데이터 및 따라 말하기 데이터만을 다운 받아서 압축을 해제합니다.
    이 때, train set 폴더 명을 circum_01로 하면 다른 수정 과정을 거치지 않아도 무방합니다.
  3. EDA_dataset.ipynb 파일부터 실행하여 train, test split 된 파일을 생성합니다.
    이후, 각 셀을 실행시키면서 train, validation csv를 저장합니다.
  4. jeju_kobart.ipynb를 실행합니다.
    해당 셀을 그대로 실행할 경우 문제가 없지만, 만약 custom dataset을 이용하려는 경우 dictionary 형태를 잘 지켜주세요.
    ex. {'kr': "한국어", 'en':"English"}
  5. jeju_kobart.ipynb는 한 파일에 fine tuning과 evaluation을 모두 진행합니다. 참고하여 실행하여 주세요. (trainer.push_to_hub() 이후는 evaluation process)
  6. 만약, Conformer(no finetuning) + JejuBART(KoBART jeju dialect fine tuning)를 사용하고 싶다면 위의 5번 학습 이후 jeju_conformer.ipynb 파일을 실행해주세요.

Evaluation Result

Model Name BLEU Score CER Score Human Voting Score
JejuBART(ours) 0.7187 0.0984 2.00

More results and cleansing codes would be published as soon as possible.

speech2translate_jeju's People

Contributors

seoulsky-field avatar

Watchers

 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.