Giter Club home page Giter Club logo

korquad-tpu's Introduction

Table of contents

  1. KorQuAD-TPU
    1. Notice
  2. Usage

KorQuAD-TPU

A KorQuAD QuestionAnswering model training on TPU.

Notice

This repository made by middle school student without a major.

In any case, I recommend that you DO NOT ATTEMPT training with this code.

Usage

(I don't recommend training this, but) You will want to have TPU.

In my case, I got TPU v3-8 at TPU Research Cloud for other research purpose. And I had some resources to spare, so I worked on this project, alone.

If you really want to train this, get tpu at trc like me or pay for it at gcp.

If you have a tensorflow tpu vm(it's really important, use vm not node), clone this repo and run following code.

pip install -r requirements.txt

WANDB_LOG_MODEL=KorQuAD-TPU-TEST
For wandb

python3 run_qa.py --model_name_or_path distilbert-base-cased-distilled-squad --output_dir OUTPUTDISK --dataset_name squad_kor_v2 --do_train --do_eval --tpu_name local --preprocessing_num_workers 15

OUTPUTDISK must be a mounted disk from gcp compute disk.

korquad-tpu's People

Contributors

deveworld 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.