Git Product home page Git Product logo

nlp-project's Introduction

Aspect-based Sentiment Analysis on Cosmetics Customer Reviews

2023-2 자연언어처리 프로젝트

Result

Dashboard

Dataset

AI-Hub 속성기반 감성분석 데이터를 사용했습니다.

Model

klue/roberta-base를 사용했습니다.

Summary

Directory Explanation
EDA 데이터 전처리를 수행하는 DataPreprocessing.ipynb, 간단히 데이터 확인하는 EDA.ipynb
NLP 기타 기능을 분리한 etc_plugin.py, 모델 관련 부차적 함수를 분리한 model_plugin.py, 모델 학습하는 run.ipynb
Dashboard 생성된 BEST 모델을 기반으로 test 데이터셋을 넣었을 때 점수를 확인하고, 대시보드용 csv 파일을 생성하는 Dashboard.ipynb

Usage

Python 3.8.10

python -m venv myenv &&
source myenv/bin/activate &&
pip install -r requirements.txt &&
jupyter notebook

Execution Order

Important

EDA/absa_data안에 AI-Hub 속성기반 감성분석 데이터(도메인이 '화장품'인 데이터만 해당)를 넣고 아래와 같은 순서로 실행해주세요.

flowchart LR;
    A[EDA/DataPreprocessing.ipynb]---->B;
    B[EDA/EDA.ipynb]---->C;
    C[NLP/run.ipynb]---->D[Dashboard/Dashboard.ipynb];
Loading

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.