Giter Club home page Giter Club logo

korea-univ-2020's Introduction

Korea-univ-2020

자연어처리 한국어(nsmc) / 영어(emotionlines) 감정 분류 모델링

한국어 감성 분류 모델은 KoBERT를 사용하였습니다. 영어 감정 분류 모델은 electra를 활용하였습니다.

Requirements

  • transformers == 2.10.0
  • PyTorch == 1.0.1
  • TensorFlow == 2.0.0

학습환경 : AWS p3.16xlarge(GPU:8, CPU:64, MEMORY:488G - Tesla V100)

  1. 한국어 모델 실행 방법

(1) 모델 학습 : 활용 데이터 기본 제공 nsmc train 데이터 활용

python3 main.py --model_type kobert --do_train --do_eval --num_train_epochs 24

(2) 답안 구현

python3 predict.py --input_file ko_data1.txt --output_file pred_1217_kobert_epo24.txt --model_dir model/

  1. 영어 모델 실행 방법 : 활용 데이터 기본 제공 emotionlines train 데이터 활용

electra-base-emotionlines.ipynb 소스 파일 실행(학습 및 추론 모두 포함)

Reference

korea-univ-2020's People

Contributors

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