/N3LDG-plus

N3LDG++ is derived from N3LDG, aiming at extremely fast GPU speed and well-designed API

Primary LanguageC++OtherNOASSERTION

N3LDG++

N3LDG++ is a neural network libary based on dynamic graph for natural language processing.

I'm the author to implement the first GPU implementation of N3LDG and I appreciate N3LDG sincerely. To develop a GPU faster and well-designed N3LDG, we derive it independently, thereby being able to develop it according to our own ideas and remvoing some original C++ codes of bad taste, without the restriction of being compatible of those N3LDG-based repos.

Due to incorrect operations of git, earlier tens of commitments by me(mainly about how CUDA codes are implemented step by step from scratch are eliminated), and these commitments can be seen in another repo https://github.com/chncwang/N3LDG

GPUs are expensive and it is important to make full use of GPU threads. Compared with N3LDG, all CUDA codes are especially designed for NLP net, to achieve an extremely fast training speed. In addition, our CUDA implementation is completed.

We wish N3LDG++ a better N3LDG.

Installation:

Prerequisitions:

boost 1.68(a fairly late version may be satisfied) is required.

CUDA 8.0 is required if you want to run it on GPU.

If you have any problem, feel free to send an email to chncwang@gmail.com

Examples:

Some examples are realeased at:

for cuda usage, see:

Authors:

Wang Qiansheng, Zhang Meishan, Han Zijia, Cao Xue, Wang Zhen