GithubHelp home page GithubHelp logo

mjatwk / vmlmf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from snudm-starlab/vmlmf

0.0 0.0 0.0 5.85 MB

License: Apache License 2.0

Shell 0.95% Python 58.54% Makefile 0.24% Batchfile 0.30% Roff 39.97%

vmlmf's Introduction

VMLMF: Vector multiplication on Low-rank Matrix Factorization

This package provide implementations of VMLMF learning a compressed LSTM model.

Overview

  • RNN compression based on Low-rank Matrix Factorization
    • Version 1.0
    • Last Updated 10.15.21

Install

Environment

  • Ubuntu 16.04(LTS)
  • CUDA 10.1
  • Python 3.8
  • PyTorch 1.7.1

How to use

Code structure

VMLMF
  │ 
  ├── src
  │    │     
  │    ├── models
  │    │     ├── vmlmf_group.py: vmlmf with group structure cell and network code
  │    │     ├── vmlmf_lm.py: vmlmf for language model cell and network code
  │    │     └── vmlmf.py: vmlmf cell and network code
  │    │      
  │    └── train_test
  │    |     ├── main.py: control training and testing 
  │    |     ├── train.py: train the models on the Human Activity Recognition tasks 
  |    |     └── test.py: test the models on the Human Activity Recognition tasks 
  |    |  
  │    └── utils
  |           └── utilities for the package
  │    
  └── scripts: shell scripts for training and testing

Datasets description

*Opportunity dataset [Homepage] *UCI dataset [Homepage] *Pen Tree Bank dataset [Homepage] * Visit the official hompage to check the detail information. * You can download the datasets on the website.

How to use

Download the zip file

cd VMLMF

Install the required packages

install pytorch 1.7.1 proper to your environment  (1.7.1 is required!!)
pip install -r requirements.txt

If other packages are required, use "pip install" to install them.

Download Datasets

sh preprocess.sh

Run the demo

sh ./script/demo.sh

Training & Evaluation

  • You can test the models you want:
    bash demo.sh
    

Contact us

This software may be used only for research evaluation purposes. For other purposes (e.g., commercial), please contact the authors.

vmlmf's People

Contributors

ant6si avatar gywlssww avatar jangdonghae avatar snudm-starlab 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.