MCPcopy Index your code
hub / github.com/Turing-Project/WriteGPT / sentence_encoder.py

File sentence_encoder.py

LanguageNetwork/BERT/sentence_encoder.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from models.model_builder import Bert
2import torch
3import re
4from utils.dataio import load_txt_data, save_txt_file, save_variable, load_variable, check_dir

Callers

nothing calls this directly

Calls 3

BertDataClass · 0.90
load_predict_gen_vectorFunction · 0.85

Tested by

no test coverage detected