question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Install with embeddings

See original GitHub issue

I would like to install torchtext with glove embeddings, so that when I deploy the Docker image it doesn’t have to download them every time. Is there any good way (other than do a hacky wget myself and place them in the correct directory) to do this from CLI?

e.g.

pip install torchtext[glove]

or as in spacy

python -m torchtext download glove

Thanks!

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
zhangguanheng66commented, Nov 5, 2020

OK, then this is a new feature request.

by your answer, I understand this is not possible right now (?)

That’s right. A temporary solution is to download the glove embedding with shell script.

0reactions
marcglobalitycommented, Nov 5, 2020

OK, then this is a new feature request.

by your answer, I understand this is not possible right now (?)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting Started With Embeddings - Hugging Face
Click on your user in the top right corner of the Hub UI. · Choose the Owner (organization or individual), name, and license...
Read more >
Word embeddings | Text - TensorFlow
Word embeddings · Representing text as numbers · Setup · Using the Embedding layer · Text preprocessing · Create a classification model ·...
Read more >
Embeddings, Transformers and Transfer Learning - spaCy
Using transformer embeddings like BERT in spaCy. ... Next, install spaCy with the extras for your CUDA version and transformers. The CUDA extra...
Read more >
Word Embeddings in Python with Spacy and Gensim
How to load, use, and make your own word embeddings using Python. Use the Gensim and ... import spacy # Load the spacy...
Read more >
How to Use Word Embedding Layers for Deep Learning with ...
About word embeddings and that Keras supports word embeddings via the ... model.add(Embedding(vocab_size, 8, input_length=max_length)).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found