Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Alic-yuan/nlp-beginner-finish
/ types & classes
Types & classes
29 in github.com/Alic-yuan/nlp-beginner-finish
⨍
Functions
123
◇
Types & classes
29
↓ 3 callers
Class
Config
task5/config.py:4
↓ 3 callers
Class
LrConfig
task1/config/lr_config.py:6
↓ 3 callers
Class
NERDataset
task4/main.py:33
↓ 3 callers
Class
TextRNN
文本分类,RNN模型
task2/torch_model.py:11
↓ 2 callers
Class
LCQMC_Dataset
task3/data.py:12
↓ 2 callers
Class
LrModel
task1/lr_model.py:4
↓ 2 callers
Class
PoetryModel
task5/model.py:7
↓ 2 callers
Class
VariationalDropout
Apply the dropout technique in Gal and Ghahramani, "Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learning" (ht
task3/model.py:5
↓ 1 callers
Class
ChineseNER
task4/main.py:62
↓ 1 callers
Class
CompositionLayer
The composition layer.
task3/model.py:129
↓ 1 callers
Class
DataProcess
task1/datahelper/data_process.py:12
↓ 1 callers
Class
DefaultConfig
task4/config.py:5
↓ 1 callers
Class
ESIM
Implement ESIM model using the modules defined above.
task3/model.py:262
↓ 1 callers
Class
EmbeddingLayer
Implement embedding layer.
task3/model.py:34
↓ 1 callers
Class
EncodingLayer
BiLSTM encoder which encodes both the premise and hypothesis.
task3/model.py:66
↓ 1 callers
Class
InferenceComposition
Inference composition described in paper section 3.3
task3/model.py:191
↓ 1 callers
Class
LinearSoftmax
Implement the final linear layer.
task3/model.py:230
↓ 1 callers
Class
LocalInferenceModel
The local inference model introduced in the paper.
task3/model.py:86
↓ 1 callers
Class
Pooling
Apply maxing pooling and average pooling to the outputs of LSTM.
task3/model.py:164
↓ 1 callers
Class
RnnModel
task2/torch_test.py:42
↓ 1 callers
Class
Sample
task5/sample.py:10
↓ 1 callers
Class
TextCNN
task2/torch_model.py:34
↓ 1 callers
Class
TrainModel
task5/train.py:13
Class
CnnModel
task2/torch_test.py:23
Class
NERLSTM
task4/model/LSTM.py:5
Class
NERLSTM_CRF
task4/model/LSTM_CRF.py:6
Class
RNNDropout
Dropout layer for the inputs of RNNs. Apply the same dropout mask to all the elements of the same sequence in a batch of sequences of siz
task3/layers.py:5
Class
Seq2SeqEncoder
task3/layers.py:26
Class
SoftmaxAttention
Attention layer taking premises and hypotheses encoded by an RNN as input and computing the soft attention between their elements. The do
task3/layers.py:54