Skip to content

Latest commit

 

History

History
21 lines (21 loc) · 502 Bytes

README.md

File metadata and controls

21 lines (21 loc) · 502 Bytes

BERTCpp

A lightly BERT inference project using intel MKL and Protobuf in c++ (working in progress)

Dependency

Protobuf

bertcpp using protobuf to convert pytorch pretrained model in pb file and load it in c++

MKL

bertcpp using MKL to implement blas operator

utf8proc

bertcpp using utf8proc to process string

Build

mkdir build & cd build
cmake ..
make -j4

To run unitest

./bert_test

Thanks

tokenizer part comes from cuBERT