MCPcopy Index your code

hub / github.com/explosion/spacy-transformers / functions

Functions214 in github.com/explosion/spacy-transformers

Methodtransformer
(self)
spacy_transformers/layers/transformer_model.py:78
Methodtransformer
(self)
spacy_transformers/tests/test_model_sequence_classification.py:67
Methodtransformer
(self)
spacy_transformers/tests/util.py:170
Methodtransformer_config
(self)
spacy_transformers/tests/util.py:178
Functiontransformer_listener_tok2vec_v1
Create a 'TransformerListener' layer, which will connect to a Transformer component earlier in the pipeline. The layer takes a list of Doc ob
spacy_transformers/architectures.py:13
Functiontransformer_tok2vec_v1
Use a transformer as a "Tok2Vec" layer directly. This does not allow multiple components to share the transformer weights, and does not allow
spacy_transformers/architectures.py:48
Functiontransformer_tok2vec_v2
Use a transformer as a "Tok2Vec" layer directly. This does not allow multiple components to share the transformer weights, and does not allow
spacy_transformers/architectures.py:80
Functiontransformer_tok2vec_v3
Use a transformer as a "Tok2Vec" layer directly. This does not allow multiple components to share the transformer weights, and does not allow
spacy_transformers/architectures.py:116
Functiontrf_model
(name, output_attentions, output_hidden_states)
spacy_transformers/tests/test_model_wrapper.py:43
Functionvocab
()
spacy_transformers/tests/test_pipeline_component.py:25
Methodwidth
(self)
spacy_transformers/data_classes.py:200
Functionwordpieces
(sequences)
spacy_transformers/tests/test_truncation.py:33
Functionwordpieces
()
spacy_transformers/tests/test_data_classes.py:8
Methodzeros
Create a valid TransformerData container for a given shape, filled with zeros.
spacy_transformers/data_classes.py:176
← previous201–214 of 214, ranked by callers