MCPcopy Create free account

hub / github.com/DA-southampton/NLP_ability / types & classes

Types & classes117 in github.com/DA-southampton/NLP_ability

↓ 7 callersClassServerModelError
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/translate/translation_server.py:70
↓ 4 callersClassArgumentParser
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/utils/parse.py:10
↓ 4 callersClassSeq2SeqEncoder
深度学习自然语言处理/文本匹配和文本相似度/src/ESIM-attention/process.py:46
↓ 3 callersClassContextGate
Context gate is a decoder module that takes as input the previous word embedding, the current decoder state and the attention state, and
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/modules/gate.py:20
↓ 3 callersClassGlobalAttention
r""" Global attention takes a matrix and a query vector. It then computes a parameterized convex combination of the matrix based on the in
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/modules/global_attention.py:15
↓ 3 callersClassMultiHeadedAttention
Multi-Head Attention module from "Attention is All You Need" :cite:`DBLP:journals/corr/VaswaniSPUJGKP17`. Similar to standard `dot` attention
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/modules/multi_headed_attn.py:11
↓ 3 callersClassPositionwiseFeedForward
A two-layer Feed-Forward-Network with residual layer norm. Args: d_model (int): the size of input for the first-layer of the FFN.
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/modules/position_ffn.py:6
↓ 3 callersClassSoftmaxAttention
深度学习自然语言处理/文本匹配和文本相似度/src/ESIM-attention/process.py:127
↓ 2 callersClassEnsembleDecoderOutput
Wrapper around multiple decoder final hidden states.
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/decoders/ensemble.py:17
↓ 2 callersClassGatedConv
Gated convolution for CNN class
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/utils/cnn_factory.py:18
↓ 2 callersClassMnistDataset
Pytorch/B站-Pytorch与深度学习-代码/minist.py:11
↓ 2 callersClassPositionalEncoding
Sinusoidal positional encoding for non-recurrent neural networks. Implementation based on "Attention Is All You Need" :cite:`DBLP:journals/co
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/modules/embeddings.py:11
↓ 2 callersClassSRU_Compute
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/models/sru.py:379
↓ 2 callersClassTextMultiField
Container for subfields. Text data might use POS/NER/etc labels in addition to tokens. This class associates the "base" :class:`Field` with a
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/inputters/text_dataset.py:72
↓ 2 callersClassTimer
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/translate/translation_server.py:44
↓ 1 callersClassAccuracyScorer
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/utils/earlystopping.py:48
↓ 1 callersClassAdaFactor
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/utils/optimizers.py:368
↓ 1 callersClassAlignField
Parse ['<src>-<tgt>', ...] into ['<src>','<tgt>', ...]
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/inputters/inputter.py:61
↓ 1 callersClassAudioSeqField
Defines an audio datatype and instructions for converting to Tensor. See :class:`Fields` for attribute descriptions.
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/inputters/audio_dataset.py:136
↓ 1 callersClassAverageAttention
Average Attention module from "Accelerating Neural Transformer via an Average Attention Network" :cite:`DBLP:journals/corr/abs-1805-00631
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/modules/average_attn.py:10
↓ 1 callersClassBPE
深度学习自然语言处理/机器翻译/OpenNMT-py/tools/apply_bpe.py:31
↓ 1 callersClassBeamSearch
Generation beam search. Note that the attributes list is not exhaustive. Rather, it highlights tensors to document their shape. (Since the st
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/translate/beam_search.py:9
↓ 1 callersClassCast
Basic layer that casts its input to a specific data type. The same tensor is returned if the data type is already correct.
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/modules/util_class.py:37
↓ 1 callersClassConvMultiStepAttention
Conv attention takes a key matrix, a value matrix and a query vector. Attention weight is calculated by key matrix with the query vector
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/modules/conv_multi_step_attention.py:19
↓ 1 callersClassConvNet
Pytorch/B站-Pytorch与深度学习-代码/minist.py:80
↓ 1 callersClassCopyGenerator
An implementation of pointer-generator networks :cite:`DBLP:journals/corr/SeeLM17`. These networks consider copying words directly from t
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/modules/copy_generator.py:42
↓ 1 callersClassDasouDataset
Pytorch/B站-Pytorch与深度学习-代码/线性回归/dasou_mlp.py:11
↓ 1 callersClassDasouDataset
Pytorch/B站-Pytorch与深度学习-代码/线性回归/sigmoid.py:9
↓ 1 callersClassDatasetLazyIter
Yield data from sharded dataset files. Args: dataset_paths: a list containing the locations of dataset files. fields (dict[str, F
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/inputters/inputter.py:717
↓ 1 callersClassElementwise
A simple network container. Parameters are a list of modules. Inputs are a 3d Tensor whose last dimension is the same length as the l
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/modules/util_class.py:7
↓ 1 callersClassEmbeddings
Words embeddings for encoder/decoder. Additionally includes ability to add sparse input features based on "Linguistic Input Features Improve
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/modules/embeddings.py:89
↓ 1 callersClassEnsembleDecoder
Dummy Decoder that delegates to individual real Decoders.
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/decoders/ensemble.py:46
↓ 1 callersClassEnsembleEncoder
Dummy Encoder that delegates to individual real Encoders.
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/decoders/ensemble.py:33
↓ 1 callersClassEnsembleGenerator
Dummy Generator that delegates to individual real Generators, and then averages the resulting target distributions.
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/decoders/ensemble.py:86
↓ 1 callersClassEnsembleModel
Dummy NMTModel wrapping individual real NMTModels.
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/decoders/ensemble.py:112
↓ 1 callersClassErrorHandler
A class that listens for exceptions in children processes and propagates the tracebacks to the parent process.
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/bin/train.py:155
↓ 1 callersClassFeatureExtractor
Extract feature vectors from a batch of frames.
深度学习自然语言处理/机器翻译/OpenNMT-py/tools/vid_feature_extractor.py:91
↓ 1 callersClassFusedAdam
Implements Adam algorithm. Currently GPU-only. Requires Apex to be installed via ``python setup.py install --cuda_ext --cpp_ext``. It h
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/utils/optimizers.py:538
↓ 1 callersClassGreedySearch
Select next tokens randomly from the top k possible next tokens. The ``scores`` attribute's lists are the score, after applying temperature,
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/translate/greedy_search.py:59
↓ 1 callersClassLabelSmoothingLoss
With label smoothing, KL-divergence between q_{smoothed ground truth prob.}(w) and p_{prob. computed by model}(w) is minimized.
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/utils/loss.py:194
↓ 1 callersClassMissingDependencyException
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/inputters/datareader_base.py:6
↓ 1 callersClassModel
Pytorch/B站-Pytorch与深度学习-代码/线性回归/dasou_mlp.py:29
↓ 1 callersClassModel
Pytorch/B站-Pytorch与深度学习-代码/线性回归/sigmoid.py:28
↓ 1 callersClassModelSaver
Simple model saver to filesystem
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/models/model_saver.py:97
↓ 1 callersClassMultipleDatasetIterator
This takes a list of iterable objects (DatasetLazyIter) and their respective weights, and yields a batch in the wanted proportions.
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/inputters/inputter.py:659
↓ 1 callersClassMultipleOptimizer
Implement multiple optimizers needed for sparse adam
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/utils/optimizers.py:168
↓ 1 callersClassNMTLossCompute
Standard NMT Loss Computation.
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/utils/loss.py:224
↓ 1 callersClassOrderedIterator
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/inputters/inputter.py:585
↓ 1 callersClassPPLScorer
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/utils/earlystopping.py:33
↓ 1 callersClassReconstructor
Turn batches of feature vectors into sequences for each video. Assumes data is ordered (use one reconstructor per process). :func:`push()` bat
深度学习自然语言处理/机器翻译/OpenNMT-py/tools/vid_feature_extractor.py:103
↓ 1 callersClassReportMgr
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/utils/report_manager.py:100
↓ 1 callersClassSRUCell
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/models/sru.py:493
↓ 1 callersClassServerModel
Wrap a model with server functionality. Args: opt (dict): Options for the Translator model_id (int): Model ID preprocess_
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/translate/translation_server.py:186
↓ 1 callersClassSparsemaxLoss
An implementation of sparsemax loss, first proposed in :cite:`DBLP:journals/corr/MartinsA16`. If using a sparse output layer, it is not p
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/modules/sparse_losses.py:45
↓ 1 callersClassStackedCNN
Stacked CNN class
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/utils/cnn_factory.py:37
↓ 1 callersClassTransformerDecoderLayer
Args: d_model (int): the dimension of keys/values/queries in :class:`MultiHeadedAttention`, also the input size of the
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/decoders/transformer.py:14
↓ 1 callersClassTransformerEncoderLayer
A single layer of the transformer encoder. Args: d_model (int): the dimension of keys/values/queries in MultiHead
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/encoders/transformer.py:13
↓ 1 callersClassTranslation
Container for a translated sentence. Attributes: src (LongTensor): Source word IDs. src_raw (List[str]): Raw source words.
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/translate/translation.py:118
↓ 1 callersClassTranslationServer
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/translate/translation_server.py:74
↓ 1 callersClassVecEmbedding
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/modules/embeddings.py:57
↓ 1 callersClassVecSeqField
Defines an vector datatype and instructions for converting to Tensor. See :class:`Fields` for attribute descriptions.
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/inputters/vec_dataset.py:65
↓ 1 callersClassVidDset
For each video, yield its frames.
深度学习自然语言处理/机器翻译/OpenNMT-py/tools/vid_feature_extractor.py:35
ClassAudioDataReader
Read audio data from disk. Args: sample_rate (int): sample_rate. window_size (float) : window size for spectrogram in seconds.
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/inputters/audio_dataset.py:19
ClassAudioEncoder
A simple encoder CNN -> RNN for audio input. Args: rnn_type (str): Type of RNN (e.g. GRU, LSTM, etc). enc_layers (int): Number of
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/encoders/audio_encoder.py:13
ClassBothContextGate
Apply the context gate to both contexts
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/modules/gate.py:79
ClassCNNDecoder
Decoder based on "Convolutional Sequence to Sequence Learning" :cite:`DBLP:journals/corr/GehringAGYD17`. Consists of residual convolutional l
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/decoders/cnn_decoder.py:14
ClassCNNEncoder
Encoder based on "Convolutional Sequence to Sequence Learning" :cite:`DBLP:journals/corr/GehringAGYD17`.
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/encoders/cnn_encoder.py:12
ClassCheckSRU
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/models/sru.py:16
ClassCopyGeneratorLoss
Copy generator criterion.
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/modules/copy_generator.py:135
ClassCopyGeneratorLossCompute
Copy Generator Loss Computation.
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/modules/copy_generator.py:180
ClassDataReaderBase
Read data from file system and yield as dicts. Raises: onmt.inputters.datareader_base.MissingDependencyException: A number of
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/inputters/datareader_base.py:10
ClassDataset
Contain data and process it. A dataset is an object that accepts sequences of raw data (sentence pairs in the case of machine translation) an
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/inputters/dataset_base.py:63
ClassDecodeStrategy
Base class for generation strategies. Args: pad (int): Magic integer in output vocab. bos (int): Magic integer in output vocab.
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/translate/decode_strategy.py:4
ClassDecoderBase
Abstract class for decoders. Args: attentional (bool): The decoder returns non-empty attention.
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/decoders/decoder.py:11
ClassDeprecateAction
Deprecate action
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/opts.py:782
ClassESIM
深度学习自然语言处理/文本匹配和文本相似度/src/models.py:1
ClassEarlyStopping
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/utils/earlystopping.py:84
ClassEncoderBase
Base encoder class. Specifies the interface used by different encoder types and required by :class:`onmt.Models.NMTModel`. .. mermaid::
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/encoders/encoder.py:8
ClassGNMTGlobalScorer
NMT re-ranking. Args: alpha (float): Length parameter. beta (float): Coverage parameter. length_penalty (str): Length penal
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/translate/beam_search.py:312
ClassImageDataReader
Read image data from disk. Args: truncate (tuple[int] or NoneType): maximum img size. Use ``(0,0)`` or ``None`` for unlimited
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/inputters/image_dataset.py:19
ClassImageEncoder
A simple encoder CNN -> RNN for image src. Args: num_layers (int): number of encoder layers. bidirectional (bool): bidirectional
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/encoders/image_encoder.py:9
ClassInputFeedRNNDecoder
Input feeding based decoder. See :class:`~onmt.decoders.decoder.RNNDecoderBase` for options. Based around the input feeding approach from
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/decoders/decoder.py:331
ClassLogSparsemax
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/modules/sparse_activations.py:90
ClassLossComputeBase
Class for managing efficient loss computation. Handles sharding next step predictions and accumulating multiple loss computations Us
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/utils/loss.py:67
ClassMatrixTree
Implementation of the matrix-tree theorem for computing marginals of non-projective dependency parsing. This attention layer is used in the pa
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/modules/structured_attention.py:6
ClassMeanEncoder
A trivial non-recurrent encoder. Simply applies mean pooling. Args: num_layers (int): number of replicated layers embeddings (onmt.
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/encoders/mean_encoder.py:7
ClassModelSaverBase
Base class for model saving operations Inherited classes must implement private methods: * `_save` * `_rm_checkpoint
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/models/model_saver.py:20
ClassNMTModel
Core trainable object in OpenNMT. Implements a trainable interface for a simple, generic encoder + decoder model. Args: encoder (o
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/models/model.py:5
ClassOptimizer
Controller class for optimization. Mostly a thin wrapper for `optim`, but also useful for implementing rate scheduling beyond what is cur
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/utils/optimizers.py:208
ClassPatienceEnum
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/utils/earlystopping.py:6
ClassPenaltyBuilder
Returns the Length and Coverage Penalty function for Beam Search. Args: length_pen (str): option name of length pen cov_pen (str)
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/translate/penalties.py:5
ClassRNNDecoderBase
Base recurrent attention-based decoder class. Specifies the interface used by different decoder types and required by :class:`~onmt.models.NM
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/decoders/decoder.py:32
ClassRNNEncoder
A generic recurrent neural network encoder. Args: rnn_type (str): style of recurrent unit to use, one of [RNN, LSTM, GRU, SRU]
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/encoders/rnn_encoder.py:12
ClassReportMgrBase
Report Manager Base class Inherited classes should override: * `_report_training` * `_report_step`
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/utils/report_manager.py:28
ClassSRU
Implementation of "Training RNNs as Fast as CNNs" :cite:`DBLP:journals/corr/abs-1709-02755` TODO: turn to pytorch's implementation when
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/models/sru.py:567
ClassScorer
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/utils/earlystopping.py:12
ClassSiaGRU
深度学习自然语言处理/文本匹配和文本相似度/src/models.py:69
ClassSourceContextGate
Apply the context gate only to the source context
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/modules/gate.py:48
ClassSparsemax
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/modules/sparse_activations.py:80
ClassSparsemaxFunction
深度学习自然语言处理/机器翻译/OpenNMT-py/onmt/modules/sparse_activations.py:43
next →1–100 of 117, ranked by callers