Giter VIP home page Giter VIP logo

semeval17-transformer-attention-lstm's Introduction

LAB 3: Sentiment analysis using NLP models

Prerequisites

The project requires Python 3.

1 - Create a Virtual Environment (Optional)

You can use virtualenv but we recommend that you use conda. Download the appropriate Miniconda version for your system. Then follow the installation instructions.

2 - Install PyTorch

Follow the instructions from the PyTorch home page: https://pytorch.org/

3 - Install Requirements

pip install -r lab3/requirements.txt

4 - Download pre-trained Word Embeddings

In order to minimize the memory requirements you can use low dimensional word embeddings, such as the 50d Glove embeddings. However, if your computer has enough RAM you will get better results with higher dimensional embeddings.

  • Glove 6B: Generic english word embeddings - 50d, 100d, 200d, & 300d vectors.

  • Glove Twitter: Twitter specific word embeddings - 25d, 50d, 100d, & 200d vectors

  • fastText: Generic english word embeddings - only 300d vectors.

The project expects the file(s) to be in the /embeddings folder.

semeval17-transformer-attention-lstm's People

Contributors

olgabarlou avatar ntua-el19019 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.