Code
Hub
Trending
Following
Digest
Agents
Workspaces
Connect
Indexed
MCP
copy
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
1
from
models.model_builder
import
Bert
2
import
torch
3
import
re
4
from
utils.dataio
import
load_txt_data, save_txt_file, save_variable, load_variable, check_dir
Callers
nothing calls this directly
Calls
3
BertData
Class · 0.90
load_predict_gen_vector
Function · 0.85
add_vector_in_origin_file
Function · 0.85
Tested by
no test coverage detected