# Does portuguese model have word vectors?

**URL:** <https://support.prodi.gy/t/does-portuguese-model-have-word-vectors/2317>\
**Category:** Uncategorized\
**Tags:** spacy, solved\
**Created:** [December 13, 2019, 9:40pm UTC](https://support.prodi.gy/t/does-portuguese-model-have-word-vectors/2317 "2019-12-13T21:40:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bissuh](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/bissuh/32/1103_2.png) [@bissuh](https://support.prodi.gy/u/bissuh)\
**Post date:** [December 13, 2019, 9:40pm UTC](https://support.prodi.gy/t/does-portuguese-model-have-word-vectors/2317/1 "2019-12-13T21:40:18Z")

</div>

I am running

```
prodigy terms.teach artists pt_core_news_sm --seeds "anitta, wesley safadão, dj dennis"

Initialising with 3 seed terms: dj dennis, wesley safadão, anitta

✨ Starting the web server at http://localhost:8080 ...
Open the app in your browser and start annotating!

```

And I am getting the following error:

```
ValueError: [E010] Word vectors set to length 0. This may be because you don't have a model installed or loaded, or because your model doesn't include word vectors. For more info, see the docs:
https://spacy.io/usage/models
```

---

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [December 16, 2019, 11:40am UTC](https://support.prodi.gy/t/does-portuguese-model-have-word-vectors/2317/2 "2019-12-16T11:40:26Z")

</div>

As the error message says, the `pt_core_news_sm` model has no word vectors. You can also check this in the URL mentioned in the error message, for example: [https://spacy.io/usage/models/pt](https://spacy.io/usage/models/pt)

If you want to use vectors, you can either find other pretrained vectors like the fastText vectors and [add them to the blank model](https://spacy.io/usage/vectors-similarity#converting), or train your own on raw data (using GloVe, fastText, Gensim etc.).
