mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 16:07:41 +03:00 
			
		
		
		
	
		
			
				
	
	
	
		
			2.2 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			2.2 KiB
		
	
	
	
	
	
	
	
| title | teaser | source | menu | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Model Architectures | Pre-defined model architectures included with the core library | spacy/ml/models | 
 | 
TODO: intro and how architectures work, link to
registry,
custom models usage etc.
Tok2Vec architectures
spacy.HashEmbedCNN.v1
spacy.HashCharEmbedCNN.v1
spacy.HashCharEmbedBiLSTM.v1
Transformer architectures
spacy-transformers.TransformerModel.v1
Parser & NER architectures
spacy.TransitionBasedParser.v1
Example Config
[model] @architectures = "spacy.TransitionBasedParser.v1" nr_feature_tokens = 6 hidden_width = 64 maxout_pieces = 2 [model.tok2vec] # ...
| Name | Type | Description | 
|---|---|---|
| tok2vec | Model | |
| nr_feature_tokens | int | |
| hidden_width | int | |
| maxout_pieces | int | |
| use_upper | bool | |
| nO | int |