mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 01:48:04 +03:00 
			
		
		
		
	Fix typo in tensorizer serialization
This commit is contained in:
		
							parent
							
								
									5056743ad5
								
							
						
					
					
						commit
						18a27c7579
					
				| 
						 | 
				
			
			@ -145,7 +145,7 @@ class BaseThincComponent(object):
 | 
			
		|||
 | 
			
		||||
        deserialize = OrderedDict((
 | 
			
		||||
            ('cfg', lambda b: self.cfg.update(ujson.loads(b))),
 | 
			
		||||
            ('vocab', lambda b: self.vocab.from_bytes(b))
 | 
			
		||||
            ('vocab', lambda b: self.vocab.from_bytes(b)),
 | 
			
		||||
            ('model', load_model),
 | 
			
		||||
        ))
 | 
			
		||||
        util.from_bytes(bytes_data, deserialize, exclude)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user