Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/circlePi/Pretraining-Yourself-Bert-From-Scratch
/ functions
Functions
114 in github.com/circlePi/Pretraining-Yourself-Bert-From-Scratch
⨍
Functions
114
◇
Types & classes
37
Method
get_lr_
(self, progress)
lm_smallBert/pytorch_pretrained_bert/optimization.py:117
Method
get_lr_
(self, progress)
lm_smallBert/pytorch_pretrained_bert/optimization.py:137
Method
get_lr_
(self, progress)
lm_smallBert/pytorch_pretrained_bert/optimization.py:151
Method
get_lr_
(self, progress)
lm_smallBert/pytorch_pretrained_bert/optimization.py:162
Method
init_bert_weights
Initialize the weights.
lm_smallBert/pytorch_pretrained_bert/modeling.py:512
Function
read_set_from_file
Extract a de-duped collection (set) of text from a file. Expected file format is one item per line.
lm_smallBert/pytorch_pretrained_bert/file_utils.py:255
Function
s3_request
Wrapper function for s3 requests in order to create more helpful error messages.
lm_smallBert/pytorch_pretrained_bert/file_utils.py:131
Method
save_vocabulary
Save the tokenizer vocabulary to a directory or file.
lm_smallBert/pytorch_pretrained_bert/tokenization.py:137
Function
swish
(x)
lm_smallBert/pytorch_pretrained_bert/modeling.py:127
Method
to_json_file
Save this instance to a json file.
lm_smallBert/pytorch_pretrained_bert/modeling.py:222
Method
tokenize
(self, text)
lm_smallBert/pytorch_pretrained_bert/tokenization.py:107
Method
tokenize
Tokenizes a piece of text.
lm_smallBert/pytorch_pretrained_bert/tokenization.py:215
Method
tokenize
Tokenizes a piece of text into its word pieces. This uses a greedy longest-match-first algorithm to perform tokenization using the gi
lm_smallBert/pytorch_pretrained_bert/tokenization.py:326
Function
wrapper
(url, *args, **kwargs)
lm_smallBert/pytorch_pretrained_bert/file_utils.py:138
← previous
101–114 of 114, ranked by callers