Pytorch Bert Save Abandoned

An implementation of BERT using PyTorch's TransformerEncoder

Project README

pytorch-bert

codecov CircleCI PyPI PyPI Pyversion

A implementation of BERT using PyTorch TransformerEncoder and pre-trained model of google-research/bert.

Installation

pip install pytorch-bert

Usage

config = BertConfig.from_json("path-to-pretarined-weights/bert_config.json")
model = Bert(config)
load_tf_weight_to_pytorch_bert(model, config, "path-to-pretarined-weights/bert_model.ckpt")

Download model files in google-research/bert repository.

Open Source Agenda is not affiliated with "Pytorch Bert" Project. README Source: jeongukjae/pytorch-bert
Stars
29
Open Issues
0
Last Commit
4 years ago

Open Source Agenda Badge

Open Source Agenda Rating