GithubHelp home page GithubHelp logo

jsrimr / kobert-nsmc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from monologg/kobert-nsmc

0.0 1.0 0.0 8.15 MB

Naver movie review sentiment classification with KoBERT

License: Apache License 2.0

Python 9.22% Jupyter Notebook 90.78%

kobert-nsmc's Introduction

KoBERT-nsmc

Branches

  • using alternative model(kykim_model) : features/kykim_model
  • using alternative preprocessing method : features/preprocessing

Dependencies

  • torch==1.4.0
  • transformers==2.10.0

How to use

To check the base flow, Please refer to this Train_and_Eval.ipynb

Also, you can check basic hugging-face usage in this HuggingFace Practice.ipynb

Usage

$ python3 main.py --model_type kobert --do_train --do_eval

Prediction

$ python3 predict.py --input_file {INPUT_FILE_PATH} --output_file {OUTPUT_FILE_PATH} --model_dir {SAVED_CKPT_PATH}

Results

you can check visulized results on https://app.neptune.ai/jeffrey/nsmc/experiments?compare=EwBgNAzGCMQ&split=tbl&dash=charts&viewId=standard-view&sortBy=%5B%22sys%2Fcreation_time%22%5D&sortFieldType=%5B%22datetime%22%5D&sortFieldAggregationMode=%5B%22auto%22%5D&sortDirection=%5B%22descending%22%5D&suggestionsEnabled=false&lbViewUnpacked=true

Accuracy (%)
KoBERT 89.63

References

kobert-nsmc's People

Contributors

jsrimr avatar monologg 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.