Skip to content

Fast Neural Machine Translation in C++ - development repository

License

Notifications You must be signed in to change notification settings

shashwatup9k/marian-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Marian

Join the chat at https://gitter.im/MarianNMT/Lobby

Google group for commit messages: https://groups.google.com/forum/#!forum/mariannmt

A C++ gpu-specific parallel automatic differentiation library with operator overloading.

In honour of Marian Rejewski, a Polish mathematician and cryptologist.

Installation

Requirements:

  • g++ with c++11
  • CUDA and CuDNN
  • Boost (>= 1.56)

Exporting some paths for CuDNN may be required (put it, for example, in your .bashrc file):

export PATH=$PATH:$HOME/.local/bin:/usr/local/cuda/bin
export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/cuda/lib64/stubs:/usr/local/cudnn-5/lib64
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/cuda/lib64/stubs:/usr/local/cudnn-5/lib64
export CPATH=$CPATH:/usr/local/cudnn-5/include

Compilation with cmake > 3.5:

mkdir build
cd build
cmake ..
make -j

To compile API documentation using Doxygen, first cd to the build directory, and then:

make doc

To test, first compile, then:

cd examples/mnist
make
cd ../../build
./mnist_benchmark

About

Fast Neural Machine Translation in C++ - development repository

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 85.6%
  • Cuda 9.4%
  • CMake 2.7%
  • Python 1.5%
  • Batchfile 0.5%
  • Perl 0.1%
  • Other 0.2%