Created
February 26, 2020 10:08
-
-
Save gaphex/4c55d12c5907fd9f0f1e01ae734ba3fd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from loader import load_sts, load_sick2014 | |
| from bert_experimental.finetuning.text_preprocessing import build_preprocessor | |
| from bert_experimental.finetuning.bert_layer import BertLayer | |
| from bert_experimental.finetuning.modeling import BertConfig, BertModel, build_bert_module | |
| BERT_DIR = "/content/uncased_L-12_H-768_A-12/" | |
| build_bert_module(BERT_DIR+"bert_config.json", | |
| BERT_DIR+"vocab.txt", | |
| BERT_DIR+"bert_model.ckpt", | |
| "bert_module") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment