Giter VIP home page Giter VIP logo

cmput663-project's Introduction

CMPUT663-project

Data

The datasets used in this project can be found in the Data folder. Raw data is also present along with processed data. To process data yourself, you can use processdata notebook present in the repository. The processed data is also present in the folder.

How to RUN

I used the TPU's provided by kaggle to train the models. For using kaggle, follow these steps:

  • Create a dataset using the files provided in the Data folder.
  • Upload notebooks in this repo on kaggle.
  • Add the dataset created in the first step in these notebooks using the data tab on right side of notebook.
  • Change the accelator to TPU in the settings tab on right side of the notebook.
  • Run all cells of the notebook. The required output/results will be present in the output of last cell.

To run on your local machine. Follow these steps:

  • Download and install anaconda from this website: https://www.anaconda.com/products/individual.
  • After installation, you will need to install dependencies. For this run following commands:
    • conda install -c anaconda jupyter
    • conda install -c anaconda tensorflow-gpu
    • conda install -c conda-forge tqdm
    • conda install -c conda-forge numpy
    • conda install -c conda-forge pandas
    • conda install -c jmcmurray json
    • conda install -c anaconda scikit-learn
    • conda install -c conda-forge transformers
  • Now open notebook by running following command in the repository where this repo is cloned: jupyter notebook
  • You can train models on CPU or GPU but it will take hours, and you need to adjust the batch size of model.fit call w.r.t. to the RAM of your system and/or memory of GPU.

cmput663-project's People

Contributors

hamzamalvi 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.