Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/airsplay/lxmert
/ functions
Functions
214 in github.com/airsplay/lxmert
⨍
Functions
214
◇
Types & classes
53
Method
num_answers
(self)
src/tasks/gqa_data.py:56
Method
num_answers
(self)
src/tasks/vqa_data.py:69
Method
num_answers
(self)
src/pretrain/qa_answer_table.py:80
Function
read_set_from_file
Extract a de-duped collection (set) of text from a file. Expected file format is one item per line.
src/lxrt/file_utils.py:232
Function
s3_request
Wrapper function for s3 requests in order to create more helpful error messages.
src/lxrt/file_utils.py:124
Method
save
(self, path)
src/lxrt/entry.py:122
Method
set_visual_dims
(self, feat_dim, pos_dim)
src/lxrt/modeling.py:164
Function
swish
(x)
src/lxrt/modeling.py:134
Method
tokenize
Tokenizes a piece of text.
src/lxrt/tokenization.py:188
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
src/lxrt/tokenization.py:299
Function
warmup_constant
Linearly increases learning rate over `warmup`*`t_total` (as provided to BertAdam) training steps. Learning rate is 1. afterwards.
src/lxrt/optimization.py:31
Function
warmup_cosine
(x, warmup=0.002)
src/lxrt/optimization.py:26
Function
warmup_linear
Specifies a triangular learning rate schedule where peak is reached at `warmup`*`t_total`-th (as provided to BertAdam) training step. After `
src/lxrt/optimization.py:38
Function
wrapper
(url, *args, **kwargs)
src/lxrt/file_utils.py:131
← previous
201–214 of 214, ranked by callers