title: FileNotFoundError: [Errno 2] No such file or directory: 'cc.id.300.vec'
body: <p>hello I'm having trouble with the weighting part of word2vec and I don't know what's wrong because I'm still a beginner, here the code</p>
  <pre><code>w2vModel = word2vec.KeyedVectors.load_word2vec_format(&quot;cc.id.300.vec&quot;, binary=False, limit=50000)
  tokenizer = Tokenizer()
  tokenizer.fit_on_texts(tweets_split)
  X = tokenizer.texts_to_sequences(tweets_split)
  
  maxlentweet = 100
  X = pad_sequences(X, maxlen=maxlentweet)
  print(X.shape)
  # w2vModel.wv['happy']
  2022-03-10 21:37:27,682 : INFO : loading projection weights from cc.id.300.vec
  </code></pre>
  <p>and the error description is</p>
  <pre><code>FileNotFoundError                         Traceback (most recent call last)
  ~\AppData\Local\Temp\ipykernel_4960\3085887112.py in &lt;module&gt;
  ----&gt; 1 w2vModel = word2vec.KeyedVectors.load_word2vec_format(&quot;cc.id.300.vec&quot;, binary=False, limit=50000)
  2 
  3 tokenizer = Tokenizer()
  4 tokenizer.fit_on_texts(tweets_split)
  5 X = tokenizer.texts_to_sequences(tweets_split)
  
  appdata\local\programs\python\python37\lib\site-packages\gensim\models\keyedvectors.py in load_word2vec_format(cls, fname, fvocab, binary, encoding, unicode_errors, limit, datatype, no_header)
   1629 return _load_word2vec_format(
   1630 cls, fname, fvocab=fvocab, binary=binary, encoding=encoding, unicode_errors=unicode_errors,
  -&gt; 1631 limit=limit, datatype=datatype, no_header=no_header,
  
  appdata\local\programs\python\python37\lib\site-packages\gensim\models\keyedvectors.py in _load_word2vec_format(cls, fname, fvocab, binary, encoding, unicode_errors, limit, datatype, no_header, binary_chunk_size)
   1954 logger.info(&quot;loading projection weights from %s&quot;, fname)
  -&gt; 1955 with utils.open(fname, 'rb') as fin:
  1956 if no_header:
  1957 # deduce both vocab_size &amp; vector_size from 1st pass over file
  
  appdata\local\programs\python\python37\lib\site-packages\smart_open\smart_open_lib.py in open(uri, mode, buffering, encoding, errors, newline, closefd, opener, ignore_ext, compression, transport_params)
  193 encoding=encoding,
  194 errors=errors,
  --&gt; 195 newline=newline,
  196     )
  197 if fobj is not None:
  
  appdata\local\programs\python\python37\lib\site-packages\smart_open\smart_open_lib.py in _shortcut_open(uri, mode, compression, buffering, encoding, errors, newline)
  359 open_kwargs['errors'] = errors
  --&gt; 361 return _builtin_open(local_path, mode, buffering=buffering, **open_kwargs)
  
  FileNotFoundError: [Errno 2] No such file or directory: 'cc.id.300.vec'
  </code></pre>
  <p>please help me</p>