Giter VIP home page Giter VIP logo

troll-detector's Introduction

Troll Detector (악플 분류기)

Installation

git clone https://github.com/BM-K/Troll-Detector.git
cd Troll_Detector
git clone https://github.com/SKTBrain/KoBERT.git
cd KoBERT
pip install -r requirements.txt
pip install .

Training Models & hyperparameters

python train_main.py \
  --drop_rate 0.1 \
  --max_len 64 \
  --batch_size 256 \
  --epochs 10 \
  --patience 5 \
  --lr 0.0001 \
  --warmup_step 0.2 \
  --train_ True \
  --test_ True \
  --inference True \
  --path_to_data ./data \
  --path_to_sorted ./output \

하이퍼 파라미터는 위와 같이 튜닝 하였고, 88.2% Accuracy를 얻었습니다.
학습이 완료 되어 inference만 수행 시 train_, test_ 를 False로 inference 는 True로 설정해 사용할 수 있습니다.

Data Split

Train Dev Test
9000 500 500

Demo

> 아무리 사람들이 당신을 욕해도 난 당신 편이예요 홧팅!! [Normal]
> 아무리 사람들이 당신을 커버쳐도 난 너 같은 쓰레기 취급 안 한다~ [Troll]

> 아오 저기서 저렇게 휘두르냐... 아쉽다 [Normal]
> 아오 저기서 저렇게 휘두르면 안 되지 쉬더니 퇴물 됐네 [Troll]

> 확실히 영화 하나는 잘 만드네 근데 배우 캐스팅은 별로 ㅋㅋ; [Normal]
> 확실히 영화 하나는 잘 만드네 근데 배우는 개못생김 ㅋㅋ;	[Troll]

troll-detector's People

Contributors

explorer-nlp avatar bm-k avatar

Stargazers

 avatar  avatar 장수완 avatar Daun avatar  avatar snoop2head avatar  avatar sckwon770 avatar ds wook avatar gyunggyung avatar Seohyun avatar Hyeokkyun avatar MrBananaHuman avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

rlatjrdyd03

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.