Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arijitx/QnA-Bot
/ types & classes
Types & classes
28 in github.com/arijitx/QnA-Bot
⨍
Functions
93
◇
Types & classes
28
↳
Endpoints
4
↓ 7 callers
Class
BertModel
BERT model ("Bidirectional Embedding Representations from a Transformer"). Params: config: a BertConfig class instance with the configura
modeling.py:668
↓ 4 callers
Class
BertLayerNorm
modeling.py:247
↓ 2 callers
Class
BertLMPredictionHead
modeling.py:462
↓ 2 callers
Class
CoQAExample
A single training/test example for the CoQA dataset. For examples without an answer, the start and end position are -1.
infer_utils.py:31
↓ 1 callers
Class
BertAttention
modeling.py:358
↓ 1 callers
Class
BertConfig
Configuration class to store the configuration of a `BertModel`.
modeling.py:150
↓ 1 callers
Class
BertEmbeddings
Construct the embeddings from word, position and token_type embeddings.
modeling.py:262
↓ 1 callers
Class
BertEncoder
modeling.py:413
↓ 1 callers
Class
BertIntermediate
modeling.py:370
↓ 1 callers
Class
BertLayer
modeling.py:399
↓ 1 callers
Class
BertOnlyMLMHead
modeling.py:481
↓ 1 callers
Class
BertOnlyNSPHead
modeling.py:491
↓ 1 callers
Class
BertOutput
modeling.py:385
↓ 1 callers
Class
BertPooler
modeling.py:430
↓ 1 callers
Class
BertPreTrainingHeads
modeling.py:501
↓ 1 callers
Class
BertPredictionHeadTransform
modeling.py:445
↓ 1 callers
Class
BertSelfAttention
modeling.py:293
↓ 1 callers
Class
BertSelfOutput
modeling.py:344
↓ 1 callers
Class
InferCoQA
infer.py:94
↓ 1 callers
Class
InputFeatures
A single set of features of data.
infer_utils.py:90
Class
BertForMaskedLM
BERT model with the masked language modeling head. This module comprises the BERT model followed by the masked language modeling head. Params
modeling.py:822
Class
BertForMultipleChoice
BERT model for multiple choice tasks. This module is composed of the BERT model with a linear layer on top of the pooled output. Params:
modeling.py:1011
Class
BertForNextSentencePrediction
BERT model with next sentence prediction head. This module comprises the BERT model followed by the next sentence classification head. Params
modeling.py:883
Class
BertForPreTraining
BERT model with pre-training heads. This module comprises the BERT model followed by the two pre-training heads: - the masked language mod
modeling.py:751
Class
BertForQuestionAnswering
BERT model for Question Answering (span extraction). This module is composed of the BERT model with a linear layer on top of the sequence outp
modeling.py:1153
Class
BertForSequenceClassification
BERT model for classification. This module is composed of the BERT model with a linear layer on top of the pooled output. Params:
modeling.py:945
Class
BertForTokenClassification
BERT model for token-level classification. This module is composed of the BERT model with a linear layer on top of the full hidden state of th
modeling.py:1080
Class
BertPreTrainedModel
An abstract class to handle weights initialization and a simple interface for dowloading and loading pretrained models.
modeling.py:513