Skip to content

Faster python package DGL(Deep Graph Library) for Recursive Neural Networks

Notifications You must be signed in to change notification settings

ffcarina/DGL_RvNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DGL_Recursive Neural Networks_Sentiment Classification

Introduction

This project uses the DGL (Deep Graph Library) package to improve the training speed of Recursive Neural Networks(RvNN), which takes only 4-6 seconds every training epoch on the RTX server.

Usage

python train.py

Results

The RvNN model is trained on SST and the accuracy of predicting fine-grained sentiment labels at all phrase lengths(All) or full sentences(Root) is as follows:

Acc_All Acc_Root
Paper [2] 79.0 43.0
My Recurrence 75.71 47.96

About

Faster python package DGL(Deep Graph Library) for Recursive Neural Networks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages