Skip to content

LeeJuly30/BERTCpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

implement bert in pure c++

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published