cbow CPP Sample Code of Pytorch, which implements CBOW Language model. How to build Fisrt, cmake 3.0+ is needed, to "build" dir, run "cmake -DCMAKE_PREFIX_PATH=/path/to/libtorch ..". Then you can make. CPP API is simlar to python.