Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

error runing 03_glove_build_counts.py

Open
#140 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
32/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start with 03_glove_build_counts.py and the logged command that pipes data\S2vcorpusMODELV05\corpusMODELV05-1.s2v into vocab_count. Check how the script resolves data/glove.6B.200d.txt/vocab_count on Windows and compare that with the downloaded GloVe files. Done means the command completes and creates data\S2VVocabMODELV05\vocab.txt.

Written by the indexing model from the issue text.

Description

I followed your step to train my own S2V for my corpus on my customized NER model, thill step 2 everything is fine,.

corpusMODELV05.spacy is made and also corpusMODELV05-1.s2v

but in step 3 I faced with this error

ℹ Using 1 input files
✔ Created output directory data/S2VVocabMODELV05
ℹ Creating vocabulary counts
cat data\S2vcorpusMODELV05\corpusMODELV05-1.s2v | data/glove.6B.200d.txt/vocab_count -min-count 5 -verbose 2 > data\S2VVocabMODELV05\vocab.txt

✘ Failed creating vocab counts

I am working on Win 10 machine and have used this version of the glove

Wikipedia 2014 + Gigaword 5 (6B tokens, 400K vocab, uncased, 50d, 100d, 200d, & 300d vectors, 822 MB download): glove.6B.zip

https://nlp.stanford.edu/projects/glove/

it seems the number of VOC in

glove.6B.200d.txt/vocab_count is not in line with something

can someone help me ?

many thanks in advance

Dominant language
Python
Stars
1.7k
Forks
236
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from explosion/sense2vec

All issues in explosion/sense2vec

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.