Update vectors-similarity.md (#4889)

These links are broken on the website, due to quotes around the URLs.
This commit is contained in:
Preston Badeer 2020-01-08 09:49:40 -06:00 committed by Ines Montani
parent aef83e8070
commit b216ff43c9
1 changed files with 3 additions and 3 deletions

View File

@ -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