mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	Update vectors-similarity.md (#4889)
These links are broken on the website, due to quotes around the URLs.
This commit is contained in:
		
							parent
							
								
									aef83e8070
								
							
						
					
					
						commit
						b216ff43c9
					
				| 
						 | 
					@ -229,10 +229,10 @@ For more details on **adding hooks** and **overwriting** the built-in `Doc`,
 | 
				
			||||||
If you're using a GPU, it's much more efficient to keep the word vectors on the
 | 
					If you're using a GPU, it's much more efficient to keep the word vectors on the
 | 
				
			||||||
device. You can do that by setting the [`Vectors.data`](/api/vectors#attributes)
 | 
					device. You can do that by setting the [`Vectors.data`](/api/vectors#attributes)
 | 
				
			||||||
attribute to a `cupy.ndarray` object if you're using spaCy or
 | 
					attribute to a `cupy.ndarray` object if you're using spaCy or
 | 
				
			||||||
[Chainer]("https://chainer.org"), or a `torch.Tensor` object if you're using
 | 
					[Chainer](https://chainer.org), or a `torch.Tensor` object if you're using
 | 
				
			||||||
[PyTorch]("http://pytorch.org"). The `data` object just needs to support
 | 
					[PyTorch](http://pytorch.org). The `data` object just needs to support
 | 
				
			||||||
`__iter__` and `__getitem__`, so if you're using another library such as
 | 
					`__iter__` and `__getitem__`, so if you're using another library such as
 | 
				
			||||||
[TensorFlow]("https://www.tensorflow.org"), you could also create a wrapper for
 | 
					[TensorFlow](https://www.tensorflow.org), you could also create a wrapper for
 | 
				
			||||||
your vectors data.
 | 
					your vectors data.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```python
 | 
					```python
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user