Giter Site home page Giter Site logo

xlm-roberta-and-dpcnn's Introduction

Project title: "A Duet of XLM-RoBERTa and DPCNN for Sentiment Analysis"

  1. Setup the environment:
    source setup/conda-create.sh
    source setup/conda-active.sh

  2. Install all the dependencies:
    pip install -r requirements.txt

**NOTE: You have change the path to the dataset, according to your

Dataset
Inside a /data/ directory:
1. You can find raw, augmented and pre-preprocessed SST-5 dataset.
2. Moreover, we provide dataset statistics inside /statistics/ folder.
3. In addition, classification reports, confusion matrices and training history are provided inside /history/ folder.

Data Pre-processing
Inside a src/data_prep directory:
1. Inside an /augmentation/ directory, you will find an implementation for the EDA augmentation technique.
2. Inside an /pre-processing/ directory, you will find an implementation for the data pre-processing and statistics.

Training XLMR and DPCNN
Inside a src/training directory:
1. You will find a code for XLMR fine-tuning and XLMR-DPCNN combination

xlm-roberta-and-dpcnn's People

Contributors

phusroyal avatar

Stargazers

 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.