Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/explosion/spacy-transformers
/ functions
Functions
214 in github.com/explosion/spacy-transformers
⨍
Functions
214
◇
Types & classes
13
↳
Endpoints
3
Method
transformer
(self)
spacy_transformers/layers/transformer_model.py:78
Method
transformer
(self)
spacy_transformers/tests/test_model_sequence_classification.py:67
Method
transformer
(self)
spacy_transformers/tests/util.py:170
Method
transformer_config
(self)
spacy_transformers/tests/util.py:178
Function
transformer_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
Function
transformer_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
Function
transformer_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
Function
transformer_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
Function
trf_model
(name, output_attentions, output_hidden_states)
spacy_transformers/tests/test_model_wrapper.py:43
Function
vocab
()
spacy_transformers/tests/test_pipeline_component.py:25
Method
width
(self)
spacy_transformers/data_classes.py:200
Function
wordpieces
(sequences)
spacy_transformers/tests/test_truncation.py:33
Function
wordpieces
()
spacy_transformers/tests/test_data_classes.py:8
Method
zeros
Create a valid TransformerData container for a given shape, filled with zeros.
spacy_transformers/data_classes.py:176
← previous
201–214 of 214, ranked by callers